A procedural algorithm for generating space ships. Based loosely on the SpaceshipGenerator.
- Start with a cube, mark each face with its cardinal direction (up, down, forward, back, left, right).
- Build out forward by selecting randomly from a set list of instructions
Usage
- Space to generate a new ship from a new random seed
- Escape to quit