Page 5 of 7

Re: Gravity Art Megathread

Posted: Wed Jun 25, 2014 9:31 pm
by Lasercat77
If you click Ptolemy on one of the stars, you'll eventually get a spirograph. If you click Track It on one of them you can see and endless repetition of the numbers 2, 9 and 3.
Gravity Fun at TestTubeGames.com: [ForceGr: r^(-2),Qual: 1,Zoom: 1,xSet: 1492.752,ySet: -3857.213], [x0: 20,y0: 50,vx: 0,vy: 0,t0: 0,who: 2,m: 1000,c: 4], [x0: 52.5,y0: 40,vx: -1.6,vy: 4.03,t0: 0,who: 2,m: 1000,c: 4]

Re: Gravity Art Megathread

Posted: Wed Jun 25, 2014 11:11 pm
by testtubegames
Hey Lasercat, welcome -- thanks for sharing!

Here's a slightly modified version of your code (which I centered on their starting point... instead of their ending point :) )

Code: Select all

Gravity Fun at TestTubeGames.com: [ForceGr: r^(-2),Qual: 1,Zoom: 1,xSet: 0,ySet: -0], [x0: 20,y0: 50,vx: 0,vy: 0,t0: 0,who: 2,m: 1000,c: 4], [x0: 52.5,y0: 40,vx: -1.6,vy: 4.03,t0: 0,who: 2,m: 1000,c: 4]
I've been posting a lot about spirals and such in the blog -- been on my brain -- and look at this, you bring in a new one! So my question for you (or others)... why does your example spiral? What's going on?

Wittle teeny bwack holw

Posted: Fri Jul 11, 2014 11:32 am
by exfret
For the first use 10 (I think) as the speed of light, and for the second, use 2.

Ahh, it's so CUTE!

Code: Select all

Gravity Fun at TestTubeGames.com: [ForceGr: r^(-2),Qual: 1,Zoom: 5.306336,xSet: -69.82347,ySet: -97.1174], [x0: 91.40017,y0: 97.05379,vx: -0.09,vy: 2.31,t0: 0,who: 3,m: 0,c: 0], [x0: 70,y0: 97.5,vx: 0,vy: 0,t0: 0,who: 4,m: 100,c: 1,d: 1000000]
Also, play this at ten times:

Code: Select all

Gravity Fun at TestTubeGames.com: [ForceGr: r^(-2),Qual: 1,Zoom: 1,xSet: 0,ySet: 0], [x0: 0,y0: 250,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: 240,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: 230,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: 220,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: 210,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: 200,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: 190,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: 180,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: 170,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: 160,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: 150,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: 140,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: 130,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: 120,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: 110,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: 100,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: 90,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: 80.00001,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: 70.00001,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: 60,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: 50,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: 40.00001,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: 30.00001,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: 20.00001,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: 10.00001,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: 5.587935E-06,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: -9.999994,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: -19.99999,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: -29.99999,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: -39.99999,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: -49.99999,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: -60,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: -69.99999,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: -79.99999,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: -89.99999,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: -99.99999,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: -110,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: -120,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: -130,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: -140,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: -150,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: -160,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: -170,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: -180,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: -190,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: -200,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: -210,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: -220,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: -230,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2], [x0: 0,y0: -240,vx: 0,vy: 0,t0: 0,who: 2,m: 5,c: 2]

Re: Wittle teeny bwack holw

Posted: Wed Aug 13, 2014 11:57 am
by testtubegames
exfret wrote:Ahh, it's so CUTE!
Oh wow, it is! "Who's gonna make a singularity in spacetime? YOU ARE! You are soooooo big. Does black hole like to be scratched behind the ear? Yes he does, yes he does!"
exfret wrote:Also, play this at ten times:
Like to pac-men fighting over some black hole pellets! I need some great 'num-num' sound effects for when something gets sucked into a black hole.

Re: Gravity Art Megathread

Posted: Wed Aug 20, 2014 11:32 pm
by NealCruco
I put two regular stars 125u apart, then put a 40u-mass planet near them, with a random initial velocity. Then, before hitting play, I hit Ptolemy on the left star so the system wouldn't go offscreen. A while later...

Re: Gravity Art Megathread

Posted: Tue Dec 02, 2014 5:14 pm
by NealCruco
Apparently no one shares their art anymore. That's a shame. Take a look at the pattern I just made:
16.png
16.png (78.79 KiB) Viewed 29969 times
I started from the Orbit example, then deleted the three asteroids closest to the star. Then I ran the setup with a tan(r^2) force law.

Re: Gravity Art Megathread

Posted: Thu Dec 04, 2014 9:19 pm
by testtubegames
Nice - a flower! As I've been working on the sim, I've been getting distracted... a lot... by what cool things I can make. So let me share a couple here!

Given today's delayed launch of Orion, I figured I'd simulate it's flight plan... so we can see what to expect of this mission that can bring us one step closer to mars. Highly accurate, of course.
SPOILER
SPOILER_SHOW
Orion_Flight_Plan.gif
Orion_Flight_Plan.gif (110.62 KiB) Viewed 29961 times
This one was fun: I made a ring of asteroids and then removed the central star, they had a nice geometric path to them.
SPOILER
SPOILER_SHOW
murica.gif
murica.gif (609.95 KiB) Viewed 29961 times
And then my personal favorite -- an attempt at a bit of moving-poetry. Load it up, then sit and wait.

Code: Select all

Gravity Fun at TestTubeGames.com: Mr. Smith: eNqN0d9qwyAUBvBX8QFUPEdtrHe72HpVdpGLwsoGIQsksERIpUveftr82TIsNBdBQ74fn57zi+vL6tBb0n8wpG/OtZYghwzMXtEhr7wlzHANe20MHae93HEAJTXtLDn2nORt4+t3Ss6DsASQazqK+JvJwvI6WCLodQxvLiT1Im6/a2eJpG1cB2R6vKNl+LBCYmZwQljI4w1i96VT9VW6ttpA2VxIKrFtg2kjL5rPNAAbIJ1+7coqdQ40v8dQ6zEgjRyLLmnsHihwai7pAvLfONLxp212nabOcInH2tMVQvYXwYiAuDHPRe/rSOFCMb1Y6m4NmAURk7AkzTIAhfzR6A99MLY4
(Note: only works in 0.30.02 or higher)

Re: Gravity Art Megathread

Posted: Fri Dec 05, 2014 6:25 pm
by Stargate38
If you leave the zoom the same, the words spell out this:

Code: Select all

A Wise Man Once Said Welcome To Earth.
But then the objects come back in and read this (doesn't make much sense):

Code: Select all

Once Said Welcome Said Welcome Said Once Welcome Earth Welcome Said Welcome Said Welcome Earth Said Said
As you can see, the asteroid named "Said" is the last surviving moving object. The whole sim lasts until t=2431.

Re: Gravity Art Megathread

Posted: Fri Dec 05, 2014 6:56 pm
by testtubegames
Stargate38 wrote:Once Said Welcome Said Welcome Said Once Welcome Earth Welcome Said Welcome Said Welcome Earth Said Said
Deep isn't it?

Well, no. I think it'd be cool if they spelled out something different with the same words re-entering in a different order (yet not be just nonsense). Alas, I didn't get that far.

I mean... it's art. If you don't get it -- it doesn't get you. (Was *that* deep?)

Re: Gravity Art Megathread

Posted: Sun Dec 27, 2015 8:52 pm
by Stargate38

Code: Select all

Gravity Fun at TestTubeGames.com: [ForceGr: 1/(sqrt(abs(r-1))+1)+abs(ln(r))/r^2,Zoom: 0.25,xSet: 0,ySet: 0], [x0: 100,y0: 0,vx: 0,vy: 9.11,t0: 0,who: 3,m: 0,c: 2], [x0: 100,y0: 0,vx: 0,vy: -4,t0: 0,who: 3,m: 0,c: 6], [x0: 0,y0: 0,vx: 0,vy: 0,t0: 0,who: 4,m: 1600,c: 1], [x0: -1000,y0: 0,vx: 0,vy: -7.39,t0: 0,who: 4,m: 400,c: 1]
Select the primary star, Lagrange with the second star, and watch the blue asteroid. It seems to be in a perfect 7:5 resonance with the secondary star. The red asteroid is close to a 5:1 resonance, although its orbit is mostly circular.

Here's another version with the red asteroid opposite the blue one, with the same velocity:

Code: Select all

Gravity Fun at TestTubeGames.com: [ForceGr: 1/(sqrt(abs(r-1))+1)+abs(ln(r))/r^2,Zoom: 0.25,xSet: 0,ySet: 0], [x0: 100,y0: 0,vx: 0,vy: 9.11,t0: 0,who: 3,m: 0,c: 2], [x0: -100,y0: 0,vx: 0,vy: -9.11,t0: 0,who: 3,m: 0,c: 6], [x0: 0,y0: 0,vx: 0,vy: 0,t0: 0,who: 4,m: 1600,c: 1], [x0: -1000,y0: 0,vx: 0,vy: -7.39,t0: 0,who: 4,m: 400,c: 1]
The red object has a different resonance (10:3).