Skip to content

Latest commit

 

History

History
39 lines (20 loc) · 1.26 KB

README.md

File metadata and controls

39 lines (20 loc) · 1.26 KB

Highbrow

HTM 3D Translation Library

Currently under development. See design at DESIGN for motivation and notes. For more up-to-date architecture, build docs below.

WebGL Platfom

You can find the WebGL sources in the platform/webgl directory.

Install WebGL dependencies

npm install .

Test

npm test

Build docs

./node_modules/.bin/esdoc
open docs/index.html

Build Bundle

npm run build

Installs into bin/highbrow-{X.Y.Z}.bundle.js.

Examples

There is a simple WEBGL example in examples/webgl. This example interfaces with cell-viz, an existing platform I've used for HTM cell rendering in THREE.JS. For details, see HighbrowLayerVisualization.

It currently only models one layer and is still missing key features, but if you open examples/webgl/index.html in a browser and hold s to strafe backward you can see the animated cells with global indices and XYZ positions rendered upon them.

Controls

Use wasd to strafe and ←↑→↓ to rotate the camera. Hold shift to increase movement and rotation speed.