three.graphql

July 30, 2016 ยท View on GitHub

Declare a Three.js program with GraphQL

status

fun, wip, diy

why ?

to experiment

how ?

three.graphql utilizes a GraphQL implementation to build and maintain a scene tree. Three.js objects are created when they don't exist and properties are changed when there is a difference A GraphQL query represents the state of a Three.js program at any moment in the current context. Objects are created and destroyed when the query changed. Input properties are merged into existing objects.

features

  • Only BoxGeometry and MeshBasicMaterial have been built into the Mesh sub-selection.

build

$ make

starting editor

$ npm start

License

MIT