White Light
/** * White Light * * @author aa_debdeb * @ 2015/08/21 */ void setup(){ size(500, 500); noStroke(); smooth(); background(0); float lightSize = 300; float gradiationWidth = 100; for(int i = 0; i <= 255; i++){ fill(i); float arcWidth = lightSize + gradiationWidth * ((255.0 - i) / 255.0); arc(width / 2, height / 2, arcWidth, arcWidth, 0, 2*PI); } }