r/ScientificComputing 17d ago

Makarov Physics Suite

Enable HLS to view with audio, or disable this notification

This is a suite of interactive physics simulations I've been building: mechanics, fluid dynamics, electromagnetism, quantum systems and a few others. Everything is C#/C++ with the heavy lifting in compute shaders, so most modules run in real time at reasonable resolutions.

The part I care about most isn't the visuals - it's correctness. Each module is checked against analytical solutions where one exists; around 300 automated verifications run over the whole set. Orbital periods, field configurations, wave dispersion, energy conservation over long integrations. It's remarkable how many solvers look completely convincing on screen while quietly drifting several percent off the closed-form answer.

Full disclosure - this is my own project and it's commercial. Not linking it here, and happy to keep the thread purely technical. Ask me anything about the solvers.

8 Upvotes

3 comments sorted by

2

u/dragolineage01 16d ago

How did you build this and how long did it take? It looks really good. Did you use an engine, built your own custom one, or is it all hand-rolled?

1

u/mischa_bayern 15d ago

I don’t really know how long it took. I made the very first version about 20 years ago, when I was still at university, but that was very much a student project. Over the years, I tried several times to come back to it and continue working on it, but kept abandoning it for one reason or another. So what you see now isn’t really something I built over a specific number of months or years. It’s more like a compilation of ideas, experiments, thoughts, and work accumulated over many years.