Skip to content

jwerle/three.graphql

Repository files navigation

three.graphql

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

About

Declare a Three.js program with GraphQL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published