ScratchData LogoScratchData
Back to jgordon510's profile

Gravity Well Simulator

JGjgordon510•Created November 16, 2014
Gravity Well Simulator
40
24
1166 views
View on Scratch

Instructions

This project simulates a gravity well with 40 massive objects. Each object's area is proportional to its mass. When objects collide, their masses are combined and the two objects' trajectories are combined, relative to their masses. The screen's center follows the combined center of mass of all the objects. When all of the objects have come back together, the simulation will begin again. This is an all pen project.

Description

Don't forget to post your high score in the comments! "Passing paths that climb halfway into the void As we cross from the side to side We hear the total mass retain" -"Total Mass Retain" by Yes Updates: I've made the gravity dissipate exponentially, made the planet's area (instead of radius) proportionate to mass, and tuned the initial spin versus the gravitational attraction.

Project Details

Project ID34525268
CreatedNovember 16, 2014
Last ModifiedJune 8, 2020
SharedNovember 16, 2014
Visibilityvisible
CommentsAllowed