Real-time particle-based 3D fluid simulation and rendering in WebGL.Fluid simulation is a GPU implementation of the PIC/FLIP method (with various additions). Particle rendering uses spherical ambient occlusion volumes.
Fourier Image FilteringAny image can be decomposed into the sum of many sinusoids at many different frequencies.
At the top is the image's frequency spectrum which shows the amplitudes of these sinusoids.
Below is the frequency response curve which scales the sinusoid amplitudes. Edit it to filter the image.
example: Gaussian Blur (only low frequencies), Sharpen (increase gain for high frequencies), Edge Detection (gain=0 @low frequencies and gain max @high frequencies)