Fire

Version 3 of 6

Doom fire.

PlayStation · 37 colours · 1995

This version

Fabien Sanglard's reconstruction of the PSX Doom fire: 37 palette indices, each copied one row up with a random sideways hop and decay.

How this version works

A 320-pixel-wide byte buffer holds indices into a 37-colour palette, with the bottom row initialised to the hottest index, 36. Each non-zero cell is copied one row upwards with a random horizontal displacement from two pixels left to one pixel right. The same random choice subtracts either zero or one from the heat, while zero-valued cells clear the pixel directly above. Updates run in place, column by column, producing streaks rather than the softened spread of four-sample averaging.

The trick in this version

Heat and colour share the same small index range, so transport needs only a copy, an offset and a small decrement. Horizontal displacement uses linear buffer addresses without clamping to individual row edges.

Historical context · PC

  1. 1995 · PlayStation Doom team

    The Doom fire

    The title-screen fire moves palette-indexed heat upward with random decay and sideways displacement, not the four-neighbour average.

  2. 1993 · Javier ‘Jare’ Arévalo / VangeliSTeam

    FIREDEMO

    Coded 9–10 May 1993 and released with source: the first famous fire effect, months before Iguana's Inconexia. Hans Wennborg's walkthrough quotes Jare on how it works.

  3. 1993 · Iguana · Inconexia

    Fire in a full demo

    Shown at Assembly 1993: the fire as part of a complete production, beyond a stand-alone experiment.

Platform
PlayStation · 37 colours
Era
PC
Rendered on
CPU
Tags
Doom · 37-colour palette
Sources
The Doom fire (1995)FIREDEMO (1993)Fire in a full demo (1993)