// DECLARACIÓN DE VARIABLES ArrayList points; int counter; double step, theta; PVector dummy; //PARTE DE CONFIGURACIÓN void setup(){ frameRate(30);//INSTRUCCIÓN PARA ACELERAR LA EJECUCIÓN size(500,500); background(60); // stroke(50, 100, 45); fill(100, 80, 60); // COLOR DEL CÍRCULO points=new ArrayList(); dummy=new PVector(0,0); counter=0; theta=0; step=Math.PI/40; } //LOOP void draw(){ float actx=0; float acty=0; float h=150; float k=150; float r=50; background (250, 200, 160); //COLOR DE FONDO actx=h; acty=h; //for(float theta=0; theta<2*Math.PI;theta+=step) if(theta<2*Math.PI)//CONTROLAR LAS VUELTAS QUE DA EL DIBUJO {float x=(float)(h+r*Math.cos(theta)); ...