201711-09 献给Processing爱好者的教程【9】—响应【卡卡】 如果需要连续运行,就需要在draw(){}中写下代码 void draw() { // 控制台显示帧数 println("I'm drawing"); println(frameCount); } 在draw()函数中的代码会一直运行下去,直到你关闭窗口,每一.... Read More >
201711-02 献给Processing爱好者的教程【8】—变量【卡卡】 变量 变量是在内存中存储一个值,这样程序可以多次用到他。 1、重用相同的值 相同的Y轴坐标,相同的直径 size(480, 120); int y = 60; int d = 80; ellipse(75, y, d, d); // Left ellip.... Read More >