Skip to content
Vorzen· @0xVorzen · X·· 18 h agoAI score31

Claude Code Generates Trampoline 3D Physics Simulation

Editorial summary

A user used Claude Code to generate an 18-second trampoline 3D physics animation based on Remotion and three.js, simulating bounces by entering only a friend's mass. The simulation sets trampoline bed rebound at 70% and the friend loses rigidity upon reaching the bottom, demonstrating a 45 kg user bounced by a 100 kg friend to 2.2 meters high, landing at 28 km/h, compared with a lighter friend bouncing only 1 meter. The code cross-verifies height using energy conservation and step-by-step simulation, and includes half-speed playback and parameter re-runs.

Source: Vorzen · x.com