import Bilza, { Ui, hsl,getRandom} from "../../src/bilza.js";
let bil = new Bilza("bilza", 70);
bil.alwaysOn().frameCounter(0);
//--------------------
const grid = bil.add(0,15).grid(10,10,10,10,hsl(240));
grid.lineWidthHorizontal.set(1);
grid.lineWidthVertical.set(1);
grid.colorVerticalLines.set(hsl(240));
grid.colorHorizontalLines.set(hsl(120));
//---Animations
grid.lineWidthHorizontal.animate(1,3,1,20);
grid.lineWidthHorizontal.animate(4,6,20,1);
grid.lineWidthVertical.animate(7,9,1,20);
grid.lineWidthVertical.animate(10,12,20,1);
//--------------------
const ui = new Ui(bil);
bil.draw();