實驗室Lab

開新視窗 ↗在頁面內時,麥克風/攝影機/手機感測可能被瀏覽器擋下;開新視窗最完整。

← 全部創作 · 2020-06-04 · daily

蕨類陷阱

Leaf Trap

★ 精選

詩

蕨類會跟著天氣與心情伸縮,然後把你層層綑綁,再也掙脫不了 The fern will catch you and you can never escape from the arms of it.

當時的文字

測試畫布操作跟繪製葉子,綠色中間加上橘紅色跳色效果還蠻不賴的 蕨類會跟著天氣與心情伸縮,然後把你層層綑綁,再也掙脫不了 Testing using loop canvas translate to draw the leaves. The fern will catch you and you can never escape from the arms of it.

💬 跟這件講話(需登入)

圖鑑 Field guide

規格 Specs

引擎Engine
p5.js 1.0.0
模式Mode
p5.js 模式 p5js
畫布Canvas
800 × 800
程式檔Files
sketch.js
授權License
CC BY-NC-SA 3.0 ↗
原址Original
openprocessing.org/sketch/912547 ↗
編號ID
200604-leaf-trap

來歷 Timeline

  1. OpenProcessing發表在 OpenProcessing,#912547 ↗
  2. Instagram發在 IG @bosscodingplease ↗

延伸閱讀 Further reading

參數 ?key=value

網址後面的 ?… 會原樣傳進作品(上方畫面與「開新視窗」)。作品用 lab.params 讀取。

這件沒有宣告自己的參數。

範例

共通保留字

seed
亂數種子:lab.random() 與 p5 randomSeed/noiseSeed 以此為準 例 ?seed=3
kiosk
展場模式:隱藏 lab 的浮層與 HUD 例 ?kiosk=1
room
房間名稱(relay 用) 例 ?room=a1
relay
覆蓋 relay 連線位置 例 ?relay=wss://relay.example.com/relay
capture
截圖模式:關 HUD、lab.capturing=true 例 ?capture=1
debug
在 console 印出參數 例 ?debug=1

版本 1

另有 1 次系統整理未列出

  1. e944d58import: 200604-leaf-trap (op 912547)