Astra, an n-body simulator in Flash

cr1

Promoting vegetables in space
Woah! It's been a long time. Finally decided to follow up on my previous attempt at making a gravity simulator in Flash from 1.5 years ago.

It's here.
http://contland.net23.net/astra/

(Or directly here for the current version, prototype102.)

Technical stuff:
- 3D!
- Lots more planets and stars!
- Classical gravity
- [ame="http://en.wikipedia.org/wiki/Euler_method"]Euler method[/ame] for numerical integration
- Fixed time-steps, modifiable
- Modifiable planet/star parameters
- Import/export simulation state from/to text ([ame="http://en.wikipedia.org/wiki/JSON"]JSON[/ame] format)

What do you think? Got bugs, glitches, or suggestions?

Last edited:

Scientist
Very cool.

Can you use the sim to visualize the gravity fields and pull out the Lagrange points?

Also - can you set up some resonant encounter saved scenarios to run?

cr1

Promoting vegetables in space
Field lines and Lagrange points... I'll have to try to understand how to calculate them!

Thanks ADSWNJ! Do you have any ideas for resonant encounter? Do you mean things like Jupiter's resonant satellite system (1:2:4) ?

Ripley

Tutorial translator
Donator
Wow! This community rocks!
So much knowledge and dedication!!

Hats off! :tiphat:

Ripley

Tutorial translator
Donator
FireFox here, and I can confirm this.
Yesterday, and earlier today, it was working...

cr1

Promoting vegetables in space
Sorry everyone, I was working on the site. Moved every swf into a "files" folder, forgot to update the links.

Everything *should be working now!

Last edited:

Scientist
Field lines and Lagrange points... I'll have to try to understand how to calculate them!

Thanks ADSWNJ! Do you have any ideas for resonant encounter? Do you mean things like Jupiter's resonant satellite system (1:2:4) ?

I was thinking about some of the NASA mission profiles that kick the satellite out to say Jupiter after doing 1 or 2 slingshots off Earth. I was always amazed at the sophistication of calculating those orbits, and it would be cool to plot on your simulator.

Same for things like the Grail mission - showing how the orbit captures and describes a pattern around the moon.

Keep it up!!

SpaceNut

New member
Excellent. No bugs here, runs like a top. Really cool. Great Job!