anthemionanthemion-limne
← all of Extras

Extras

anthemion-limne

Koi in a pixel pond

Built in the studio’s component builder from the studio’s own reference clip — a koi pond seen from above, in pixel art — and ported here with the tuned values baked in. The first extra drawn in two dimensions rather than raymarched, and it still goes through the shared harness so it pauses with everything else on the page. Not Greek; λίμνη is only what it is.

Every block on screen is one texel of a small grid — water, foliage, stumps, lily pads, the koi and their shadows, the fry and the ripple rings — so nothing is finer than a block and the whole pond moves on one lattice. A koi is a chain of fourteen points with only the head steered, so the body follows the path the head actually took and a turn travels down it; the tail wave is added on top and grows toward the fin. The koi are drawn as smooth paths at a fraction of the size and their soft edges are cut away, and they redraw at twelve frames a second, like sprites, while the rings and the water run on the display. The school circles, keeps off itself and stays in open water; one at a time a koi gulps at the surface and sheds rings, and now and then one sinks into the water’s colour and rises somewhere else. Set gate to pointer and the koi shy from the pointer, and a press drops rings and scatters every koi in reach. Under reduced motion it is the closing frame, still. Without WebGL it is slate water, and the gradient is on the element itself so it survives having no JavaScript at all.

Integration

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

<anthemion-limne koi="6" size="55" pixel="2" ripples="23" shimmer="42" flee="88" seed="7" drift="100" dive="on" gate="pointer" place="inline"></anthemion-limne>

Slot

A full-bleed backdrop for a page that wants something alive behind it and something drawn rather than rendered. The shelf’s only pixel art, and the one to reach for when the page is playful rather than grave.

Custom properties

  • --limne-water
  • --limne-foliage
  • --limne-body
  • --limne-patch
  • --limne-ground
  • --limne-layer
  • --limne-ratio

Also in surface