Skip to main content

Module mark

Module mark 

Source
Expand description

The planarian mark, drawn natively, still or in motion.

The identity kit’s animations/keyframes.json gives the mark as SVG path strings (absolute M, C and Z only) in a 1024-square box, plus two looping animations whose keyframes share one path structure: “loading” (breathing, 3.6 s) and “working” (a counterclockwise contraction, 2.4 s). Between keyframes the coordinates are interpolated linearly, as the kit describes for native renderers. Three contours: the body and the two eye cutouts, filled even-odd so the eyes stay transparent.

Structs§

Animation 🔒
Kit 🔒
Mark
A canvas program: the mark at seconds into motion, in color.

Enums§

Motion

Constants§

KEYFRAMES 🔒

Functions§

kit 🔒
lerp 🔒
parse 🔒
Parses the kit’s path strings. None on anything but absolute M/C/Z.
shape 🔒
The mark’s contours at seconds into the motion.

Type Aliases§

Contour 🔒
One contour: a start point, then cubic segments (control 1, control 2, end).