4 ms·
Sorry but sand physics is probably doable in a few kb (yes, that's kilobytes) of JS. This is different and simpler but just 140 bytes (not k): https://codepen.
by throwme_123 3y ago
Sorry but sand physics is probably doable in a few kb (yes, that's kilobytes) of JS.
This is different and simpler but just 140 bytes (not k):
https://codepen.io/KilledByAPixel/pen/WNGQWZG https://codepen.io/KilledByAPixel/pen/WNGQWZG
Nothing in that game justifies being more than 1mb (being very generous...) minified as a browser app.
- junon 3y agoOf javascript. Which has a stupidly large runtime that is certainly not just a few kilobytes.
- throwme_123 3y agoOk, was mentioning without the browser runtime obviously. Opionated take, but I believe that the web common runtime should be part of the OS nowadays. Even without this, Tauri is 8Mb.
- shultays 3y agoSorry, I have to make one last snarky comment. You can probably include entire firefox along with that a few kb of js and still make it under whatever that 60mb expands to :)
- krzyk 3y agoSure, let's maybe make an electron app.