Web Demo | Online Documentation
The Simple Latte Art Drawing System is designed for simulating latte art in games (2D or 3D) involving coffee brewing. If you want to slap on a latte art mini game into your project, this package is for you.
The system leverages Navier-Stokes equations running on GPU Compute Shaders to simulate the movement of milk swirling on an espresso's surface. 2D support is available via a different shader. It is compatible with Windows, Mac, any modern iOS or Android mobile hardware, and web with WebGPU (you would need to disable auto grarphics API and set WebGPU as target if you are on Web platform, Web GL does not support compute shaders).
VR / AR support untested at the moment, and I am potentially looking to add them in the future.