This version
In the spirit of Rescue on Fractalus!: a fractal height map behind a cockpit frame, smothered in thick purple atmosphere, in a coarse 3-bit-per-channel palette.
How this version works
This 160-pixel-wide CPU version uses a wrapping 256×256 diamond-square height map with byte-sized heights. Brown terrain colours receive one of two brightness levels according to the sign of the local slope. Front-to-back samples draw vertical spans above a per-column horizon, with a height scale of 0.55 and a viewing distance of 220 map units. The terrain fades towards purple, and its final colours are reduced to three bits per channel beneath a 16-step sky gradient. Dark cockpit bars and two orange instrument marks are drawn over the result.
The trick in this version
Low horizontal resolution and a horizon buffer limit the drawing work, while bit masks wrap map coordinates. The colour reduction is a simple RGB approximation in this code, not an emulation of the Atari's actual palette hardware.
Historical context · 8-bit
1985 · Lucasfilm Games (fractals: Loren Carpenter)
Rescue on Fractalus!
Fractal mountains generated in real time on an Atari 800, seen through a dense alien atmosphere from a cockpit, the landscape as a procedural object, on 8-bit hardware.
- Platform
- Atari 8-bit · 160 wide
- Era
- 8-bit
- Rendered on
- CPU
- Tags
- fractal · fog
- Sources
- Rescue on Fractalus! (1985)