RobinKa / maxwell-simulation

Interactive web-based simulator of electromagnetic waves
https://cemsim.com
MIT License
102 stars 11 forks source link

Use regl instead of GPU.js #12

Closed RobinKa closed 4 years ago

RobinKa commented 4 years ago

GPU.js had limitations that made WebGL more attractive (eg. ability to use half-precision floats, specifying exact types in shaders et c.). Here we replace it with regl which is a wrapper around WebGL that makes it more sane to use while still exposing all its capabilities. This PR also refactors a lot of the frontend.