Open GKFX opened 10 years ago
The simplest form of this is:
PGraphics pg = createGraphics(100, 100); pg.background(100); //optional image(pg, 0, 0);
To rectify it, you need to type:
PGraphics pg = createGraphics(100, 100); pg.background(#ff0000); //optional pg.loadPixels(); image(pg, 0, 0);
Oddly, the second example didn't look right when background was 0;
The simplest form of this is:
To rectify it, you need to type: