I still can’t believe there was a binary-anything that I’d find acceptable, but this really works. Its primitives are erosion and dilation — dying and growth. You can find the hidden skeleton in shapes or grow everything until it fills the screen. You can even go from 2D to hills and valleys and probably up to full 3D, all in just a few quick moves.
All from anything you can scratch in the sand.