there isnt step 2, explain is over
60MB+ for a calculator is not optimal.
"Heavy processing delegated to webworkers?" That just sounds like threads but worse.
but webgl + web workers is good enough these days.
I can't share code sorry, the project got big and I have commercial plans.
But you can tell Gemini 3.1, Opus 4.6 or GPT 5.4 High to generate a demo and they do a decent job most of the times.
that's how I got started, seeing how it was possible to have good game performance with multi threaded workloads on a browser.