Dev builds gravity physics demo mixing DOM text and canvas with deviceorientation
jh3yy · x · 2026-10-07
Developer jh3yy shared a playful front-end experiment: using the deviceorientation API to read device tilt and feed gravity into a physics simulation, where DOM text and blocks on a <canvas> roll and collide as you move the phone. A neat reference for anyone exploring sensor-driven physics effects on the web.
More from Fun
- "The Hodge Conjecture Has Fallen": Unverified Claim of AI Math Breakthrough — rand_longevity · 2026-10-07
- AI safety researcher David Krueger on board to record "Give Pause a Chance" parody — DavidSKrueger · 2026-10-07
- Job Seeker Automates Hundreds of Applications, Bypasses Proctored Interviews as Hiring Breaks Down — sytelus · 2026-10-07
- Viral quip: OpenAI convenes mathematicians, Anthropic convenes priests — SuB8u · 2026-10-07
- Dev reports OpenAI account banned right after failed CVP re-verification — dyn___ · 2026-10-07
- threepointone recommends krazam's 'You Are An Expert Software Engineer', likening it to qntm's 'The Difference' — threepointone · 2026-10-07