使用 WebGL2 打造超寫實沙子模擬器
Hyper-realistic sand with WebGL2
重點導讀
這款以 WebGL2 和 JavaScript 打造的超寫實沙子模擬器,可在手機、平板與桌面瀏覽器中操作沙粒。
- 互動方式:用手指推動沙粒、傾斜手機讓沙粒滑動,或搖晃裝置使沙粒散開;也可倒沙、平放、傾斜與繪畫。
AI 伴隨問答
針對這篇報導有疑問?可直接點選快捷問題或向 AI 追問背景脈絡與技術細節:
正文
Hyper-realistic sand simulator
Built with WebGL2 and JavaScript. Push grains with your finger, tilt your phone to make them slide, or shake to scatter them. Play in your browser on phones, tablets and desktops.
Pour
Lay it flat · Tilt · Shake · Draw
來源: Hacker News (official RSS) (av.github.io)
開啟原文