# 用程式模擬方格顯示 使用 [p5.js](https://p5js.org/) 編輯程式 - [Demo0:原始雛型](https://editor.p5js.org/shinjia168/sketches/iVnDt5McH) - 問題:[讓開始的畫面是隨機顏色的顯示](https://editor.p5js.org/shinjia168/sketches/Oi1LUjYkQ) - 問題:[隨機變換顏色](https://editor.p5js.org/shinjia168/sketches/GiM1xIdE2) - [Demo1:球水平移動](https://editor.p5js.org/shinjia168/sketches/Pry_batXV) - 問題:[如果讓球能夠反彈](https://editor.p5js.org/shinjia168/sketches/Gb-fFwC40) - 問題:[拖尾巴,仿聖誕燈](https://editor.p5js.org/shinjia168/sketches/fCRgroUg7) - [Demo2:球的碰撞](https://editor.p5js.org/shinjia168/sketches/JvWlCI1jC) - 問題:[讓球變大顆](https://editor.p5js.org/shinjia168/sketches/ep4mAw8zJ) - 問題:[要顯示更多顆球](https://editor.p5js.org/shinjia168/sketches/kMMPA2wC8)
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up