eye animation

This commit is contained in:
Daniel Kauss Serna 2026-03-12 15:31:02 +01:00
parent e4c9793d9a
commit f3a917bb3a
11 changed files with 2240 additions and 5 deletions

View file

@ -80,7 +80,11 @@ function draw() {
}
fill(255)
drawPoints(points, sizes);
// drawPoints(points, sizes);
for (let i = 0;i < sizes.length;i++) {
noFill();
circle(points[i].pos.x, points[i].pos.y, sizes[i] * 2)
}
let eye1 = points[0].getRel(HALF_PI / 2, 45)
let eye2 = points[0].getRel(-HALF_PI / 2, 45)