tut­o­r­i­a­l­1­0

by chris Huang
  • Show Sketch
/* @pjs preload="/uploads/1/kitty.jpg"; */
/** @peep sketchcode */
size(200, 200);
PImage img = loadImage("/uploads/1/kitty.jpg");
tint(5, 153, 124);  // Tint blue
image(img, 0, 0);
tint(133, 55, 150);  // Disable tint
colorMode(HSB, 360, 100, 100);
image(img, 100, 0);
for (int i = 0; i <= 120; i += 30) {
  tint(i, 100, 100);
  image(img, i, 0);
}

Comments

Nobody has said anything yet.