4 ms·
It looks cool but a web demo + a bit more explanation could help.
by anewhnaccount2 5y ago
It looks cool but a web demo + a bit more explanation could help.
- teaearlgraycold 5y agoThanks - it uses NodeJS so a web demo isn't possible without some advanced hackery (Edit: or minor code changes). But a video might be nice. Edit: Here's a screen recording! https://youtu.be/4bbClPPAkQI https://youtu.be/4bbClPPAkQI
- city41 5y agoThis is really cool. I took a quick peak at the code and nothing jumped out as too node specific. Curious why you think a web version would be tricky?
- teaearlgraycold 5y ago* It uses the fs module to hot reload load the shader file. That is something that can be patched over for web execution. * It uses the readline module to write characters to the terminal. That can also be patched. I could patch it but the intended use case is in the terminal so I'm not super motivated to make that change myself. Feel free to fork it, though.