Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Wow that's really cool! Any performance challenges?


Thank you! And yes, 3D apps are already full of performance challenges, it's even more so when made in javascript. I probably spend 30% of my time doing optimizations (while trying to avoid premature optimizations!).

The biggest win really is to avoid allocating memory when the scene plays. So as you set up your scene, I have all sorts of tricks to pre-evaluate what the scene will need, and allocate that once only. That's probably what made the biggest difference to keep a smooth FPS. But that's only on the javascript side, there is more pitfalls when generating shaders.

And for the CAD part, it's powered by opencascade/wasm, so that's reasonably fast for now. But I'm sure this will get battle tested soon, with larger models and nodes setups.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: