Welcome,
my problem is caused by this code:
Running this code doesn't have any noticeable impact on processor's usage / RAM.
Is there anything I do wrong in above code?
I use Ubuntu Karmic Koala.
my problem is caused by this code:
- PGraphics canvas;
void setup() {
size(800,600);
canvas = createGraphics(width, height, P2D);
}
void draw() {
canvas.beginDraw();
background(235);
canvas.endDraw();
image(canvas, 0, 0);
}
Running this code doesn't have any noticeable impact on processor's usage / RAM.
Is there anything I do wrong in above code?
I use Ubuntu Karmic Koala.
1