3 ms·
Ask HN: Which technologies to use for web-based physics simulator?
Hi all,
I'm about to start building a web app based on some research code that I've been writing. The physics kernel is implemented in C++. I'd like to figure out the best way of making use of the low level libraries without having to rewrite.
Currently, I'm thinking of using Django or Flask, so that I can make use of Python's extensive scientific computing ecosystem and either directly call an executable built using the C++ code, or create bindings to execute the kernel functions from within Python. For the frontend, I was thinking of using three.js to allow the user to interact with the simulator seamlessly.
The app needs to be intuitive nd has to enable the user to quickly play around with simulation settings and directly visualize the impact on various performance metrics.
Is this a reasonable stack to get started with? Should I prefer Django or Flask? Should I consider a completely different backend like Node?
Your feedback would be greatly appreciated!