Skip to content

Instantly share code, notes, and snippets.

nazikus /
Last active Mar 30, 2017 — forked from mbostock/.block
Gradient Along Stroke

Fork from Gradient Along Stroke;

Differences from the source:

  • substituded random storke path with circle path
  • circle is drawn with <path>, not <circle>. Attribute "d" is parametrized according to circle definition.
  • added circle completion ratio (percent), e.g. can be used as progress circle.
  • rainbow color interpolation substitude with custom multi-color interpolation ending with the same color.