Lately I’ve been building a bunch of small physics-based projects using just HTML, CSS, and vanilla JavaScript.
I made things like a Projectile Motion Simulator, Ohm’s Law Simulator, Gravity Simulator, Sound Wave Visualizer, Magnetic Force Simulator, a Black Hole Simulator, and even a simple chain reaction simulation. Each one focuses on a different concept, but they all use canvas and basic logic to make the behavior interactive.
Honestly, the hardest part wasn’t just writing the code — it was getting everything to feel right. Sometimes the motion looked too fast, too slow, or just unrealistic, so I had to keep adjusting values and testing again and again. There were also small bugs here and there that took time to figure out.
But through all this, I learned a lot about animations, handling objects on canvas, and how physics concepts like force, motion, and velocity actually work when you try to implement them.
Overall, it’s been a really fun process, and I’m planning to keep building more and improving these further.