本 周 講 師 This Week's Lecturer|
清大科技藝術學士班,創辦載物書院動態設計小組,曾參展白晝之夜,並參與台北燈節分鏡製作、台灣設計展動態影像作品,目前於叁式互動設計實習中。
http://faculty.purchase.edu/joseph.mckay/p5jsconverter.html
P5.js to Processing Converter(What this converts)
int, float, String, Char, PImage, long and boolean, all become var
size becomes createCanvas
void becomes function
int [] arrayname = new int [number] becomes var arrayname = new Array(number);
pushMatrix() and pushStyle become push()
popMatrix and popStyle become pop()
mousePressed becomes mouseIsPressed (but leaves mousePressed() alone)
frameRate becomes frameRate()
在Average Point Tracker 裡面有三個pde,如果有要使用 Kinect 的 x y 軸功能的同學
請把程式碼寫在 "myProcessing" 的function 裡面
mySetup = setup
myDraw = draw 執行狀況是一樣的,不需要去更動Kinect的程式碼唷!