利用GraphQL声明一个Three.js程序

网友投稿 760 2022-10-17

利用GraphQL声明一个Three.js程序

利用GraphQL声明一个Three.js程序

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

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:shell cpu超90 php-fpm 或nginx重启
下一篇:阿里三面:MQ 消息丢失、重复、积压问题,如何解决?
相关文章

 发表评论

暂时没有评论,来抢沙发吧~