GSim 0.32.01 - 0.32.05

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

GSim 0.32.01 - 0.32.05

Postby testtubegames » Thu Sep 22, 2016 3:50 pm

A small (but important!) update to the gravity sim...

GSim 0.32.01

Changed:
-Added in elliptical trails, so that you see an object's full orbit instead of just a trail. Still fairly beta, so feedback on it welcome
-Improved the relativistic calculations (wow, I spent a lot of time learning waaaay more than I thought I'd need to)
-Added instructions panel
-Gave the screen some momentum when you slide it around
-Renamed "Lagrange" button to "Follow Both (rotating frame)", to be a bit clearer. Eventually I'd like to add the lagrange points themselves
-Lots of bug fixes

On the relativistic calculations, I'll spare you all the details, but note that the 'problem' with conservation of momentum isn't, I believe, a problem at all. I rebuilt the whole system multiple times, going through with a fine-tooth comb... and I did indeed find some bugs in it. So now relativity is working a lot better. You can now, for instance, do 'circular' orbits around moving black holes... which get compressed into oval orbits. You can also get a lot closer to the speed of light, as objects now use a momentum variable instead of a velocity variable (which eliminates some floating point error issues).

Ah, sorry, I said I'd spare the details.

Back to the conservation of momentum issue -- I believe what's happening is that some momentum is going into the gravitational field itself. Just like how in electromagnetism, the field can carry momentum (as in, photons flying away from the charged particles), the same can happen in gravity. And I didn't realize that the simulation I built actually contained gravitational waves, but I guess it does! So the change in momentum that you notice is in fact due to gravitational waves.

Weird!

To Do:
(Nuts-and-Bolts)
-Better SFX


(Menus)
-More Science Equipment (protractor, etc)

(Sim Additions / Overlays)
-Polar Grid, Apsis view, eclipses (viewtopic.php?f=7&t=156&start=140#p2937)
-Inertial Mass != Gravitational Mass? (viewtopic.php?f=7&t=156&start=160#p3281)

(Under Discussion)
-Changing Newton's Laws (viewtopic.php?f=7&t=156&start=160#p3281)
-Use dr/dt as a variable in force law (viewtopic.php?f=7&t=156&start=170#p3455)

User avatar
testtubegames
Site Admin
Posts: 989
Joined: Mon Nov 19, 2012 7:54 pm

Re: GSim 0.32.01 + 0.32.02

Postby testtubegames » Fri Sep 23, 2016 4:09 pm

And a minor update -- did a couple bug fixes and released 0.32.02.

Of note:
-Much smaller file size
-Solve the problem of flickering ellipses
-Tracked down the drop-down menu problem

User avatar
wtg62
Posts: 170
Joined: Mon Jan 27, 2014 11:30 pm
Location: Texas, United States

Re: GSim 0.32.01 + 0.32.02

Postby wtg62 » Wed Sep 28, 2016 7:52 pm

It seems every time I check back, the UI gets more and more sleek. Nice job!
This message has been brought to you by wtg62, duh!

User avatar
testtubegames
Site Admin
Posts: 989
Joined: Mon Nov 19, 2012 7:54 pm

Re: GSim 0.32.01 + 0.32.02

Postby testtubegames » Wed Sep 28, 2016 9:25 pm

wtg62 wrote:It seems every time I check back, the UI gets more and more sleek. Nice job!

Thank you!

I will say, when working on that UI, I often think back to that discussion we had in the short-lived IRC channel -- where you really pushed for improvements to it. It reminds me that if there's a problem "dammit, it *can* be better*"... and keeps me from settling.

*Not a quote or anything... and for all I know, I may well remember the conversation differently than you! :D

User avatar
testtubegames
Site Admin
Posts: 989
Joined: Mon Nov 19, 2012 7:54 pm

Re: GSim 0.32.01 + .02 + .03

Postby testtubegames » Thu Sep 29, 2016 3:18 pm

Another minor update, (0.32.03) added in sound effects, and did some bug fixes.

User avatar
wtg62
Posts: 170
Joined: Mon Jan 27, 2014 11:30 pm
Location: Texas, United States

Re: GSim 0.32.01 + .02 + .03

Postby wtg62 » Tue Oct 11, 2016 10:39 pm

I just noticed the "ellipses instead of trails" feature. So awesome.

In my opinion, as is right now, the UI is perfectly fine. I'll let you know if I find anything I don't like, but for now, it's a solid UI.

Edit: Using the "Follow Both" mode causes the ellipses for eccentric orbits in the aforementioned feature to break.
It would also be nice if trail length could go up to 5.0

Trail color should also default to planet color, not blue. Actually, you have auto line color, but why is it not on by default?
This message has been brought to you by wtg62, duh!

User avatar
testtubegames
Site Admin
Posts: 989
Joined: Mon Nov 19, 2012 7:54 pm

Re: GSim 0.32.01 + .02 + .03

Postby testtubegames » Thu Nov 03, 2016 12:11 pm

Yeah - I'm a big fan of the ellipses mode. It's still fairly buggy, but gets the job done. Great for all those times you just want to see what some orbit is without waiting for it to go all the way around. Or see a bit clearer how an object is orbiting a moving body.

And wow, yeah, I'll disable the ellipse setting for the Follow Both mode. That's trippy.

A trail length of 5 seconds? Aside from being a nice round-ish number, any particular reason? (I'll try it out, though there's a chance it'll cause some lag if I let the value get too high)

I turned off auto-color by default just to try to make things look a bit nicer. When you have a bunch of different trail colors, it can get a bit muddled/confusing. (It can also, for the record, look amazing!) So for someone just starting out, I figured I'd give them nice blue orbit lines by default.

User avatar
testtubegames
Site Admin
Posts: 989
Joined: Mon Nov 19, 2012 7:54 pm

Re: GSim 0.32.01 + .02 + .03

Postby testtubegames » Fri Jan 13, 2017 5:22 pm

Just posted 0.32.05 up on Humble and on the web. It fixes that notorious bug where people couldn't add planets or zoom after (clearing/selecting a planet/etc).


Return to “Gravity Simulator”

Who is online

Users browsing this forum: No registered users and 3 guests