Astra, an n-body simulator in Flash

cr1

Promoting vegetables in space
Joined
Apr 20, 2008
Messages
152
Reaction score
1
Points
18
Location
Zurich
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?

:hailprobe:
 
Last edited:

ADSWNJ

Scientist
Addon Developer
Joined
Aug 5, 2011
Messages
1,664
Reaction score
2
Points
38
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
Joined
Apr 20, 2008
Messages
152
Reaction score
1
Points
18
Location
Zurich
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
Joined
Sep 12, 2010
Messages
3,034
Reaction score
325
Points
123
Location
Rome
Website
www.tuttovola.org
Wow! This community rocks!
So much knowledge and dedication!!

Hats off! :tiphat:
 

Ripley

Tutorial translator
Donator
Joined
Sep 12, 2010
Messages
3,034
Reaction score
325
Points
123
Location
Rome
Website
www.tuttovola.org
FireFox here, and I can confirm this.
Yesterday, and earlier today, it was working...
 

cr1

Promoting vegetables in space
Joined
Apr 20, 2008
Messages
152
Reaction score
1
Points
18
Location
Zurich
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:

ADSWNJ

Scientist
Addon Developer
Joined
Aug 5, 2011
Messages
1,664
Reaction score
2
Points
38
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
Joined
Jun 15, 2008
Messages
316
Reaction score
0
Points
0
Location
Lorain
Excellent. No bugs here, runs like a top. Really cool. Great Job!
 
Top