This is simulation of liquid motion around object using potential flow method.
The velocity field is represented as external velocity plus influence from object that considered as electric field in some electrostatic task. potential flow means Laplace operator of potential is 0 that is electrostatic task. The electrostatic task is solved as set of point charge that charges need to find from condition for velocity to be tangent on object surface. All charges is on object surface or inside.
It is possible to draw object. Spline interpolation used.
See how it works in video:
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.