Fire

Version 2 of 6

C64 fire.

C64 · multicolour · 2002

This version

The same algorithm in fat 2:1 pixels and the C64's own muted fire colours: black, red, orange, light red, yellow, white.

How this version works

The output is 160 pixels wide, but heat is calculated at half that width and each heat cell is drawn across two output pixels. Two hidden bottom rows receive either maximum heat or zero, with a 60 per cent chance of maximum heat. The same four-sample average and 0.985 cooling factor as the PC version run twice per frame. Heat is grouped into 16 bands that select six C64 palette colours: black, red, orange, light red, yellow and white.

The trick in this version

Horizontal pixel duplication evokes C64 multicolour pixels, while a lookup table restricts the colours. This is a visual approximation, not an emulation of C64 display memory or per-cell colour restrictions.

Historical context · 8-bit

  1. 2002 · Flugeldufel · Fire [256 byte]

    Fire in 256 bytes on a C64

    A tiny fire on the old 8-bit machine, as a size-coding challenge.

Platform
C64 · multicolour
Era
8-bit
Rendered on
CPU
Tags
16 colours · 256-byte spirit
Sources
Fire in 256 bytes on a C64 (2002)