in 3D
Neuromancer is a real-time 3D neural network visualizer that runs entirely in your browser. Draw a digit on the canvas and watch a convolutional neural network (CNN) process it live ā activation maps, intermediate tensors, and final predictions are all rendered in an interactive 3D scene.
| Layer | Technology |
|---|---|
| Frontend framework | Svelte 5 with TypeScript |
| 3D rendering | Three.js via Threlte |
| ML inference | ONNX Runtime Web (WASM + SIMD) |
| Build tool | Vite |
| Runtime / package manager | Bun |
| Deployment | Cloudflare Pages |
| Model editing | Python + onnx package |
ArrayBuffers.This dual-thread architecture is reflected in the source layout:
./web āāā onnx/ ā Web Worker: model loading, warm-up, inference ā āāā entrypoint.ts ā āāā runmodel.ts āāā ui/ ā Main thread: Svelte components, 3D scene ā āāā App.svelte ā āāā components/ ā āāā constants/ ā āāā sharedstate/ ā āāā types/ ā āāā utils/ āāā bridge.ts ā Typed message-passing API between threads āāā main.ts ā Entry point: mounts Svelte app + spawns worker
Models have been modified using the ONNX python package ā see the
modeleditor/directory for the scripts.
[!NOTE]
Work in progress ā more models and features are on the way š«”
git clone https://github.com/rwdr0/neuromancer
cd neuromancer
bun install
bun run preview
For active development with hot-module reloading:
bun run dev
Type-check the project:
bun run check
Icons attribution: SVGRepo, Wikimedia Commons