dreemgl
Version:
DreemGL is an open-source multi-screen prototyping framework for mediated environments, with a visual editor and shader styling for webGL and DALi runtimes written in JavaScript. As a toolkit for gpu-accelerated multiscreen development, DreemGL includes
28 lines • 743 B
JavaScript
/**
* @class morph3d
* @extends view
* Morphing 3d geometry class.
* Target geometries are specified as children.
* Both target geometries should have the same vertex attribues and vertex count.
*
* <iframe style="border:0;width:900px;height:300px" src="/apps/docs/example#path=$3d/morph3d.js"></iframe>
* <a target="blank" href="/apps/docs/example#path=$3d/morph3d.js">open example in new tab »</a>
*
*/
/**
* @attribute {float32} [morphweight="0"]
* Morph weight - determines the interpolation between target shapes
*/
/**
* @attribute {vec4} [bgcolor="1,1,1,1"]
* Shape color
*/
/**
* @attribute {float32} [opacity="1"]
* Shape opacity
*/
/**
* @method bgcolorfn
* Overridable bgcolor function
* @param pos
*/