Letter Pile
2D rigid-body simulation of letter disks with circle collisions and pointer push.
2D rigid-body simulation of letter disks with circle collisions and pointer push.
2D rigid body simulation of letter disks with multi-pass circle collisions, aerodynamic drag, pointer push forces, and gyroscope roll gravity on touch devices.
| Prop | Type | Default | Description |
|---|---|---|---|
| count | number | 54 | Total number of simulated physics discs. |
| size | number | 5.2 | Disk radius scalar relative to viewport min dimension. |
| grav | number | 1 | Gravity acceleration coefficient. |
| bounce | number | 0.45 | Restitution elasticity factor on collision. |
| drag | number | 0.15 | Aerodynamic linear drag damping velocity. |
| push | number | 1.4 | Cursor repulsion force magnitude. |
| gyro | number | 1 | Device tilt gravity steering gain. |
| swing | number | 0.35 | Idle harmonic gravity oscillation angle. |
| c1 | string | "#ff4a2b" | Primary disk palette color. |
| c2 | string | "#2d4bff" | Secondary disk palette color. |
| c3 | string | "#f4f1e8" | Tertiary disk palette color. |
| bg | string | "#101014" | Scene background fill. |
| ink | string | "#101014" | Letter color for high-luminance disks. |
| paused | boolean | false | Pause animation loop manually. |