#猜下面兩段扣在寫小機器人的哪個部分
push()
fill(colors[3])
rotate(0.3 + sin(frameCount/30)/5)
rect(-90, -100, 150, 30)
pop()
push()
fill(colors[4])
rotate(-0.25 + sin(frameCount/50)/5)
rect(100, -100, 150, 30)
pop()
--
欲知詳情,請見文章;欲知如何用 p5.js 讓小機器人動起來,就來看看這邊共筆吧!
👉 看文章:https://bit.ly/3cQVUq2
👉 p5.js 免費入門資源總整:https://bit.ly/2SAwu9B
👉 Hahow 好學校 線上課程:https://bit.ly/35yvTrD
Search