Easter egg?
Easter egg?
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
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
Convincing people that 0.9999... = 1 since 2012
-
- Posts: 523
- Joined: Mon Jun 03, 2013 4:54 pm
Re: Easter egg?
Too bad it doesn't work for anything further:
And yes. I think I even saw a partial trillipse, if the exponents went farther!
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]
$1 = 100¢ = (10¢)^2 = ($0.10)^2 = $0.01 = 1¢ [1]
Always check your units or you will have no money!
Always check your units or you will have no money!
Re: Easter egg?
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
- testtubegames
- Site Admin
- Posts: 1148
- Joined: Mon Nov 19, 2012 7:54 pm
Re: Easter egg?
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)
- testtubegames
- Site Admin
- Posts: 1148
- Joined: Mon Nov 19, 2012 7:54 pm
Re: Easter egg?
Done and done. Put any number you'd like in for gravity's exponent.
For instance, suppose the force went as r^100...
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.
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]
-
- Posts: 523
- Joined: Mon Jun 03, 2013 4:54 pm
Re: Easter egg?
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.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...
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.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]
$1 = 100¢ = (10¢)^2 = ($0.10)^2 = $0.01 = 1¢ [1]
Always check your units or you will have no money!
Always check your units or you will have no money!
Re: Easter egg?
This was merely hilarious to watch. At first I was thinking "it's going in a straight line". Then it made a sudden curve.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...
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.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]
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
-
- Posts: 523
- Joined: Mon Jun 03, 2013 4:54 pm
Re: Easter egg?
Challenge accepted: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.
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]
$1 = 100¢ = (10¢)^2 = ($0.10)^2 = $0.01 = 1¢ [1]
Always check your units or you will have no money!
Always check your units or you will have no money!
Re: Easter egg?
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.
That's what convinced me that there is no law for triangles, sadly.
Convincing people that 0.9999... = 1 since 2012
-
- Posts: 523
- Joined: Mon Jun 03, 2013 4:54 pm
Re: Easter egg?
There is a law for any polygon or star though: r^∞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.
$1 = 100¢ = (10¢)^2 = ($0.10)^2 = $0.01 = 1¢ [1]
Always check your units or you will have no money!
Always check your units or you will have no money!