import processing.opengl.*; float col = random(0,230); void setup() { size(700,500,OPENGL); background(255); bgGradient(); } void draw() { float animRadiusY=15+15*abs(sin(frameCount*0.5)); drawGradientDisc(mouseX, mouseY, 15, animRadiusY,color(255,192,0), color(255,255,255,50)); star(); } void drawGradientDisc(float x,float y, float radiusX, float radiusY, int innerCol, int outerCol) { noStroke(); beginShape(TRIANGLE_STRIP); for(float theta=0; theta