CindyJS

Applying a function to the webcam data

Every pixel is represented by a value between 0 and 255. Applying a function to the image on the left results in the image in the middle. Applying the inverse function should restore the image. All functions are calculated modulo 256. You can change the function.