Gravity Art Megathread

What did you draw?
User avatar
testtubegames
Site Admin
Posts: 1148
Joined: Mon Nov 19, 2012 7:54 pm

Re: Gravity Art Megathread

Post by testtubegames »

Stargate38 wrote:It seems to be in a perfect 7:5 resonance with the secondary star.
It's taking me way to long to parse this. (Assuming this isn't too necro of a thread that you've forgotten all about it... :) )

I think what 7:5 resonance means is that one object goes around the 'central' star 5 times, in the same time it takes the other to go around 7 times. But for some reason that's not what I'm seeing? Am I confused? (Answer, yes, yes, I am)

I just counted (non-ptolemy and non-lagrangian) as each went around the star, and I didn't see the 7:5 resonance. The blue one went around 7 times, and the star went around... 3-ish times? No dice there.

Then I watched it in Lagrangian, and got this...
Screen Shot 2016-02-04 at 10.49.35 AM.png
Screen Shot 2016-02-04 at 10.49.35 AM.png (55.13 KiB) Viewed 31792 times
Woo - seven loops before the blue orbit perfectly lines up!

So I went to Ptolemy and watched...
Screen Shot 2016-02-04 at 10.50.39 AM.png
Screen Shot 2016-02-04 at 10.50.39 AM.png (65.81 KiB) Viewed 31792 times
Woo - five loops before the blue orbit matches up!

Five and seven. That's the point at which I started to doubt reality, and threw my cards in with numerologists. Is this a coincidence? Is this why I *should* be seeing 7:5 resonance? Help!
Stargate38
Posts: 68
Joined: Thu Aug 15, 2013 3:06 pm
Location: Visible Universe
Contact:

Re: Gravity Art Megathread

Post by Stargate38 »

What I meant was as follows:

The resonance can be calculated from the number of loops the object makes in Lagrangian mode. You put the total number of pericenter passes (cycles) before the orbit lines up again on the bottom. The top can be calculated from how many loops it skips with each pass:

(Total):(Total-Skipped-1)=7:(7-1-1)=7:5

In this case, it skips every other loop as it orbits, so the bottom number is 7-1-1=5. Look at the orbit of Venus in Earth's Lagrangian mode (assuming you have a simulation of those 2 planets). Venus appears to be in an 8:5 resonance, but it's not. Its orbit skips every 3 "points", but never lines up with itself, so it's not exactly in an 8:5 resonance.

The pentagram/flower orbit in Ptolemy mode is just a coincidence of said gravity law. That has nothing to do with the resonance.
I LOVE your Gravity Simulator! :)
AlternateGravity
Posts: 80
Joined: Thu May 15, 2014 5:45 pm

Re: Gravity Art Megathread

Post by AlternateGravity »

I was curious to see if planets could have moons assuming a reciprocal law considering that the moon would be more effected by the gravity of the star then the planet it orbits. I found that the answer is actually yes.
Screen Shot 2016-02-16 at 12.14.01 AM.png
Screen Shot 2016-02-16 at 12.14.01 AM.png (303.85 KiB) Viewed 31066 times
This is a planet orbiting around a star with its moon using F=r as the law for Gravity.
Gravitons would be my favorite particle as their existence could prove extra dimensions.
Stargate38
Posts: 68
Joined: Thu Aug 15, 2013 3:06 pm
Location: Visible Universe
Contact:

Re: Gravity Art Megathread

Post by Stargate38 »

Kind of looks like an earthworm (Select yellow star, click Lagrange, click blue star):

Code: Select all

Gravity Fun at TestTubeGames.com: [ForceGr: abs(1000*((r^3-1)*abs(ln(r))+(1+r^3)*ln(r)))/(2*r^1.99*(1+1000*abs(ln(r)))),Zoom: 1], [x0: 0,y0: 0,vx: 0,vy: 0,t0: 0,who: 4,m: 1600,c: 1], [x0: 400,y0: 0,vx: 0,vy: -22.627416997969520780827019587355,t0: 0,who: 4,m: 1600,c: 3], [x0: -200,y0: 0,vx: 0,vy: 45.25483399593904156165403917471,t0: 0,who: 4,m: 1600,c: 2], [x0: 100,y0: 0,vx: 0,vy: -5.656,t0: 0,who: 3,m: 0,c: 2]
Without the asteroid:

Code: Select all

Gravity Fun at TestTubeGames.com: [ForceGr: abs(1000*((r^3-1)*abs(ln(r))+(1+r^3)*ln(r)))/(2*r^1.99*(1+1000*abs(ln(r)))),Zoom: 1], [x0: 0,y0: 0,vx: 0,vy: 0,t0: 0,who: 4,m: 1600,c: 1], [x0: 400,y0: 0,vx: 0,vy: -22.627416997969520780827019587355,t0: 0,who: 4,m: 1600,c: 3], [x0: -200,y0: 0,vx: 0,vy: 45.25483399593904156165403917471,t0: 0,who: 4,m: 1600,c: 2]
Worm.png
Worm.png (225.65 KiB) Viewed 25679 times
I LOVE your Gravity Simulator! :)
User avatar
testtubegames
Site Admin
Posts: 1148
Joined: Mon Nov 19, 2012 7:54 pm

Re: Gravity Art Megathread

Post by testtubegames »

Stargate38 wrote:Kind of looks like an earthworm (Select yellow star, click Lagrange, click blue star):
Love it -- and for whatever reason it looked a bit different when I ran it. (I might have lagrange-ed the wrong pair? Or ran it at x2 speed, that might have affected it?) In any case, still really striking, thought I'd share. Looks like the caterpillar (aka the 'worm') turned into a butterfly :)
screenshot_17 08 16 12 09 18.png
screenshot_17 08 16 12 09 18.png (186.03 KiB) Viewed 24989 times
Also, I'm glad I took physics courses in *our* world instead of this one. You'd fill up half the blackboard just writing the equation of gravity.
SPOILER
SPOILER_SHOW
abs(1000*((r^3-1)*abs(ln(r))+(1+r^3)*ln(r)))/(2*r^1.99*(1+1000*abs(ln(r))))
(And that's presumably just the Newtonian approximation! :lol: )
McModknower
Posts: 1
Joined: Wed Jan 25, 2017 4:04 pm

Re: Gravity Art Megathread

Post by McModknower »

Gravity: r^100

Code: Select all

_settings(gravity: r^(100));
_type1(m: 0, col: 1, lcol: 3, pic: 2);
_add(m: 1000, col: 2, lcol: 3, pic: 0, noGrav, x: 0.83, y: 2.5, t: 0);
_add(type: 1, x: 71.67, y: 25, vx: -6.6, vy: 10.9, a: 185, t: 74.8);
_add(m: 0, col: 1, lcol: 0, pic: 0, x: 51.67, y: 15.83, vx: -0.367994, vy: 1.201153, t: 106.8);
_add(type: 1, x: 20.83, y: 100.83, vx: -21.93, vy: 4.3, a: 36, t: 113.6);
_add(type: 1, x: -15.83, y: 105.83, vx: -23.4, vy: 0.67, a: 154, t: 146.4);
User avatar
testtubegames
Site Admin
Posts: 1148
Joined: Mon Nov 19, 2012 7:54 pm

Re: Gravity Art Megathread

Post by testtubegames »

Oooh, neat, thanks for sharing! I posted the pretty result on my twitter feed
ahmedkq
Posts: 9
Joined: Sat Feb 15, 2014 5:59 am

Re: Gravity Art Megathread

Post by ahmedkq »

Image

Code: Select all

//Gravity fun at TestTubeGames
_settings(gravity: r^-2, n: 2 trapped particles);
_type0(m: -1, col: 3, pic: 1);

_type1(m: -1, col: 2, pic: 2);

_add(type: 0, x: -10, y: 190 ,vx:5, t: 0);
_add(type: 1, x: -10, y: 190 ,vx:2, t: 50);

_addCircle(m: -50, num: 170, r: 200, vt: 0, randomColors, lcol: 2, t: 0, nograv);
XvXChronoXvX
Posts: 1
Joined: Sat Jun 04, 2022 9:04 am

Re: Gravity Art Megathread

Post by XvXChronoXvX »

This may have been done a zillion times but.....

Make sure to set time to .010 and start paused

//Gravity fun at TestTubeGames
_settings(n: Bloom, zoom: 0.01);
_addDisk(rMax: 27, rMin: 10, m: 2500, vt: 5, num: 50000, col: 3, lcol: 0, pic: 1);
User avatar
James
Posts: 31
Joined: Fri Dec 17, 2021 11:44 am
Contact:

Re: Gravity Art Megathread

Post by James »

Code: Select all

eNrtzj2OwjAQhuHrUMwiJ1oQmGoltFQIbrBycIQMwZHigMLtd-JTUtHQvNXYHn-zzF8q2zbE88bN5GYzY4yc6srmUo3laI3Eete4h3THEGPp5TnVTltP
_7Uy0lrzdn6I5
_v5cuO834Z0nU0NI42L-ieeqzJJ04
_WeB8IqZui-6NlyGvdu5RGXS
_-oSu9zfrjNmhyAnQ-nXkoLvrSL5fpcjkqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKirqW
_pq8RF1Of9
_rf4DpnQQiw==
This is a block of text. 8-)
Post Reply