Mixwell: Sharp 2D Fluid Brushes for Progressive Physics-Based Mixing
Doug L. James, Ethan James
Abstract
We present Mixwell, a family of sharp 2D fluid brushes and GPU-accelerated analytical methods for progressive, resolution-independent physics-based mixing. Derived from idealized potential flow around a cylindrical tine, Mixwell includes a cusped, Kelvinlet-style regularized velocity brush that parsimoniously captures cylinder-fluid interactions. Building on Maxwell's 1869 drift formulation, we develop GPU-friendly evaluation strategies for particle drift in both infinite and finite strokes. For image-based workflows, we introduce cylindrical Reverse-Drift Functions (RDFs), displacement fields that encode tine insertion, motion, and removal. Like signed distance fields in geometric modeling, RDFs compose naturally and can be chained in shaders to model complex operations while avoiding intermediate texture blur. We also propose a periodicity-exploiting composition scheme for complex RDF patterns. All Mixwell operations are evaluated independently per sample, enabling truly progressive mixing and rendering without global solves, grids, or intermediate texture resampling. We demonstrate real-time GLSL and HLSL implementations and production integrations in Houdini (OpenCL, OSL), enabling progressive, arbitrary-resolution mixing and rendering with negligible numerical dissipation.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Lineage
Builds on2
Related papers
- Real-Time GPU Vector Graphics SDF Generation Based on Quadratic Stroke RenderingXuhai Chen, Guangze Zhang, Juan Cao, Zhonggui ChenSIGGRAPH 2026
- Efficient kinetic simulation of two-phase flowsWei Li, Yihui Ma, Xiaopei Liu, Mathieu DesbrunSIGGRAPH 2022 · 32 citations
- Stochastic Barnes-Hut Approximation for Fast Summation on the GPUAbhishek Madan, Nicholas Sharp, Francis Williams, Ken Museth et al.SIGGRAPH 2025 · 2 citations
- Ciallo: GPU-Accelerated Rendering of Vector Brush StrokesShen Ciao, Zhongyue Guan, Qianxi Liu, Li-Yi Wei et al.SIGGRAPH 2024 · 3 citations
- Aδ: autodiff for discontinuous programs - applied to shadersYuting Yang, Connelly Barnes, Andrew Adams, Adam FinkelsteinSIGGRAPH 2022 · 17 citations
