import Bilza, { Ui, CompFactory as cf, hsl} from "../../src/bilza.js";

let bil = new Bilza("bilza", 70);

const grid = bil.alwaysOn().grid(10,10,"grey");

const comp = bil.add(0,65).fillRect(hsl(240));
comp.align(1,1);
comp.alignRotate(1,1);
comp.x.set(50);
comp.y.set(50);

comp.width.set(10);
comp.height.set(10);

comp.width.oscillate(1,60,10,80,5);
comp.height.oscillate(1,60,10,80,5);

const ui = new Ui(bil);
bil.draw();