kdb+/k/q web socket server running a tick-based 3D world simulation; each cell lives and acts independently.
Three.js Voxel Painter, created by Stemkoski/mrdoob, connects via web sockets to the kdb+/k/q process in order to render the JSON-encoded simulation data in 3D.
- kdb+/k/q
- Static web server, such as NodeJS with node-static
-
Start the kdb+/k/q web socket server:
- Linux: /path/to/q/l32/q /path/to/backend.q -p 4321
- Windows: /path/to/q/w32/q /path/to/backend.q -p 4321
-
Start the static web server:
- /path/to/node_modules/.bin/static /path/to/ThreeJSUI
-
Browse to http://localhost:8080/Voxel-Painter.html