[go: nahoru, domu]

Skip to content
/ 3dsim Public

3D world simulation using kdb+/k/q web socket server and three.js

Notifications You must be signed in to change notification settings

srpeck/3dsim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3Dsim

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.

Dependencies

  • kdb+/k/q
  • Static web server, such as NodeJS with node-static

To run

  1. 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
  2. Start the static web server:

    • /path/to/node_modules/.bin/static /path/to/ThreeJSUI
  3. Browse to http://localhost:8080/Voxel-Painter.html

About

3D world simulation using kdb+/k/q web socket server and three.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published