0
它总是告诉我,我混合主动和静态模式。处理错误消息,我应该如何编写drawgrid函数?
final int GAP = 15;
void setup() {
size(300,300);
background(255);
}
void draw() {
}
void mousePressed() {
background(255);
drawGrid(mouseX,mouseY);
}
drawGrid(mouseX,mouseY)
{
line(10,10,20,20);
}