DYCP
1986Whole 8×8 characters, each at its own Y on a sine, recoloured per raster line through a C64 colour ramp, under a 2× logo.
y = base + A · sin(x·k + t)
1986 to today
Every cracktro needed one: a line of text gliding across the screen on a wave, carrying greetings, insults and party invitations. The message was the medium.
The algorithm
Scroll a line of text horizontally, and displace it vertically with a sine of the screen x-coordinate and time. Move whole characters (a DYCP, ‘different Y character position’) or every one-pixel-wide slice of the text (a true sine scroller). Add more sines, a colour gradient per line and a mirrored reflection, and you have a cracktro.
The old-hardware trick
The C64 cannot afford a sprite per letter, so DYCP redefines a few characters every frame and draws the shifted glyphs into them. On the Amiga the blitter copied one-pixel columns of a pre-rendered text strip to sine-table offsets, and the Copper painted the colour gradient through the letters for free.
scroll += speed
for x in 0..319: // one column at a time
column = text_bitmap[(x + scroll) / scale]
y0 = base + SIN[(x·k + t) & 255] · A
blit(column, x, y0) // 1 px wide, 8·scale tall
colour = copper_gradient[y − y0] // free on Amiga
// DYCP: per character instead of per column
y0 = base + SIN[(char_x·k + t) & 255] · ADocumented milestones, with a source for each. Famous examples, not claims of who did it first.
Yip / PureByte · Commodore 64
Jazzcat's researched C64 chronology attributes the ‘Different Y Character Position’ scroller to a Yip release of 27 June 1986, every letter riding its own sine.
SourcePHR Crew (code: Haegar) · Amiga OCS/ECS
A documented early Amiga sine-scroll intro. Its discussion page argues about ‘firsts’ and usefully separates sliced text deformation from whole-character movement.
SourceXXX International · Atari ST
‘Nibble scrapping smooth sine scroller’ brings two combined sine waves to the other 68000 machine.
SourceThe Phoney Coders · Even Better Than the Real Thing · DOS · VGA
Its effect list reads like an Amiga demo, sine scroller, vector balls, rotating 3D, showing the 16-bit language moving to the PC.
SourcePhantom / Epical · Hoax #3 · DOS
A diskmag opens with a sine scroller in front of a 3D starfield: the effect as a reusable presentation device.
SourcePasi ‘Albert’ Ojala · C= Hacking #6 · Commodore 64
An electronic magazine article documents the character-memory method behind DYCP, preserving the optimisation, not just the look.
SourceByteJuggler · Space Travel · WebGL2
Font, rainbow sine scroller, reflection and bars drawn by a single full-screen fragment shader, the old character machinery replaced by per-pixel maths.
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.
Whole 8×8 characters, each at its own Y on a sine, recoloured per raster line through a C64 colour ramp, under a 2× logo.
Every one-pixel column of the text is displaced on its own, the letters bend. A copper gradient runs through them and a wobbling reflection below.
Two sines summed for a rolling wave, big 4× letters in shifting colours from the ST's 9-bit palette, over timer-B raster stripes.
Like the Hoax #3 opening: a 3D starfield flies at you while a 3× scroller bounces in front, in a 256-colour gradient.
The 8×8 font lives in a texture; the fragment shader finds the glyph under each pixel, adds a rainbow, a glow, a starfield and a rippling reflection.