Rocket Simulation

Rocket2

I wrote the basic code for a very simple rocket simulation in Processing. In the program, a rocket moves through zero gravity. The rocket contains two types of components: fuel tanks (green) and thrusters(red). The rocket can actually be built (only from inside the code and not by the user for now) and its performance depends on its components and their positions and rotations. The rocket’s fuel decreases as it’s thrusters run and so does its mass and center of mass.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s