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

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

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

const fc = bil.alwaysOn( ).frameCounter(0);
fc.align(1,1);
fc.goto(0,50,50);
fc.fontSize.set(80);
fc.colorBackground.set(hsl(60,75));

const comp = bil.add(0,25).line(10,10,50,50,hsl(0));
comp.lineWidth.set(5);
    comp.x.animate(1, 5, 10, 90);
    comp.y.animate(6, 10, 10, 90);
    comp.x.animate(11, 15, 90, 10);
    comp.y.animate(16, 20, 90, 10);
//---------------------------------
const ui = new Ui(bil);
bil.draw();