- #1
Jeronimus
- 287
- 9
I decided to work a bit on my Java program created to visualize the Twin Paradox. It shows two diagrams. One from the perspective of the stay at home/earth twin on the left side and the traveling twin on the right side/diagram.
The accelerations are considered to be near instantaneous, hence why you won't see the clock counters of the traveling twin's clock rising during the acceleration phases as almost no time/negligible "time passes" from his perspective.
here is a video running this:
Stage 3 and 4 are the most interesting ones. You can see how the traveling twin measures the blue clock counter to be below his counter, hence having "ticked slower" during his travel up to stage 2.
The blue clock being an instance of the stay at home twin/clock which is always measured to be "at the same time" from the traveling twin's perspective.
At stage 3 and 4 however, you can see how he will measure the blue clock to be ticking much faster during the acceleration phase in stage 3 and 4.
It's important to understand that this is caused by the traveling twin measuring different instances of that clock to be crossing his x-axis (simultaneity).I am not done yet with this program, but i think it is pretty interesting still and might help some understand the twin paradox better. Any ideas on how this could be displayed in a better way are more than welcome.
The shameful code for this can be found here http://pastebin.com/Bj75SiMH
...in case someone wants to mess around with it. But be warned, it's very "experimental"/terrible. A mess that i did not get time to clean up yet. The easiest way to run it, would be to download the free DrJava IDE (google it).
Then just copy and paste the code into it, hit the "compile" button and then the "run" button.
The accelerations are considered to be near instantaneous, hence why you won't see the clock counters of the traveling twin's clock rising during the acceleration phases as almost no time/negligible "time passes" from his perspective.
here is a video running this:
Stage 3 and 4 are the most interesting ones. You can see how the traveling twin measures the blue clock counter to be below his counter, hence having "ticked slower" during his travel up to stage 2.
The blue clock being an instance of the stay at home twin/clock which is always measured to be "at the same time" from the traveling twin's perspective.
At stage 3 and 4 however, you can see how he will measure the blue clock to be ticking much faster during the acceleration phase in stage 3 and 4.
It's important to understand that this is caused by the traveling twin measuring different instances of that clock to be crossing his x-axis (simultaneity).I am not done yet with this program, but i think it is pretty interesting still and might help some understand the twin paradox better. Any ideas on how this could be displayed in a better way are more than welcome.
The shameful code for this can be found here http://pastebin.com/Bj75SiMH
...in case someone wants to mess around with it. But be warned, it's very "experimental"/terrible. A mess that i did not get time to clean up yet. The easiest way to run it, would be to download the free DrJava IDE (google it).
Then just copy and paste the code into it, hit the "compile" button and then the "run" button.
Last edited: