At the end of the summer Piotr re-implemented the physics solvers and views for Energy2D in WebGL to find out whether this was practical and what performance gains might be possible. We have only implemented a few of the 80 models in Energy2D-WebGL but initial results indicate speedups ranging from 2X to 15X!
The speedups are particularly noticable in the following cases:
Certain models may benefit from using a more fine-grained model time-step.
It might be practical to make a 3D version with the increased performance available running in WebGL.