Skip to content

Commit 01cb98f

Browse files
jonfroehlichclaude
andcommitted
Release 0.5.0: leaf drop + start-assembled for Leaf Fall
Adds two opt-in capabilities to MakeabilityLabLogoLeafFall (the intro behavior is unchanged when neither is used): - dropLeaves(): drops every background grid triangle to the bottom of the screen into a pile (gravity-accurate fall, sideways drift, tumble to a random resting angle) while the logo stays fixed — its colored triangles (pinned grid cells), black M-shadow, translucent L, and outlines do not move. Tunable via groundStaggerMs / groundFallMinMs / groundFallMaxMs / groundPileSpread. - startAssembled option: renders the grid + logo fully assembled from the first frame (skips the fall-in intro) so nothing animates until dropLeaves() is called. Intended for things like a custom 404 page. Supporting change: buildIntroPieces now tags pinned grid pieces with isLogoColor (and carries each piece's source tri) so the drop can keep the colored logo fixed. Additive only — no change to colors, pinning, or motion; ZoomFade and GridFade behavior is unaffected. The Leaf Fall demo gains an 'F' key to trigger the drop. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 973ce52 commit 01cb98f

17 files changed

Lines changed: 578 additions & 15 deletions

dist/makelab.all.iife.js

Lines changed: 113 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/makelab.all.iife.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/makelab.all.iife.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/makelab.all.js

Lines changed: 113 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/makelab.all.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/makelab.all.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)