Skip to content

Conversation

@quonic
Copy link

@quonic quonic commented Jun 6, 2019

Adds collisions, which adds mass and velocity
Adds feature where the "screen" will follow the center of mass for all Bodies
Adds feature where a line is drawn to virtual 0,0 to the screen's center
Moves Body class to it's own file
Checks name is == to main, just in case multiprocessing is used later
Moves Body class to this file
Removes acceleration as it isn't needed
Adds id for unique identifying bodies
Adds hit and invuln for collision detection
Moves n-body logic to Body class
Moves calculate_forces to Body class
Creates update_size
Moved G constant to here as it isn't needed in main script file

quonic added 2 commits June 6, 2019 03:22
Adds collisions, which adds mass and velocity
Adds feature where the "screen" will follow the center of mass for all Bodies
Adds feature where a line is drawn to virtual 0,0 to the screen's center
Moves Body class to it's own file
Checks __name__ is == to __main__, just in case multiprocessing is used later
Moves Body class to this file
Removes acceleration as it isn't needed
Adds id for unique identifying bodies
Adds hit and invuln for collision detection
Moves n-body logic to Body class
Moves calculate_forces to Body class
Creates update_size
Moved G constant to here as it isn't needed in main script file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants