0 reply
0 recast
0 reaction
p5 cube
function setup(){createCanvas(innerWidth,innerHeight,WEBGL)}function draw(){background(20),ambientLight(100),directionalLight(255,255,255,0,1,-1);let $=.01*frameCount;rotateX($),rotateY($),noStroke(),specularMaterial(25),box(Math.min(innerWidth,innerHeight)/4)} 0 reply
0 recast
0 reaction