Windfoil: Closed-Form Coverage for Real-Time and Differentiable Vector Graphics
Abstract
We present Windfoil, a GPU-friendly algorithm that treats rasterisation and differentiable vector graphics as two sides of the same problem by evaluating the box-filtered winding number of quadratic Bézier contours in closed form. We implement this in WebGPU, allowing it to run across a range of environments, including a web browser on a consumer laptop, and apply the system to real-time 2D rendering, high-resolution rasterisation for print media, and a differentiable renderer. We compare our renderer against Skia, a production-grade engine, and Slug, a popular GPU rasterisation algorithm for games and real-time applications, measuring fidelity to a reference box-filtered coverage. Our renderer matches the reference more closely than either, at performance comparable to Slug. We also compare our optimiser against DiffVG and Bézier Splatting, where it reaches equivalent or better reconstruction quality at a fraction of the per-step cost, scaling to tens of thousands of shapes at interactive rates.
Create a lesson
Metadata
- Categories
- cs.GR, cs.CV
Related papers
A Unified Interactive Framework for Real-Time Three-Dimensional Cellular Automata Simulation in XR
Shared title terminologycs.GRAshkan Rezaei, Azam Bastanfard, Mohammad Erfan Safabakhsh
Real-Time Volumetric Light Transport Inference without a Path
Shared title terminologycs.GRLudwic Leonard, Ruediger Westermann
Real-Time Self-Penetration Repair for Skinned Characters with Soft Contact Budgets
Shared title terminologycs.GRYifei Zhu
REACT: Towards Real-Time Completion of Skeletal Motion Signals
Shared title terminologycs.GRP. de Clermont Gallerande, Q. Avril, P. Gosselin et al.
Real-time Rendering of Pre-integrated Neural Emitters
Shared title terminologycs.GRArno Coomans, Floor Verhoeven, Edoardo A. Dominici et al.
Neuroll: Real-Time Neural Strand-Based Hair Simulation via Simulator-in-the-Loop Unrolling
Shared title terminologycs.GRGene Wei-Chin Lin, Jessica Jia-En Lee, Yu Ju et al.