Video Four Tint

p5js
video
sketch
Published

November 5, 2018

Tint modifies the color of future image operations.

I was surprised that tint impacts the future image calls, while filter modifies the existing canvas. Compare with Video Filters.

    noTint()
    image(img, 0, 0, video_w, video_h);

    tint(0, 0, 255); // Blue
    image(img, video_w, 0, video_w, video_h);

    tint(255, 0, 0); // Red
    image(img, 0, video_h, video_w, video_h);

    tint(0, 255, 0); // Green
    image(img, video_w, video_h, video_w, video_h);