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

let bil = new Bilza("bilza",70);
bil.background.color.set("#000000");
//-----------------------------------------
const g = bil.alwaysOn( ).grid(10,10,);
const counter = bil.alwaysOn( ).frameCounter("#ff0000");

const circle = bil.add(0,25).circle(10,"red");

circle.width.set(50);
circle.align(1,1);

circle.goto(0,50,50);
circle.startAngle.set(0);
circle.endAngle.set(360);

circle.endAngle.animate(2,10,0,360);
circle.startAngle.animate(12,20,0,360);

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