I Built a Physics Simulation Engine Because My Sister's Students Couldn't Visualize Physics
I'm a software engineer, and I love physics.
A while ago, my sister, who teaches Class 8 and 9, told me that some of her students were struggling to understand physics concepts.
They could read the textbook. They could look at equations. But understanding what was actually happening was a different story.
That conversation stayed with me.
I started thinking: what if students could experiment with physics instead of only reading about it?
What if they could change a parameter, move an object, adjust a spring, or build a scenario themselves and immediately see what happens?
That's how SolitonPlay started.
It started as a small project
Initially, I just wanted to build something my sister could use with her students.
I simply wanted to make physics easier to explore.
But I love physics, and once I started building, I kept finding more things I wanted to simulate. One idea led to another, and the project gradually grew beyond its original purpose.
What began as a small educational experiment became a physics simulation playground and an engine that developers can use through Python and JavaScript.
Why simulations?
I think there's a difference between knowing an equation and understanding the phenomenon behind it.
You can teach a student the formula for a spring's restoring force. But what happens when you change the spring constant? What happens when two objects interact? What if you build a scenario that wasn't in the textbook?
A simulation gives students a way to investigate those questions themselves.
They can experiment, make predictions, get unexpected results, and try again.
The goal is to give learners another way to develop intuition.
The interesting part: letting people experiment
One of my favorite things is seeing students try things I never explicitly designed for them to try.
They don't always follow predefined examples. Sometimes they build unusual scenarios and produce behavior that surprises them.
That is part of what makes a physics playground interesting: the user isn't limited to following instructions. They can explore.
It also creates an engineering challenge. When a result looks unexpected, I need to investigate whether it's physically correct, a limitation of the model, or a numerical issue.
That distinction matters. A simulation should not merely look convincing; its behavior should be grounded in the physics it's trying to represent.
Building it as an engineer
The project has also become an opportunity to explore the engineering behind physics simulations.
I wanted the underlying engine to be usable beyond the browser, so I made Python and JavaScript packages available as well.
That opens up different possibilities: students can experiment visually, while developers and educators can integrate simulations into their own programs and workflows.
It's been a learning experience in both physics and software engineering. Getting something to run is one challenge; making it reusable, understandable, and trustworthy is another.
Why I'm keeping it free
I want students and teachers to be able to use the project without having to think about whether they can afford it.
I'm building it alongside my regular engineering work, so progress won't always be fast. But I'd rather keep improving it sustainably than turn it into something I no longer enjoy building.
For me, the project's value isn't measured only by downloads or stars.
It's measured by whether someone can use it to understand something they previously found difficult.
I'd love your feedback
SolitonPlay is available here:
- Project and documentation: https://solitonplay.com
If you're a physics teacher, student, developer, or someone who enjoys scientific computing, I'd love to hear from you.
What physics concepts are difficult to understand through traditional explanations? What would you want to experiment with in a simulation playground? And what would make a tool like this genuinely useful in a classroom?
I'm still building, learning, and figuring out what it can become.
The original motivation remains the same: I love physics, and I want to help more people understand it.
If even one student eventually tells me, "I finally understand it now," I'll consider that time well spent.

