Here is my pre-pre-alpha version of what i am building,
It shows only the initial phase when the traveling twin is accelerating "instantaneously" or near instantaneously as in not having "moved" much/negligible post acceleration
watch it in HD and full screen or it will look extra ugly.
The red numbers symbolize clock counters (will be clocks with the counters included if i ever finish this code).
On the left side, no clocks are moving of course, because negligible time has passed after the near instantaneous acceleration. On the right side, you see it from the traveling twin's perspective, how acceleration transforms the coordinates of the events.
The "clock" which resides at x=4 t=8 (from the perspective of the non-travelling twin) , I marked with green color, will be at roughly x'=0 and t'=7 (cannot see the exact values from the graphic) from the perspective of the traveling twin after he finished his acceleration to vrel=0.5c.
doing the Lorentz transformations one would get
t'= γ(8 - 0.5*4) ~ 6.928... close enough to 7 i guess
x'=γ(4 - 0.5*8) = 0 as expected
In the final program, those events will be moving straight down towards the negative x-axis as "time passes".
But one can already see, that as long as there is no further acceleration, the _instance_ of the traveling twin with his clock displaying 6.928.. seconds will meet one of the clocks which are at rest to the non-travelling twin, displaying 8 seconds. Hence, one can already see that he will be younger given he would stop(accelerate back into the former inertial frame) at that point. The clock showing 8 seconds would be synced with all other clocks showing 8 seconds, while his would show 6.928.. seconds only.
As I see it, one cannot talk about future events moving towards the twin, nor can one consider the twin moving towards the future events because the instances of the twin in the "future" are events as well.
So how could the instance of the twin at t=0 (his clock shows 0) be moving towards his other instances (twin with clock showing 1 second for example). Or his instances moving towards him. It wouldn't make any sense.
In reality, nothing is moving, as far as spacetime, the 4 dimensional construct, is concerned. What moves is outside spacetime. The experiencing observer.
Like a DVD-laser reading through an already written/static DVD-movie on a DVD. The acceleration only changing the direction the laser moves through the DVD.
There is more to this, but i cannot fully wrap my mind around it.
So when "time passes" and the events are seemingly moving towards the x-axis, what is really happening is realigning the x-axis to the instance of the twin "in the present", the present being where the experiencing observer (outside spacetime) resides. Or where the laser resides if we were to go by the DVD-movie analogy.
This creates the illusion of motion and the universe changing over time, but in reality it's just one static 4 dimensional construct at least if we were to ignore QM.
Adding QM to the whole, all possible universes might exist as potential, preserving free will as in the experiencing entity(outside of spacetime) somehow being able to partly affect which of the many potential universes to actualize.Anyway, i hope i find the motivation to finish this, so it will be showing the full twin paradox, as in initial acceleration, travelling, accelerating back and finally meeting up again. Also make it a little prettier.The code for this in Java can be found
http://pastebin.com/6MxdjNUY but be warned, it is neither complete nor pretty with known bugs (like not making sure the graphics contexts g2Dcanvas1 etc are preserved for example to keep it less cluttered until it's finished)
Feel free to do anything you want with the code even though i doubt anyone would want to touch it :D