def setup
createCanvas(100, 100, WEBGL)
fill(255)
noStroke
end
def draw
background(255)
t = millis / 220
# add three point lights
pointLight(color('#f00'), P5Vector.fromAngles(t * 1.0, t * 1.3, 100))
pointLight(color('#0f0'), P5Vector.fromAngles(t * 1.1, t * 1.2, 100))
pointLight(color('#00f'), P5Vector.fromAngles(t * 1.2, t * 1.1, 100))
sphere(35)
end