Flow Field: particle trajectories and vector perturbations
Drive particle trajectories with a 2D velocity field and a draggable vortex, and cache streamline integration results in a p5.js offscreen buffer.
Drive particle trajectories with a 2D velocity field and a draggable vortex, and cache streamline integration results in a p5.js offscreen buffer.
Trace refraction and total internal reflection for 2,121 rays using 2D geometric optics and Cauchy dispersion, then submit them in a single draw call through custom shaders in p5.js WebGL mode.