Re: Gravity Art Megathread
Posted: Mon Dec 16, 2013 3:02 pm
Ah.. I see... Color would be a body object property/field. How about if color stays as body property, however brightness/saturation is a function of the velocity/proximity?
Bringing Science to Life... then chatting about it
https://www.testtubegames.com/forumz/
Actually, I was a little more serious about that stuff than I am about most of my 'overclocks'.testtubegames wrote:Uh oh, exfret is overclocking again!
Maybe you could go with David's idea.testtubegames wrote:Interesting stuff with color changing. I'd like to give the planets selectable colors ("this one will be red, this one green")... which might not work perfectly with this idea.
[Put reply here]testtubegames wrote:But maybe I could make it a toggle on/off option.
Code: Select all
Gravity Fun at TestTubeGames.com: [ForceG: -2,Qual: 1,Zoom: 0.34,xSet: 0,ySet: 0], [x0: -32,y0: 29,vx: 0,vy: 0,t0: 0,who: 1,m: 10000000], [x0: 810.84,y0: 81.91,vx: 1.61,vy: -23.84,t0: 20.6,who: 3,m: 0]
"AAAAAAAAAHHHH! Why?!?!??!?!" screams everyone on that planet.exfret wrote:Look, I made an ellipsy!
It degenerates due to the star's high gravity.
Code: Select all
Gravity Fun at TestTubeGames.com: [ForceG: -2,Qual: 1,Zoom: 1,xSet: 171,ySet: -167], [x0: -231,y0: 211,vx: 0,vy: 0,t0: 0,who: 1,m: 1000], [x0: -45,y0: 217,vx: 0,vy: 0,t0: 19.8,who: 1,m: 1000],
[x0: -132,y0: 72,vx: 0,vy: 0,t0: 60.3,who: 3,m: 0]
Would they even be alive to scream? They would've either been fried or frozen!testtubegames wrote:"AAAAAAAAAHHHH! Why?!?!??!?!" screams everyone on that planet.
Code: Select all
Gravity Fun at TestTubeGames.com: [ForceG: -2,Qual: 1,Zoom: 1,xSet: 0,ySet: 0], [x0: -27.5,y0: 42.5,vx: 0,vy: 0,t0: 0,who: 1,m: 1000,c: 1], [x0: -80,y0: 42.5,vx: -0.03,vy: -4.37,t0: 335,who: 3,m: 0,c: 2], [x0: -25,y0: 5,vx: 6.2,vy: 1.43,t0: 532,who: 3,m: 0,c: 0], [x0: -12.5,y0: 7.5,vx: 5.23,vy: 2.73,t0: 2780,who: 3,m: 0,c: 0]
You know, I've seen that before, too -- but haven't thought too much about it. Now that you bring it up, though, it is interesting trying to figure out what's going on. It's not quite conservation of energy -- since the asteroid *could* make it over the hump between the gravitation wells of the stars. And it's not simply conservation of angular momentum -- since there's nothing to prevent it from circling the other star. But I sense it's a combination of both of those -- where when it is directly in the middle, CoM requires that it aims perpendicularly to the stars (so it can no longer approach the other star). There must be a very clear explanation, though...A Random Player wrote:The asteroid stays on the right side until it goes through the star. Interesting/mathematical?
Neat -- doesn't quite want to get close. I think I'm encountering that bug you noticed with loading things -- since it changes each time I load it. I think I have an idea what's up...wtg62 wrote:It gets closer and closer to it, and then it slows down, it's almost like a spiral.
Code: Select all
Gravity Fun at TestTubeGames.com: [ForceG: -2,Qual: 1,Zoom: 1,xSet: 0,ySet: 0], [x0: -27.5,y0: 45,vx: 0,vy: 0,t0: 0,who: 2,m: 1522,c: 0], [x0: -25,y0: 17.5,vx: 8.83,vy: 3.87,t0: 263,who: 2,m: 861,c: 0], [x0: 5,y0: -142.5,vx: 3.87,vy: 0.07,t0: 1095,who: 2,m: 100,c: 2]
Code: Select all
Gravity Fun at TestTubeGames.com: [ForceG: -2,Qual: 1,Zoom: 1,xSet: 0,ySet: 0], [x0: 0,y0: 0,vx: 0,vy: 0,t0: 0,who: 1,m: 1000,c: 1], [x0: -125,y0: 0,vx: 0,vy: 1.63,t0: 0,who: 3,m: 0,c: 0], [x0: 75,y0: 0,vx: 0,vy: -3.651484,t0: 60,who: 3,m: 0,c: 0]
"Interesting. The Semi-major axes are the same.. HOW DID YOU MANAGE TO DO THAT?!"wtg62 wrote:The most perfect/consistent co-orbital object:
Wait for epoch (Time on the clock) to be 60.Code: Select all
Gravity Fun at TestTubeGames.com: [ForceG: -2,Qual: 1,Zoom: 1,xSet: 0,ySet: 0], [x0: 0,y0: 0,vx: 0,vy: 0,t0: 0,who: 1,m: 1000,c: 1], [x0: -125,y0: 0,vx: 0,vy: 1.63,t0: 0,who: 3,m: 0,c: 0], [x0: 75,y0: 0,vx: 0,vy: -3.651484,t0: 60,who: 3,m: 0,c: 0]
The planet with a circular orbit will appear at that time, click on it and click 'ptolemy', for a weird orbit-shape from the planet with the eccentric orbit!