<div dir="ltr">Here is the simplest, non-interactive BooleanTrigger example I could think of to test an implementation:<div><br></div><div><a href="https://glitch.com/edit/#!/x3dom-booleantrigger?path=index.html:22:1">https://glitch.com/edit/#!/x3dom-booleantrigger?path=index.html:22:1</a></div><div><br></div><div><a href="https://x3dom-booleantrigger.glitch.me/">https://x3dom-booleantrigger.glitch.me/</a></div><div><br></div><div>and the x3dom implementation which is tested:</div><div><br></div><div><a href="https://glitch.com/edit/#!/x3dom-booleantrigger?path=BooleanTrigger.js:32:57">https://glitch.com/edit/#!/x3dom-booleantrigger?path=BooleanTrigger.js:32:57</a></div><div><br></div><div>The perhaps most interesting part of the code is the commented this.addField call for the triggerTrue field. While the field could be added, I believe it is not necessary since it is output only and could not be accessed anyways. However, x3dom should probably use actual node fields for generating output events.</div><div><br></div><div>Another way to produce a blinking light is by using BooleanSequencer which would reduce nodes and routes. Admittedly, the example is somewhat contrived. Most (all?) potential time event sources for the trigger also produce a boolean event in the first place. So where would BooleanTrigger be typically used ?</div><div><br></div><div>-Andreas<br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Andreas Plesch<br>Waltham, MA 02453</div></div></div>
</div></div>