block by plmrry 25e5d1370ff8fbcd6c24

Simple Gradient Along Stroke

Full Screen

A less-sophisticated alternative to Mike Bostock’s Gradient Along Stroke.

Note that this version does not compute mitre joints, so sharp bends reveal the segmented nature of the “path.”

script.js

index.html