## Gravity Art Megathread

What did you draw?
Lasercat77
Posts: 1
Joined: Wed Jun 25, 2014 9:11 pm

### Re: Gravity Art Megathread

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]

testtubegames
Posts: 1139
Joined: Mon Nov 19, 2012 7:54 pm

### Re: Gravity Art Megathread

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?

exfret
Posts: 585
Joined: Sun Jul 28, 2013 8:40 pm

### Wittle teeny bwack holw

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]``
Nobody ever notices my signature. ):

testtubegames
Posts: 1139
Joined: Mon Nov 19, 2012 7:54 pm

### Re: Wittle teeny bwack holw

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.

NealCruco
Posts: 197
Joined: Thu Mar 27, 2014 8:26 pm

### Re: Gravity Art Megathread

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...
Attachments
Glorious chaos.
13.png (139.31 KiB) Viewed 25701 times

NealCruco
Posts: 197
Joined: Thu Mar 27, 2014 8:26 pm

### Re: Gravity Art Megathread

Apparently no one shares their art anymore. That's a shame. Take a look at the pattern I just made:
16.png (78.79 KiB) Viewed 25469 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.

testtubegames
Posts: 1139
Joined: Mon Nov 19, 2012 7:54 pm

### Re: Gravity Art Megathread

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
Show
Orion_Flight_Plan.gif (110.62 KiB) Viewed 25461 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
Show
murica.gif (609.95 KiB) Viewed 25461 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)

Stargate38
Posts: 68
Joined: Thu Aug 15, 2013 3:06 pm
Location: Visible Universe
Contact:

### Re: Gravity Art Megathread

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.
I LOVE your Gravity Simulator!

testtubegames
Posts: 1139
Joined: Mon Nov 19, 2012 7:54 pm

### Re: Gravity Art Megathread

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?)

Stargate38
Posts: 68
Joined: Thu Aug 15, 2013 3:06 pm
Location: Visible Universe
Contact:

### Re: Gravity Art Megathread

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).
I LOVE your Gravity Simulator!