Tuesday, December 13, 2016

WebGL and fluid particles dynamics (gitHub, chrome extension)



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.

https://www.chromeexperiments.com/experiment/fluid-particles

http://david.li/
https://github.com/dli

Fourier Image Filtering

Any 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)
http://david.li/filtering/



http://david.li/filtering/

No comments:

Post a Comment