+ 1
P5.js help please
Hello, could anyone provide me a code for p5.js that make an ellipse follow a square path pattern ?
1 Respuesta
+ 4
function draw(){
rect(rcX, rcY, rcWidth, rcHeight);
ellipse(rcX, rcY, rcWidth, rcHeight);
}
or...
path=rcSize/2;
function draw(){
rect(rcX, rcY, rcSize, rcSize, path--);
}
I don't know what you need😅