Creative Coding 習作 2024/5/26 - 3D
code:ruby
def setup
createCanvas(200, 200, WEBGL)
background(208, 170, 208)
orbitControl
end
def draw
directionalLight(255, 220, 255, 1, 0, -1)
noStroke
fill(113, 70, 132)
sphere(70)
end
https://scrapbox.io/files/6652a5edc2d282001dfee85d.png