Easter egg?

What did you draw?
Post Reply
User avatar
robly18
Posts: 413
Joined: Tue Jun 04, 2013 2:03 pm

Easter egg?

Post by robly18 »

Gravity Fun at TestTubeGames.com: [ForceG: 3,Qual: 1,Zoom: 1,xSet: 0,ySet: 0], [x0: 0,y0: 0,vx: 0,vy: 0,t0: 0,who: 1,m: 1000], [x0: 150,y0: 0,vx: 0,vy: -2.2,t0: 0,who: 3,m: 0], [x0: 120,y0: 0,vx: 0,vy: -2,t0: 0,who: 2,m: 100]

Mind the force.

Also, Andy, small request. I know you think it wouldn't be quite worth it to have more force values, but could you please have the editor accept any value? It's always nice to have the freedom to try even larger values :D
Convincing people that 0.9999... = 1 since 2012
A Random Player
Posts: 523
Joined: Mon Jun 03, 2013 4:54 pm

Re: Easter egg?

Post by A Random Player »

Too bad it doesn't work for anything further:

Code: Select all

Gravity Fun at TestTubeGames.com: [ForceG: 4,Qual: 1,Zoom: 1,xSet: 0,ySet: 0], [x0: 0,y0: 0,vx: 0,vy: 0,t0: 0,who: 1,m: 1000], [x0: 150,y0: 0,vx: 0,vy: -2.2,t0: 0,who: 3,m: 0], [x0: 120,y0: 0,vx: 0,vy: -2,t0: 0,who: 2,m: 100]
And yes. I think I even saw a partial trillipse, if the exponents went farther!
$1 = 100¢ = (10¢)^2 = ($0.10)^2 = $0.01 = 1¢ [1]
Always check your units or you will have no money!
User avatar
robly18
Posts: 413
Joined: Tue Jun 04, 2013 2:03 pm

Re: Easter egg?

Post by robly18 »

Yeah, I was sad about that. I also tried with values under -5 which also didn't work :(
Convincing people that 0.9999... = 1 since 2012
User avatar
testtubegames
Site Admin
Posts: 1148
Joined: Mon Nov 19, 2012 7:54 pm

Re: Easter egg?

Post by testtubegames »

Hrm, fair enough. I'm traveling (and away from my computer for the week), but when I get back I'll make that easy fix. There's no reason to keep people from pushing the boundaries. (And I like how your suggestion still prevents newbies from getting lost in a larger range)
User avatar
testtubegames
Site Admin
Posts: 1148
Joined: Mon Nov 19, 2012 7:54 pm

Re: Easter egg?

Post by testtubegames »

Done and done. Put any number you'd like in for gravity's exponent.

For instance, suppose the force went as r^100...

Code: Select all

Gravity Fun at TestTubeGames.com: [ForceG: 100,Qual: 1,Zoom: 1,xSet: 27,ySet: -56], [x0: -32,y0: 91,vx: 0,vy: 0,t0: 0,who: 1,m: 1000], [x0: -106,y0: 126,vx: -2.15,vy: -3.05,t0: 40.5,who: 3,m: 0]
Shocked me at first - I was sure it was a bug rearing its head. But of course, nope, that's just life in r^100.
A Random Player
Posts: 523
Joined: Mon Jun 03, 2013 4:54 pm

Re: Easter egg?

Post by A Random Player »

testtubegames wrote:Done and done. Put any number you'd like in for gravity's exponent.

For instance, suppose the force went as r^100...

Code: Select all

Gravity Fun at TestTubeGames.com: [ForceG: 100,Qual: 1,Zoom: 1,xSet: 27,ySet: -56], [x0: -32,y0: 91,vx: 0,vy: 0,t0: 0,who: 1,m: 1000], [x0: -106,y0: 126,vx: -2.15,vy: -3.05,t0: 40.5,who: 3,m: 0]
Shocked me at first - I was sure it was a bug rearing its head. But of course, nope, that's just life in r^100.
It's kind of like an event horizon, in that there's a region outside of which there's a very strong pull back inside. Similar for the large negative exponents, but backwards: If an object gets inside the imaginary circle, it gets destroyed.
$1 = 100¢ = (10¢)^2 = ($0.10)^2 = $0.01 = 1¢ [1]
Always check your units or you will have no money!
User avatar
robly18
Posts: 413
Joined: Tue Jun 04, 2013 2:03 pm

Re: Easter egg?

Post by robly18 »

testtubegames wrote:Done and done. Put any number you'd like in for gravity's exponent.

For instance, suppose the force went as r^100...

Code: Select all

Gravity Fun at TestTubeGames.com: [ForceG: 100,Qual: 1,Zoom: 1,xSet: 27,ySet: -56], [x0: -32,y0: 91,vx: 0,vy: 0,t0: 0,who: 1,m: 1000], [x0: -106,y0: 126,vx: -2.15,vy: -3.05,t0: 40.5,who: 3,m: 0]
Shocked me at first - I was sure it was a bug rearing its head. But of course, nope, that's just life in r^100.
This was merely hilarious to watch. At first I was thinking "it's going in a straight line". Then it made a sudden curve.

EDIT-Well, that crushes my hopes for triangular orbits. However, I did make an interesting discovery.
First of all, Gravity Fun at TestTubeGames.com: [ForceG: 100,Qual: 1,Zoom: 1,xSet: 27,ySet: -56], [x0: -32,y0: 91,vx: 0,vy: 0,t0: 0,who: 1,m: 1000], [x0: -106,y0: 126,vx: -2.15,vy: -3.05,t0: 40.5,who: 3,m: 0]

Secondly, I noticed that r^n as n approaches infinity gives you squares. And this kind of relates to x^2n + y^2n = a^2n, which, as n approaches infinity, starts resembling a square.

Thirdly, this may or may not give me a mild headache: Gravity Fun at TestTubeGames.com: [ForceG: 4,Qual: 1,Zoom: 1,xSet: -61,ySet: -87], [x0: 13,y0: 54,vx: 0,vy: 0,t0: 0,who: 1,m: 1000], [x0: -859,y0: 95,vx: -1.45,vy: -8.7,t0: 81,who: 3,m: 0]
Convincing people that 0.9999... = 1 since 2012
A Random Player
Posts: 523
Joined: Mon Jun 03, 2013 4:54 pm

Re: Easter egg?

Post by A Random Player »

robly18 wrote: Secondly, I noticed that r^n as n approaches infinity gives you squares. And this kind of relates to x^2n + y^2n = a^2n, which, as n approaches infinity, starts resembling a square.
Challenge accepted:

Code: Select all

Gravity Fun at TestTubeGames.com: [ForceG: 100,Qual: 1,Zoom: 1,xSet: 0,ySet: 0], [x0: 0,y0: 0,vx: 0,vy: 0,t0: 0,who: 1,m: 1000], [x0: 0,y0: -99.9,vx: 5,vy: -7.8,t0: 0,who: 3,m: 0]
It's unstable, just like your figure eight orbit, though.
$1 = 100¢ = (10¢)^2 = ($0.10)^2 = $0.01 = 1¢ [1]
Always check your units or you will have no money!
User avatar
robly18
Posts: 413
Joined: Tue Jun 04, 2013 2:03 pm

Re: Easter egg?

Post by robly18 »

I also made a triangle, and it was also unstable. Then, with the same law, I made a five sided star.

That's what convinced me that there is no law for triangles, sadly.
Convincing people that 0.9999... = 1 since 2012
A Random Player
Posts: 523
Joined: Mon Jun 03, 2013 4:54 pm

Re: Easter egg?

Post by A Random Player »

robly18 wrote:I also made a triangle, and it was also unstable. Then, with the same law, I made a five sided star.

That's what convinced me that there is no law for triangles, sadly.
There is a law for any polygon or star though: r^∞ :P
$1 = 100¢ = (10¢)^2 = ($0.10)^2 = $0.01 = 1¢ [1]
Always check your units or you will have no money!
Post Reply