The example you linked performs very well because it runs the Gray-Scott algorithm on the GPU, rather than the CPU. It uses a feature of WebGL where it renders to a texture. Elm doesn’t expose an API to do this so I don’t think it can be written with pure Elm at this point.
Sidney
2
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| WebGL and runtime performance in a functional paradigm | 12 | 3452 | January 23, 2019 | |
| Learning WebGL with Elm! | 2 | 233 | November 28, 2025 | |
| Render Quake 3 Arena maps with Elm and WebGL! | 7 | 4731 | July 9, 2019 | |
| 3D Physics Engine Pt. 2 | 3 | 2786 | September 14, 2018 | |
| Need Help With Performance: Dynamic Particles | 10 | 1733 | July 31, 2018 |