VIEW So far, I have it so her eyes blink when you click, and I also plan to have an interactive element where her wand is. I am going to add photos to the background and put a transparent color over them. function setup() { createCanvas(1280, 720); } function draw() { background(160,140,220,200); //hair noStroke(); fill(90,43,105); rect(526,140,227); //head and legs fill(230,213,195); ellipse(640,190,175); rect(590,550,25,40); rect(665,550,25,40); //face if (mouseIsPressed){ fill(0,0); triangle(600,180,580,180,580,200); triangle(680,180,700,180,700,200); } else{ fill(0); triangle(600,180,580,180,580,200); triangle(680,180,700,180,700,200); } fill(255); circle(600,200,40); circle(680,200,40); fill(81,148,133); circle(600,200,25); circle(680,200,25); fill(230,213,195); circle(600,235,50); circle(680,235,50); if (mouseIsPressed){ fill(0); triangle(600,220,580,220,580,200); triangle(680,220,7
Comments
Post a Comment