import Bilza, { Ui,hsl} from "../../src/bilza.js";
let bil = new Bilza("bilza", 70);

bil.alwaysOn().grid(10,10,hsl(0,80,20));
bil.alwaysOn().frameCounter(0);
bil.background.color.set(hsl(240,30,10));

//=============================================
const title = bil.add(0,15).text("Arrow Rotate",hsl(120))
    .templ.hdg(1,0).entryAni.topIn().exitAni.fadeOut();

const arrow = bil.add(0,20).arrow(50,50,70,50,hsl(0));
arrow.headFilled.set(false);
arrow.rotation.animate(2,10,0,360 * 3);

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