Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class ImageFX
- {
- void pixelate()
- {
- int x = int(random(imageX));
- int y = int(random(imageY));
- color c = get(x, y);
- fill(c);
- noStroke();
- square(x, y, size);
- }
- void circullate()
- {
- int x = int(random(imageX));
- int y = int(random(imageY));
- color c = get(x, y);
- fill(c);
- noStroke();
- ellipse(x, y, size, size);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement