--- /dev/null
+<ibex xmlns:ui="ibex://ui">
+ <ui:box width="300" height="300" fill="red" axis="z">
+ ibex.ui.frame = thisbox;
+
+ <ui:box fill="blue" width="50" height="50" x="100" y="100" id="blue" axis="z"/>
+
+ // this thread makes things spin.
+ var rot = 0;
+ ibex.thread = function(f) { while(true) {
+ ibex.thread.sleep(100);
+ $blue.transform = "rotate(" + rot + ")";
+ $blue.x = 100;
+ $blue.y = 100;
+ rot += 5;
+ } }
+ </ui:box>
+</ibex>