Blood in Pixels
A forty-line procedural generator for blood stains in pixel art: a ragged blob, scattered droplets, and drips that run down the wall. With an interactive demo you can click.
A Navigable KD-Tree
Reusing a nearest-neighbor k-d tree for directional UI navigation.