I'm trying to figure out how to port J.Tarbells substrate to another language
When it comes to type declarations, what does this mean in Processing:
SandPainter[] sands;
I think [] means declaring an array, but what the tag "sands" afterwards means, and its single usage in the source code besides the declaration:
...
}
// draw sand painter
sp.render(rx,ry,x,y);
}
}
sands
class SandPainter {....
what is it doing outside the {} ?
When it comes to type declarations, what does this mean in Processing:
SandPainter[] sands;
I think [] means declaring an array, but what the tag "sands" afterwards means, and its single usage in the source code besides the declaration:
...
}
// draw sand painter
sp.render(rx,ry,x,y);
}
}
sands
class SandPainter {....
what is it doing outside the {} ?
1