2022年9月5日 星期一

Zi week01

  • 使用Processing:

1.設定視窗大小 size();

2.運用工具列(Tool)中的顏色選擇器(Color Selector)複製顏色(#...)

3.設定填滿顏色fill(); 四邊形rect();
4.靜態 V.S. 動態
5.第二個四邊形會跟著滑鼠移動
6.點選 JAVA > Manage Modes...下載 p5.js Mode.....
7.使用p5.js
   把程式貼到 processing to p5.js (https://pde2js.herokuapp.com/)的左邊,翻譯到右邊
    複製並執行
8.可以畫圖
9.背景顏色及畫筆換顏色 

程式碼:https://github.com/lisabcde/2022interaction

沒有留言:

張貼留言