https://github.com/jwerle/three.graphql
Declare a Three.js program with GraphQL
https://github.com/jwerle/three.graphql
Last synced: 9 months ago
JSON representation
Declare a Three.js program with GraphQL
- Host: GitHub
- URL: https://github.com/jwerle/three.graphql
- Owner: jwerle
- License: mit
- Created: 2016-07-30T05:15:36.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-01T14:33:40.000Z (almost 10 years ago)
- Last Synced: 2025-04-22T21:49:38.476Z (about 1 year ago)
- Language: JavaScript
- Homepage: https://jwerle.github.io/three.graphql
- Size: 10.4 MB
- Stars: 48
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
three.graphql
=============
Declare a Three.js program with GraphQL
## status
fun, wip, diy
## why ?
to experiment
## how ?
`three.graphql` utilizes a
[GraphQL](https://github.com/graphql/graphiql) implementation to build and maintain
a scene tree. [Three.js](https://github.com/mrdoob/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
```sh
$ make
```
## starting editor
```sh
$ npm start
```
## License
MIT