2017年12月7日 星期四

LLF的計圖學習筆記_Week_13

色彩系統        Processing

colorMode (RGB/ HSB/ YMC, 255);

stroke(X, Y, Z); 改畫筆顏色
point(X, Y);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
等色display      GLUT

void glutTimerFunc(int x, void timer, int value);
經過x秒後,執行timer。
void timer(int t)
{
    glutTimerFunc(int, void timer, int);
    無限循環↑  每次執行時就再註冊一個Timer
}

沒有留言:

張貼留言