def setup
createCanvas(100, 100, WEBGL)
ortho(-width / 2, width / 2, height / 2, -height / 2, 0, 500)
end
def draw
background(200)
# orbitControl
normalMaterial
rotateX(0.2)
rotateY(-0.2)
push do
translate(-15, 0, sin(frameCount / 30) * 65)
box(30)
end
push do
translate(15, 0, sin(frameCount / 30 + PI) * 65)
box(30)
end
end