1 <ibex xmlns:ui="ibex://ui">
2 <ui:box minwidth="1300" minheight="1300" fill="blue" cols="1" axis="x">
4 // make this box a top-level window
5 ibex.ui.frame = thisbox;
7 // this thread makes things spin.
9 ibex.thread = function(f) {
11 $lam.transform = "rotate(" + (-2 * rot) + ")";
17 // an example of texturing a box; this also demonstrates a
18 // box that shrinks to the size of the path drawn inside it.
20 <ui:box id="lam" width="300" height="300" fill="green">
21 <mux axis="z" width="100" height="25" transform="translate(50,50) rotate(90)" fill="red"/>
22 <mux axis="z" width="200" height="25" transform="translate(-20,200)"/>