PVectorとは

PVector v1=new PVector(width/2, 10);//(x,y)保存? PVector v2=new PVector(10, height/2); void setup() { size(100, 100); colorMode(HSB, 360, 100, 100); background(0, 0, 100); noLoop(); } int r=12; void draw() { fill(0, 100, 100); ellipse(v1.x, v1.y, r, r); fill(90, 100, 100); ellipse(v2.x, v2.y, r, r…