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

let bil = new Bilza("bilza", 70);
bil.alwaysOn().frameCounter(0);
//--------------------
const grid = bil.add(0,12).grid(10,10,hsl(240));

grid.lineWidthHorizontal.set(5);
grid.lineWidthVertical.set(2);

grid.colorVerticalLines.set(hsl(240));
grid.colorHorizontalLines.set(hsl(120));

//---Animations
grid.showHorizontalLines.goto(2,false);
grid.showVerticalLines.goto(4,false);

grid.showHorizontalLines.goto(6,true);
grid.showVerticalLines.goto(8,true);
//--------------------
const ui = new Ui(bil);
bil.draw();