That and the shrink button (the third small icon on bottom left). Last I tried it it killed everyone on my planet (set to 0 velocity relative to the star)wtg62 wrote:I second this, as much as I and a few others would already know what everything does pretty well, new users might not.A Random Player wrote:A quick (?) suggestion: Add tooltips to the buttons.
(Honestly I never got the point of what currently is the eye button)
GSim version 0.25
-
- Posts: 523
- Joined: Mon Jun 03, 2013 4:54 pm
Re: GSim version 0.25
$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: GSim version 0.25
When I first played this, I thought that button stopped velocity of everything. (It sure did, I'll give it that.)
What I think it's supposed to do is set the view to the current center of mass.
That actually makes me think now... fix that bug, but add a button that kills the velocity of everything!
Or actually... that wouldn't be useful, would it?
What I think it's supposed to do is set the view to the current center of mass.
That actually makes me think now... fix that bug, but add a button that kills the velocity of everything!
Or actually... that wouldn't be useful, would it?

This message has been brought to you by wtg62, duh!
-
- Posts: 523
- Joined: Mon Jun 03, 2013 4:54 pm
Re: GSim version 0.25
If I remember right, the first time I clicked it it actually worked (stopped the motion of the configuration). Now I don't knowwtg62 wrote:When I first played this, I thought that button stopped velocity of everything. (It sure did, I'll give it that.)
What I think it's supposed to do is set the view to the current center of mass.
That actually makes me think now... fix that bug, but add a button that kills the velocity of everything!
Or actually... that wouldn't be useful, would it?

$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!
- testtubegames
- Site Admin
- Posts: 1164
- Joined: Mon Nov 19, 2012 7:54 pm
Re: GSim version 0.25
wtg62 -- strange stuff there with the non-appearing planets and wacky trajectories. I'll get those fixed up.
Agreed on the tooltips, very necessary. And the 'shink' button is indeed the 'go-to-center-of-mass-frame' button. So while it shouldn't have killed anything, I can believe there'd be bugs. Especially with the saving/loading, I don't think I ever made that work with the CoM button (note to self: fix that, too!)
Agreed on the tooltips, very necessary. And the 'shink' button is indeed the 'go-to-center-of-mass-frame' button. So while it shouldn't have killed anything, I can believe there'd be bugs. Especially with the saving/loading, I don't think I ever made that work with the CoM button (note to self: fix that, too!)
-
- Posts: 523
- Joined: Mon Jun 03, 2013 4:54 pm
Re: GSim version 0.25
Science time!
Circular orbit with M=1000 and r=100
Measured orbital period: ~16.527 s
Calculated orbital period: 198.6918
Ratio: 12.022 s
???
Edit: Found the "kill everyone" bug in the CoM button: If there's a fixed star things get problematic.
Circular orbit with M=1000 and r=100
Code: Select all
Gravity Fun at TestTubeGames.com: [ForceG: -2,Qual: 1,Zoom: 1,xSet: 0,ySet: 0], [x0: 0,y0: 0,vx: 0,vy: 0,t0: 0,who: 1,m: 1000,c: 1], [x0: 100,y0: 0,vx: 0,vy: 3.162278,t0: 0,who: 3,m: 0,c: 0]
Calculated orbital period: 198.6918
Ratio: 12.022 s
???
Edit: Found the "kill everyone" bug in the CoM button: If there's a fixed star things get problematic.
$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!
- testtubegames
- Site Admin
- Posts: 1164
- Joined: Mon Nov 19, 2012 7:54 pm
Re: GSim version 0.25
Thanks for the tip on that bug, it makes sense that would cause an issue. The CoM has to do a work-around for the static stars right now, and work-arounds attract bugs like crazy.A Random Player wrote:Science time!
Measured orbital period: ~16.527 s
Calculated orbital period: 198.6918
Ratio: 12.022 s
???
Edit: Found the "kill everyone" bug in the CoM button: If there's a fixed star things get problematic.
The ratio... hmm.
Well, at the moment the framerate is about 30fps. And in each frame, the 'game time' moves ahead .4 units. So every real-world second, the game advances 12 time units. So your calculations are, as always, spot on!
-
- Posts: 523
- Joined: Mon Jun 03, 2013 4:54 pm
Re: GSim version 0.25
I have been abusing negamatter to produce warp drives. So much, I've caused several "too many heap" errors (restarting several tabs), a fatal crash (that was actually caught), and even a BSOD.
Since load is still pretty buggy, I'll just say that X and -X with no motion = accelerating forever, X and 2 * -X/2 = chaotic motion, and X and -X** with a bit of motion results in an "orbit" (the "warp drive" is pointing inward). Should technically still be keplerian.
Edit: **-X*(1-ε)
Since load is still pretty buggy, I'll just say that X and -X with no motion = accelerating forever, X and 2 * -X/2 = chaotic motion, and X and -X** with a bit of motion results in an "orbit" (the "warp drive" is pointing inward). Should technically still be keplerian.
Edit: **-X*(1-ε)
Last edited by A Random Player on Wed Feb 26, 2014 5:29 pm, edited 1 time in total.
$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!
- testtubegames
- Site Admin
- Posts: 1164
- Joined: Mon Nov 19, 2012 7:54 pm
Re: GSim version 0.25
Whoa! I made something that caused a BSOD? *checks that off the bucket list*A Random Player wrote:I have been abusing negamatter to produce warp drives. So much, I've caused several "too many heap" errors (restarting several tabs), a fatal crash (that was actually caught), and even a BSOD.
As you have noticed, I haven't put in many safeguards (such as max distances or upper limits to orbit drawings). I'll actually add that to the "To Do" list so I don't forget.
-
- Posts: 523
- Joined: Mon Jun 03, 2013 4:54 pm
Re: GSim version 0.25
Bug: Switch to Newtonian integration is inconsistent.
This is a modified version of a WIP script I'm making, with 59 planets and a star (60 moving, massive objects). The masses have all been set to 0, but that doesn't affect it.
Add a planet (not asteroid) of any mass (preferable negligible). Watch the ring.
Code: Select all
Gravity Fun at TestTubeGames: [ForceG: -2,Qual: 1,Zoom: 1,xSet: 0,ySet: 0], [x0: 0,y0: 0,vx: 0,vy: 0,t0: 0,who: 2,m: 9001,c: 1], [x0: -59.2210307441,y0: 191.031069509,vx: -6.40737685854,vy: -1.98633375662,t0: 0,who: 2,m: 0,c: 2], [x0: -93.2754395076,y0: -176.917190755,vx: 5.93398297375,vy: -3.12855335055,t0: 0,who: 2,m: 0,c: 2], [x0: 44.759900641,y0: -194.927040953,vx: 6.53805171335,vy: 1.50129270749,t0: 0,who: 2,m: 0,c: 2], [x0: -199.877046416,y0: 7.01186964878,vx: -0.23518525776,vy: -6.70407994392,t0: 0,who: 2,m: 0,c: 2], [x0: -197.633231532,y0: 30.6774476491,vx: -1.02895287479,vy: -6.62882010477,t0: 0,who: 2,m: 0,c: 2], [x0: -24.1024766334,y0: 198.542364799,vx: -6.65931336158,vy: -0.808421642674,t0: 0,who: 2,m: 0,c: 2], [x0: -43.0912139607,y0: 195.30270679,vx: -6.55065192857,vy: -1.44532325474,t0: 0,who: 2,m: 0,c: 2], [x0: -140.81262736,y0: -142.02747613,vx: 4.76374636949,vy: -4.72299910302,t0: 0,who: 2,m: 0,c: 2], [x0: -20.0013848269,y0: 198.997348236,vx: -6.67457396997,vy: -0.670866841755,t0: 0,who: 2,m: 0,c: 2], [x0: -155.603878961,y0: 125.648051526,vx: -4.21436376679,vy: -5.21911276379,t0: 0,who: 2,m: 0,c: 2], [x0: 170.922977721,y0: 103.85247078,vx: -3.48331776442,vy: 5.73293095651,t0: 0,who: 2,m: 0,c: 2], [x0: 196.666958166,y0: -36.3607970994,vx: 1.21957821045,vy: 6.59641031081,t0: 0,who: 2,m: 0,c: 2], [x0: 193.718845935,y0: -49.7293548087,vx: 1.66797326744,vy: 6.4975276205,t0: 0,who: 2,m: 0,c: 2], [x0: -176.479990075,y0: 94.1000164885,vx: -3.15621050328,vy: -5.91931881714,t0: 0,who: 2,m: 0,c: 2], [x0: -191.697567939,y0: 57.0266818808,vx: -1.91273305825,vy: -6.42973189549,t0: 0,who: 2,m: 0,c: 2], [x0: -185.837241626,y0: -73.9223891989,vx: 2.47943230962,vy: -6.2331705754,t0: 0,who: 2,m: 0,c: 2], [x0: -81.9679489059,y0: -182.431508661,vx: 6.11893881904,vy: -2.74928858595,t0: 0,who: 2,m: 0,c: 2], [x0: 193.2881704,y0: 51.3778472064,vx: -1.72326538337,vy: 6.4830823239,t0: 0,who: 2,m: 0,c: 2], [x0: -186.383163409,y0: -72.5349322587,vx: 2.43289558911,vy: -6.25148134865,t0: 0,who: 2,m: 0,c: 2], [x0: 79.2955610578,y0: -183.608861432,vx: 6.15842843152,vy: 2.65965397259,t0: 0,who: 2,m: 0,c: 2], [x0: 4.99685469088,y0: 199.937568864,vx: -6.70610992854,vy: 0.167599601437,t0: 0,who: 2,m: 0,c: 2], [x0: -188.160494072,y0: 67.791064829,vx: -2.27378143837,vy: -6.31109483137,t0: 0,who: 2,m: 0,c: 2], [x0: -177.657890899,y0: 91.8568114043,vx: -3.08097111745,vy: -5.95882681184,t0: 0,who: 2,m: 0,c: 2], [x0: -173.665506573,y0: -99.1982450785,vx: 3.32721028866,vy: -5.82491817067,t0: 0,who: 2,m: 0,c: 2], [x0: -158.820430315,y0: -121.556862886,vx: 4.07714112816,vy: -5.32699917599,t0: 0,who: 2,m: 0,c: 2], [x0: -69.6552011675,y0: 187.478406624,vx: -6.28821692287,vy: -2.33630647195,t0: 0,who: 2,m: 0,c: 2], [x0: -68.6548959898,y0: 187.847026212,vx: -6.30058079971,vy: -2.30275521632,t0: 0,who: 2,m: 0,c: 2], [x0: -158.706565689,y0: -121.705488813,vx: 4.08212619331,vy: -5.32318004034,t0: 0,who: 2,m: 0,c: 2], [x0: -121.178196107,y0: -159.109537075,vx: 5.33669611153,vy: -4.06444025829,t0: 0,who: 2,m: 0,c: 2], [x0: -179.283227902,y0: -88.6426770412,vx: 2.97316577358,vy: -6.01334227222,t0: 0,who: 2,m: 0,c: 2], [x0: -181.885298891,y0: -83.1729405964,vx: 2.78970523593,vy: -6.10061838641,t0: 0,who: 2,m: 0,c: 2], [x0: 156.978524848,y0: 123.926360136,vx: -4.15661648203,vy: 5.26521978851,t0: 0,who: 2,m: 0,c: 2], [x0: 188.66703397,y0: -66.3682928294,vx: 2.22606021476,vy: 6.32808469604,t0: 0,who: 2,m: 0,c: 2], [x0: -90.5548066091,y0: -178.325059933,vx: 5.98120434152,vy: -3.03730054901,t0: 0,who: 2,m: 0,c: 2], [x0: -171.03475751,y0: -103.668277325,vx: 3.47713972814,vy: -5.73668016461,t0: 0,who: 2,m: 0,c: 2], [x0: -114.534116673,y0: 163.957116704,vx: -5.49928887517,vy: -3.84159105937,t0: 0,who: 2,m: 0,c: 2], [x0: -157.599449983,y0: -123.135751774,vx: 4.13009867141,vy: -5.28604625069,t0: 0,who: 2,m: 0,c: 2], [x0: 174.742090826,y0: 97.2892681323,vx: -3.26318125538,vy: 5.86102790426,t0: 0,who: 2,m: 0,c: 2], [x0: -148.510408324,y0: -133.957674732,vx: 4.49307700211,vy: -4.98119052568,t0: 0,who: 2,m: 0,c: 2], [x0: -196.594933664,y0: 36.7482252316,vx: -1.23257294506,vy: -6.59399453557,t0: 0,who: 2,m: 0,c: 2], [x0: -124.450525958,y0: -156.563298984,vx: 5.25129268965,vy: -4.17419753817,t0: 0,who: 2,m: 0,c: 2], [x0: -189.980712729,y0: -62.5086297321,vx: 2.09660317892,vy: -6.37214682114,t0: 0,who: 2,m: 0,c: 2], [x0: -16.8973676773,y0: -199.284919062,vx: 6.6842193887,vy: -0.566754941508,t0: 0,who: 2,m: 0,c: 2], [x0: 198.652052263,y0: 23.1810727066,vx: -0.777516815449,vy: 6.66299239094,t0: 0,who: 2,m: 0,c: 2], [x0: -199.249313743,y0: -17.3121625732,vx: 0.580667585267,vy: -6.68302514999,t0: 0,who: 2,m: 0,c: 2], [x0: -140.457000561,y0: 142.379180337,vx: -4.7755428872,vy: -4.71107101756,t0: 0,who: 2,m: 0,c: 2], [x0: 37.975154639,y0: 196.361624637,vx: -6.58616911291,vy: 1.27372540843,t0: 0,who: 2,m: 0,c: 2], [x0: 164.502884682,y0: 113.748850241,vx: -3.81525242253,vy: 5.51759448967,t0: 0,who: 2,m: 0,c: 2], [x0: -193.454442892,y0: 50.74818741,vx: -1.70214595175,vy: -6.48865927283,t0: 0,who: 2,m: 0,c: 2], [x0: -195.49587542,y0: -42.2061925994,vx: 1.41563873586,vy: -6.5571310014,t0: 0,who: 2,m: 0,c: 2], [x0: -199.591904421,y0: -12.7699526138,vx: 0.428317231709,vy: -6.69451599065,t0: 0,who: 2,m: 0,c: 2], [x0: -97.4995321118,y0: 174.624858591,vx: -5.85709581557,vy: -3.27023372365,t0: 0,who: 2,m: 0,c: 2], [x0: 174.045202949,y0: -98.5305400894,vx: 3.3048147825,vy: 5.83765357429,t0: 0,who: 2,m: 0,c: 2], [x0: 107.258528319,y0: -168.806421983,vx: 5.6619395189,vy: 3.59756040732,t0: 0,who: 2,m: 0,c: 2], [x0: 133.048685274,y0: -149.325307121,vx: 5.00852306227,vy: 4.46258856884,t0: 0,who: 2,m: 0,c: 2], [x0: 197.841698244,y0: -29.3029424467,vx: 0.982850568773,vy: 6.63581229086,t0: 0,who: 2,m: 0,c: 2], [x0: -162.058357919,y0: 117.205326793,vx: -3.93118617052,vy: -5.43560256942,t0: 0,who: 2,m: 0,c: 2], [x0: -89.7084027193,y0: 178.752349583,vx: -5.99553607209,vy: -3.0089112995,t0: 0,who: 2,m: 0,c: 2], [x0: 37.0395188206,y0: 196.540260622,vx: -6.59216074601,vy: 1.24234322905,t0: 0,who: 2,m: 0,c: 2]
Add a planet (not asteroid) of any mass (preferable negligible). Watch the ring.
$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!
- testtubegames
- Site Admin
- Posts: 1164
- Joined: Mon Nov 19, 2012 7:54 pm
Re: GSim version 0.25
Whoa, something went really wrong there. Even worse, I just ran it through the new build I'm working on -- and got an even different result.A Random Player wrote:Bug: Switch to Newtonian integration is inconsistent.
Getting close to the next build -- but wanna solve this first (and a couple other bugs).