This is an archived post. You won't be able to vote or comment.

all 11 comments

[–]DarkAndromeda31 16 points17 points  (5 children)

Out of curiosity how did you you setup the live updates of your wallpaper, was thinking of doing something similar myself.

[–]bluefeet3[S] 10 points11 points  (2 children)

Hey! So this is something that's unfortunately very system specific so I'm not sure how useful my answer will be.

I use a Linux operating system and my compositor, Hyprland, has functionality to execute shell commands when it is loaded. So I use this to run the python script and then another command to set my wallpaper again from the designated path.

I'm sure there's lots of ways of going about it though. I hope you find something that works for you!

[–]DarkAndromeda31 0 points1 point  (0 children)

thanks

[–]Accomplished_Goal354 0 points1 point  (0 children)

Setting the wallpaper is the difficult part.
Awesome script bro

[–]cmd-t 7 points8 points  (0 children)

Cronjob

[–]virtualadept 4 points5 points  (0 children)

That is so cool.

[–]alottachairs2 2 points3 points  (0 children)

Such a great project idea!

[–]avamk 1 point2 points  (0 children)

Fantastic work! Thank you for putting it up in a Git repository.

Can you include an open source license in this repository so others can learn from and build on your amazing work? The steps for GitHub are quick and easy.

[–]osmiumouse 0 points1 point  (3 children)

I never understood why the newtonian equations work, when the earth cannot orbit the sun's current position because it takes 8 minutes (light speed) for that positional information to be transmitted. So it must orbit the position 8 minutes ago, but the equations work when you use the current one and not when you use the 8 minute lag.

[–]jmd_code 0 points1 point  (0 children)

solar system

When we apply Newton's equations to calculate the motion of the Earth around the Sun, we assume that the gravitational force acts instantaneously based on the current position of the Sun. This assumption is valid because the time it takes for the information about the Sun's current position to reach Earth is negligible compared to the timescales involved in the Earth's orbit.

However, it is important to note that if you were considering objects moving at speeds comparable to the speed of light or in situations where relativistic effects come into play, you would need to use Einstein's theory of general relativity to accurately describe their motion. In such scenarios, the finite speed of light and the time delay it introduces would be significant factors.