3 ms·
Yeah, compare that to optimised version for Amiga 1200, what could be done with 14MHz processor, 2MB of ram, watch first minute: https://www.youtube.com/watch?
by yetihehe 5y ago
Yeah, compare that to optimised version for Amiga 1200, what could be done with 14MHz processor, 2MB of ram, watch first minute:
https://www.youtube.com/watch?v=q0QonT359uI https://www.youtube.com/watch?v=q0QonT359uI
This version could of course also be optimised, but don't expect top-notch optimisation from a learning project. It's still pretty nice and it works!
- goodpoint 5y agoIn fairness, demos are exceptionally optimized so I would not use them as a comparison. Yet, we are talking of 30 years of hardware evolution here (The Amiga was from 1992) to get the same performance. This is comically bad. (I'm not blaming the game itself, but the software stack)
- yetihehe 5y agoSoftware stack is not that bad, you can write naive algorithms in all languages. Typically just eliminating some inner loop calculations (like VoxelCanvas.js line 189 should just be a single addition) can give you double digit percent speed boost. I believe there are many more optimisations just waiting to be employed, but like I said, this is a toy project in a "hey look, it works" stage, it's very nice already.