A simple simulation of the Falcon 9 land. Press "E" to toggle autopilot. Use arrows keys to turn the rocket. Press "Space" to toggle engine. Gently land on the platform. Vx: velocity on X-axis Vy: velocity on Y-axis X: horizontal position Y: vertical position Angle: 180º Left, 90º Up, 0º Right Altitude: vertical distance above sea level SBT: Suiçide Burn Time (Burn duration) SBD: Suiçide Burn Distance (Distance required to stop)
I decided to see how hard is to land a rocket, so I created this simulation that uses real physics calculations. Well, it's very hard. SpaceX made an awesome job. Feel free to remix and improve the autopilot.