UNPKG

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

18 lines 564 B
/** * @class light * @extends node * The light sensor receives ambient light data where available. * <br/><a href="/examples/sensors">example &raquo;</a> * * <iframe style="border:0;width:900px;height:300px" src="/apps/docs/example#path=$sensors/light.js"></iframe> * <a target="blank" href="/apps/docs/example#path=$sensors/light.js">open example in new tab &raquo;</a> * */ /** * @attribute {Boolean} [supported="false"] * True if ambient light sensor is supported */ /** * @attribute {Number} [luminosity="0"] * Sensed value of ambient light */