eye animation
This commit is contained in:
parent
e4c9793d9a
commit
f3a917bb3a
11 changed files with 2240 additions and 5 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue