duy-phamduc68 / Car-Physics
PublicTranslating the math of Macro Monster's Car Physics Guide into fully playable physics simulators.
An interactive educational simulator visualizing 1D car physics models with real-time graphs, keyboard or controller input, and adjustable parameters for straight-line motion.
How It Works
You find this fun playground for experimenting with how cars speed up and slow down on a straight road.
You open the program and see a simple side-view road with your car in the middle and markers zooming by.
Press and hold spacebar to gently speed up or tap F to brake, feeling the car respond just like in real life.
Colorful charts update in real-time, showing speed, position, engine push, air drag, and braking power over the last 30 seconds.
Adjust car weight, engine strength, or simulation speed using the side panel, then reset to test new setups.
Through playful driving and tweaking, you intuitively learn how forces make cars accelerate, cruise, and stop safely.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.