Randy's Itty Bitty Java Rocket Flight Simulator

The Applet

UH-OH... Running this applet requires a "Java Enabled" browser. Unhappily, if you're reading this your browser isn't Java Enabled and you can't run the applet. You can still get ideas from reading the simulation code below, especially "", and look at the "trajectory" method. You can run a simulation of your rocket at Mark Sullivan's terrific Model Rocket Altitude Predictor.

The Source Code

Have fun with the code. Save it, change it, and make your own rocket simulator. Some suggested upgrades: add labeling to the graph axes to show the scale. Include thrust curves, and change "Impulse" entry to a Choice list for selecting an engine. Allow user entry of an arbitrary thrust curve. Add a velocity trace. Whatever else you can think of. Hey, the sky's the limit.

Main applet code:

Helper classes:

Back to Rocket Simulation Page

Back to Rocket Equations Page


Your questions and comments regarding this page are welcome. You can e-mail Randy Culp for inquiries, suggestions, new ideas or just to chat.
Updated 24 August 2008