On July 20th 1969 exactly 56 years ago today man first landed on the moon. Later the event spawned many lunar-lander simulations this video shows an early arcade video game in action.
The late 70s and early 80s saw the advent of home computers the arcade game soon made an appearance on them. There is a charm to the simple line graphics display used that I wanted to emulate in my own sketch.
This sketch started as a simple test platform using realistic data
- actual lunar module dry weights
- actual fuel loads
- actual acceleration due to gravity on the moon
- calculations use the true laws of motion
some data such as burn rates and fuel-to-thrust were selected by experiment.
Although this is a gallery item I welcome suggestions as to the future development of the program. You can access the working sketch and code from the p5js Web Editor here. There are many constant values to experiment with.
Otherwise you can simply try and land it manually using the throtle, although you might try the auto-throttle first
To land safely the velocity must be < 2 m/s Enjoy!