r/ControlTheory • • Feb 11 '26

Other 6 months ago I posted my Python simulation framework here - you asked for a GUI. I built one. It runs in your browser.

Some of you might remember my post about PathSim a while back (https://www.reddit.com/r/ControlTheory/comments/1konllr/i_built_a_python_framework_for_simulating/). A lot of you asked about a GUI, so I spent the last months building one.

PathView is a visual node editor for PathSim that runs entirely in your browser - no installation, no server, no account. Just open it and start building systems.

Try it: https://view.pathsim.org

What it does:

- Drag-and-drop block diagram editor (sources, integrators, transfer functions, scopes, etc.)

- Connect blocks with Simulink-style orthogonal wire routing

- Hit Ctrl+Enter and the simulation runs in real-time with live streaming plots

- Hierarchical subsystems - drill in/out like nested folders

- Export your model to a standalone Python script at any time

- Everything runs client-side via Pyodide (Python compiled to WebAssembly)

It's free, open source (MIT), and the full code is on GitHub: https://github.com/pathsim/pathview

Currently I am working with some collaborators on developing domain specific component model toolboxes for chemical engineering, and vehicle dynamics. And a c-code generator is also in the works for the embedded people.

Happy to answer any questions!

209 Upvotes

19 comments sorted by

•

u/jayjayEF2000 Feb 11 '26

Nice choice with Svelte/SvelteKit!

•

u/Aggravating_Mango648 Feb 11 '26

This looks awesome, great work!

•

u/Sheenzhou Feb 11 '26

appreciated! btw whats thr background muaic called?

•

u/8bitjam Feb 16 '26

I have recently translated SLICOT to C11 and a Python binding this is something I was planning to try next along with C code generator. My package is available in PyPi ‘ctrlsys’

•

u/Educational-Writer90 Feb 13 '26

What is the next step after generating the script code for the microcontroller?

→ More replies (0)

•

u/petitponeyrose Feb 11 '26

Hekko, I don't have a use for it, but I love your work :). thanks !

•

u/hellgheast Feb 16 '26

Great work ! Is there a way to contribute or help ?

→ More replies (0)

•

u/Average_HOI4_Enjoyer Feb 22 '26

Really nice! I was following the development of PathSim since your first post. Thank you!

Is it possible to integrate something external to the library in a simple way? I'm thinking on controllers like MPCs created with ACADOS, or just CasADi code, something like that.

Again, thank you for this fantastic library!

→ More replies (0)

•

u/CrAIzy_engineer Feb 11 '26

I was searching for an alternative to simulink, I will give it a try

→ More replies (0)

•

u/HB_Stratos Feb 11 '26

Hey, how close are we to finally having an open source alternative to Simulink? This looks really promising at first glance!

→ More replies (0)