Bitplane adder
1991One bob on a Lissajous path, adding one per pass with wrap-around at 32, in a 12-bit palette. Overlaps climb the ramp and roll back to black in sharp rings.
pixel += 1
1991 to today
A disc that never gets drawn, only added. Every time the bob passes, each pixel under it moves one step up the palette, so the path it travels slowly builds up into glowing bands of colour.
The algorithm
Keep a buffer of palette indices. Move a disc along a smooth path (usually sine curves). For every pixel under the disc, add one to its index. Pixels the bob crosses often climb higher up the colour ramp. If the index wraps at the top of the palette you get the classic hard colour bands; if it saturates and the buffer slowly fades, you get light trails instead.
The old-hardware trick
On the Amiga the screen is made of bitplanes, one bit of the colour index per plane. With the right logic function the blitter turns a few blits into a binary adder that carries a 1 through the planes under a disc mask, so the whole bob is added in hardware with no per-pixel work on the 68000. Colour 31 plus one becomes 0 again, which is why so many shadebob screens show those sharp rings.
for each frame:
(x, y) = (cx + A·sin(a·t), cy + B·sin(b·t))
for each (dx, dy) in disc:
i = (y+dy)·W + x+dx
screen[i] = (screen[i] + 1) mod 32 // wrap: Amiga bitplane adder
// or: min(screen[i] + 1, 255) with fade = trails
show screen through paletteDocumented milestones, with a source for each. Famous examples, not claims of who did it first.
Anarchy · Amiga OCS/ECS
One of the earliest Amiga productions Demozoo tags with shade bobs.
SourceCrionics & The Silents · Amiga OCS/ECS
The end-of-1991 trackmo also carries the shade bobs tag, among its many classic effects.
SourceSynergy · Atari ST/E
Shadebobs reach the Atari ST, where four bitplanes give a 16-step colour ramp.
SourceSupplex · Amiga OCS/ECS
An intro named after the effect itself, a sign of how standard it had become.
SourceHysteria · Hysteric Visions BBS · MS-DOS
On the PC the effect turns up in a BBS advert, nicknamed a 'shadetro'.
SourceHemoroids · Atari ST/E
Decades later the effect is still a fond part of new oldschool demos.
Source5 live versions, from the oldest platform to today: 4 on the CPU, 1 on the GPU. Retro versions run at their original resolution and palette. Demos pause when off screen.
One bob on a Lissajous path, adding one per pass with wrap-around at 32, in a 12-bit palette. Overlaps climb the ramp and roll back to black in sharp rings.
Two bobs on different curves, four bitplanes' worth of colour, wrapping at 16 in the ST's 9-bit palette.
A byte per pixel lets the count saturate instead of wrapping, and a slow random fade turns five bobs into melting light trails.
Forty-eight small bobs ride the vertices of a rotating torus knot, so a 3D shape is drawn as built-up light.
No buffer at all: each pixel sums soft light from ninety past positions of three bobs, then tone-maps the total.