case 072022
the build
sheet 2 of 2filters as arithmetic
Every filter is a formula over each pixel's red, green and blue. Grayscale weighs the channels by BT.709 luma instead of averaging them. Two are my own: swap rotates the channels, and reflect inverts them and rotates them.
never edit the original
The original pixels are copied once. Each slider change starts over from that copy and runs every active filter, so edits never pile up on one another.
made with javascript, canvas 2d