Demo of Code Being Embedded
Hello, this is my code for that thing:
void setup() {
loadShoeImage();
int w = 256;
int h = 256;
if ((shoeImage != null) && (shoeImage.width > 0)) {
bShoeImageLoaded = true;
w = shoeImage.width;
h = shoeImage.height;
binarizedShoeImage = createImage (w, h, RGB);
}
size (w, h);
noLoop();
firstPixel = new Point2d(0, 0);
chain = new ArrayList();
process();
}
Hope you like it!