plane()
Plane - Draws a flat 2D bounded surface in 3D
Last updated
Plane - Draws a flat 2D bounded surface in 3D
Last updated
plane([width], [height], [detailX], [detailY])def setup():
createCanvas(300,300, WEBGL)
def draw():
background(255, 79, 132)
orbitControl()
stroke(176, 235, 51)
fill(112, 88, 255)
strokeWeight(2)
r = frameCount
rotateX(r)
rotateY(-r)
rotateZ(r)
plane(200, 100)