News for hackers. Stuff that matters.
Re:WASM 3.0 Completed by atroche on Wednesday September 17, 2025 @07:53PM (#45282970)
This is one of the best WASM-based web UIs I've seen! What was the hardest part of getting your desktop build working via Emscripten?
Re:WASM 3.0 Completed by phkahler on Wednesday September 17, 2025 @11:17PM (#45284854)
I didn't do the WASM port. It was started by our previous lead whitequark, and some more work done by a few others. It's not quite complete, but you can do some 3d modeling. Just might not be able to save...
Re:WASM 3.0 Completed by threeducks on Thursday September 18, 2025 @03:38AM (#45286717)
> Just might not be able to save...

Oops, I did not read that before going ham in the editor. It seems that the files are stored inside the emscripten file system, so they are not lost. I could download my exported 'test.stl' with the following JavaScript code:

    var data = FS.readFile('test.stl');
    var blob = new Blob([data], { type: 'application/octet-stream' });
    var a = document.createElement('a');
    a.href = URL.createObjectURL(blob);
    a.download = 'test.stl';
    a.click();
Re:WASM 3.0 Completed by phkahler on Thursday September 18, 2025 @06:33AM (#45287946)
PRs are welcome. ;-)
Re:WASM 3.0 Completed by phkahler on Thursday September 18, 2025 @06:31AM (#45287928)
One thing worth noting, everything but the menus and popups is drawn with openGL. The text window uses GNU unifont which is a bitmap font. All the interactions are handled the same way as the desktop versions.