About Tweakorb & Simulation Design

A fast, dark-mode browser playground where motion, gravity, and collisions become tactile in under one second.

Why Tweakorb Exists

Physics concepts click fastest when you can pull a slider, hear the cadence change, and watch trails curve across a high-contrast dark canvas. Tweakorb removes login walls and cluttered textbook layouts—pairing instant interactive controls with concise mathematical explanations.

Every simulation focuses on one distinct playable mechanic so you can explore real differences in behavior without repetitive variations. Whether you want to push restitution above 1.00 inside a spinning sphere or test 10:1 mass transfers in zero gravity, each page loads quickly and responds smoothly at 60 FPS.

How Each Simulation Works

Sub-Stepped Physics Solvers

Instead of taking one coarse step per video frame—which causes fast spheres to pass through curved walls or spinning paddles—each simulation splits every frame into multiple sub-steps. Combined with exact circle-to-circle and circle-to-segment normal projections, impacts remain crisp even at high speeds.

Smooth Performance on Desktop & Mobile

Tweakorb simulations run directly inside your browser with bounded object counts and touch-friendly sliders. Animation loops pause automatically whenever a canvas scrolls out of view or sits in a background tab, preserving battery life across laptops and phones.

Built-In Canvas Graphics & Web Audio Chimes

Every grid line, particle trail, and bounce chime is synthesized in real time by browser code and the Web Audio API so audio pitch and loudness respond cleanly to impact velocity and sphere size.

Explore Live Simulations

Ready to experiment? Browse our Ball Physics hub or jump directly into any of our eight live simulations below:

Questions, physics bug reports, or lab requests can be sent anytime to contact@tweakorb.com or via our Contact page.