forked from walkernr/N-Body
-
Notifications
You must be signed in to change notification settings - Fork 0
heimbrg/N-Body
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
___ ___ ___ ___ / /\ / /\ / /\ / /\ __ / /::| / /::\ / /::\ / /::\ | |\ / /:|:| / /:/\:\ / /:/\:\ / /:/\:\ | |:| / /:/|:|__ / /::\ \:\ / /:/ \:\ / /:/ \:\ | |:| /__/:/ |:| /\ /__/:/\:\_\:| /__/:/ \__\:\ /__/:/ \__\:| |__|:|__ \__\/ |:|/:/ \ \:\ \:\/:/ \ \:\ / /:/ \ \:\ / /:/ / /::::\ | |:/:/ \ \:\_\::/ \ \:\ /:/ \ \:\ /:/ / /:/~~~~ |__|::/ \ \:\/:/ \ \:\/:/ \ \:\/:/ /__/:/ /__/:/ \__\::/ \ \::/ \__\::/ \__\/ \__\/ ~~ \__\/ ~~ Nick Walker Current Version: 1.6 This script simulates the interaction of celestial objects in an n-body system. Requirements: VPython visual library Download at: http://vpython.org/ Working Components: Gravitation between multiple objects Collisions Trail mapping Color changing Trajectory reversal Pause/Play functionality Material switching Add/Subtract celestial bodies Add/Subtract massive meteors Drag and Drop celestial objects Camera centers on star Addition of multiple stars Execution: Run the script and use the commands detailed in the console window Controls: a: add planet s: remove the last added object, does not remove star k: add meteor, incredibly massive, can knock star out of place r: reverse the orbits of the planets t: toggle whether trails are shown or not p: pause/play the simulation m: toggle whether or not objects use textures c: enable or change solid color appearance of objects b: add star to system You can also click on objects to reposition them, click again to release The object retains its velocity
About
n-body solar system simulator
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published