Hacker News new | ask | show | jobs
by bkircher 2984 days ago
Indeed. Also no three.js [1]. Only some d3 [2] bits.

[1] https://threejs.org/ [2] https://github.com/d3/d3-scale

1 comments

regl (http://regl.party/) instead of three.js. For such relatively static scenes (the 3D model doesn't change, only the vertex colors), regl is simpler IMO. You have more control over when stuff (buffers, shaders) are allocated. And no scene graph means you don't have to traverse it during each render (to update the world matrix etc).