Compile nisps-core C++ MLP to WASM (36KB) and use it as the ML engine in the playground, replacing the JavaScript port for inference, training, and weight manipulation. - Add extern "C" WASM bindings with spread-aware drawWeights/moveWeights - WasmIML class is a drop-in replacement for the JS IML - Inference runs on main thread via WASM (fast, synchronous) - Training runs in a Web Worker with its own WASM instance (non-blocking) - Interactive training (thumbs-up, train button) no longer freezes UI/audio - Preset loading and state restore still use sync training |
||
|---|---|---|
| .. | ||
| dataset.js | ||
| iml.js | ||
| layer.js | ||
| mlp.js | ||
| nisps-wasm-worker.js | ||
| nisps-wasm.js | ||
| node.js | ||