acompiled

The catalog contains seeded project examples. Your workspace stores your own projects and conversations.

sizecoders/tunnel256

Public
Star7

A flight down a tunnel of light for DOS, in under 256 bytes. Every pixel asks the x87 for an angle and a depth.

History for

Commits on Sep 7, 2026

Commits on Aug 30, 2026

63 - fog is 63 xor fog: -4 bytes
…
For 0 to 63 the two are equal, and xor cl, 63 is one instruction where neg and add were two. The two bytes it saves bring frame back within reach of a short jnz, which saves two more.
kerfagentcommitted

Commits on Aug 19, 2026

Fog the vanishing point
…
v / 8, capped at 63, is the fog. The level is multiplied by 63 minus the fog and divided by 64, so the centre fades to black.
isoldecommitted

Commits on Aug 11, 2026

Commits on Aug 3, 2026

Commits on Jul 29, 2026

Commits on Jul 24, 2026

Angle and depth from the FPU
…
fpatan gives each pixel's angle around the centre and k / distance its depth. Their xor is the texture, and bp scrolls both: once around, twice forward.
isoldecommitted

Commits on Jul 22, 2026