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§
Enums§
Constants§
Functions§
- kit 🔒
- lerp 🔒
- parse 🔒
- Parses the kit’s path strings.
Noneon anything but absolute M/C/Z. - shape 🔒
- The mark’s contours at
secondsinto the motion.
Type Aliases§
- Contour 🔒
- One contour: a start point, then cubic segments (control 1, control 2, end).