Lab · Canvas · JavaScript
Side mask
Move over the sphere to move the light.
A browser version of my C++ Arnold pattern node: each pixel compares its surface normal with the light direction, then blends between a front and a rear color. Cross dissolve moves the boundary; blur softens it.
