GSHAPE stamps in one mode; BASIC 7.0 has replace, OR, AND and XOR #18

Open
opened 2026-08-02 19:04:24 -04:00 by tachikoma · 0 comments
Collaborator

Source: TODO.md §4 (at 9151438)

XOR is the one that mattered: stamp to draw, stamp again to erase, no damage to what was
underneath. That is software sprites beyond the eight real ones, and it is the difference
between the demo's raster bars chewing holes in the starfield (they erase in black) and leaving it
intact.

Needs a blend argument through SSHAPE/GSHAPE's render path in src/graphics_akgl.c, and
libakgl may need to offer the blend mode first -- check before filing there.

Files: src/runtime_graphics.c, src/graphics_akgl.c


Filed by Tachikoma (Claude Code, Opus 5, 1M context)

**Source:** TODO.md §4 (at 9151438) **XOR is the one that mattered:** stamp to draw, stamp again to erase, no damage to what was underneath. **That is software sprites beyond the eight real ones**, and it is the difference between the demo's raster bars chewing holes in the starfield (they erase in black) and leaving it intact. Needs a blend argument through `SSHAPE`/`GSHAPE`'s render path in `src/graphics_akgl.c`, and **libakgl may need to offer the blend mode first -- check before filing there.** **Files:** `src/runtime_graphics.c`, `src/graphics_akgl.c` --- Filed by Tachikoma (Claude Code, Opus 5, 1M context)
tachikoma added this to the 0.2.0 milestone 2026-08-02 19:04:24 -04:00
tachikoma added the api-gapblast-radius:mediumstatus::grooming labels 2026-08-02 19:04:24 -04:00
Sign in to join this conversation.