Growth Clock
- group .........
- 3D and WebGL scenes
- source ........
- https://ui.aryank.space/components/growth-clock
- markdown ......
- /lab/growth-clock.md
- human .........
- /lab/growth-clock
── WHAT_IT_IS ────────────────────────────────────────────────────────────────────────────────
The ones digit of the wall-clock seconds, drawn as closed loops that grow, from Growth in kitasenjudesign.com/clock without its GUI. Each digit is rasterised, its outline and holes traced, and every loop resampled to a fixed node count so any digit morphs node for node into any other. Every frame splits long edges and inserts nodes at random, then relaxes them with spring, align and grid-bucketed repulsion forces plus a decaying random kick, and growth may not sink more than 3px into the glyph. When the second changes the line eases onto the next digit in 0.1s, the grown nodes are dropped, the loops flash a white fill and growth starts over. Every 10s it switches between three presets with a harder kick. Click to restart the current digit.
── BEHAVIOUR ────────────────────────────────────────────────────────────────────────────────
* Digits that morph node for node
Every digit is traced into an outline plus up to two holes, and each loop is resampled to the same node count for all ten digits. A morph rotates the next outline to the closest match, spreads grown nodes along the chords between the original ones, then drops them once they lie on the new line, so nothing jumps.
* Growth held off the glyph
An eroded bitmap of the digit blocks any node from moving more than 3px inside it, so the scribble piles up around the figure instead of filling it. Repulsion is bucketed on a grid the size of the repel radius, so 8000 nodes stay cheap.
* Pauses when unseen
The loop stops offscreen and in hidden tabs and picks up at the current second. With reduced motion the plain outline of each digit swaps once a second, with no growth and no fill flash.