Tidy code → command+shift+F
randomSeed() 是什麽意思? 可以讓random flashing變規律?
function 裡面的translate(x, 10) 是怎麼操作的?
randomSeed → When need to lock in a randomly generated result for exact reproduction, using randomSeed ensures that the sequence of random numbers remains identical every time it runs.

https://editor.p5js.org/kc6538/full/qtJcSWDpD
map() & constrain()
map() re-scales input values from one range to another, while constrain() limits values within a strict range. Together, they enhance color contrast and prevent values from overflowing.colorMode(HSB)
let circle= {x:0, y:100, diameter:50}
ellipse(circle.x, circle.y, circle.diameter, circle.diameter);