anthemionanthemion-kentema
← all of Extras

Extras

anthemion-kentema

A night sky in cross-stitch

Ported from the studio’s StitchNova, built in its component builder from a 97 × 97-cell pixel artwork and the dithered noise field that came before it, with the tuned values baked in. The second extra drawn as pixel art, after limne, and like it the picture is computed on the CPU and only the finish is a shader. Not Greek; κέντημα is only what cross-stitch is called.

At rest it is the artwork cell for cell — a ringed planet, nebulae in the corners, dithered streaks rising to the right. In motion the clouds drift along the angle and boil as they go, read from a seamless extension of the art so nothing slides off an edge, while the planet turns as a globe under a rim that stays put and glints run up the streaks. The clouds are read blended between cells and every cell decides for itself, so an edge advances cell by cell rather than the whole sky hopping at once, and a dithered patch carries its checker phase with it instead of flipping every half cell. The CPU decides only which cells are lit; the stitch itself — the line, the rim, the bevel — is drawn by the shader from where a pixel sits inside its cell, on whole pixels, so every cell is the same width it was in the original. Set gate to pointer and the cells round the pointer light, a held press speeds everything, and a press sends out a shockwave that bends the picture like a lens as it passes. Set pattern to generated for the noise field it was refined from. Under reduced motion it is the artwork exactly as drawn.

Integration

<link rel="stylesheet" href="anthemion.css">
<script type="module" src="anthemion.js"></script>

<anthemion-kentema scale="41" density="50" dither="40" angle="25" hover="100" reach="5" impact="5" seed="7" drift="100" pattern="artwork" planet="on" gate="pointer" place="inline"></anthemion-kentema>

Slot

A full-bleed backdrop for a page that wants night behind it and a made thing rather than a rendered one. The counterpart to selas: the same sky, stitched instead of lit.

Custom properties

  • --kentema-lit
  • --kentema-unlit
  • --kentema-grid
  • --kentema-layer
  • --kentema-ratio

Also in surface