cs.GROct 1, 2026

Windfoil: Closed-Form Coverage for Real-Time and Differentiable Vector Graphics

Authors: Matt DesLauriers

Organizations: Creative Computing Institute University of the Arts London London, United Kingdom

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.

Figures & tables

Explore similar work

CardsList
  1. Differentiable Voronoi Ray Tracing Beyond Rasterization Speeds

    Aug 18, 2026Bernardo Taveira, Carl Lindström, Joakim Johnander +1Differentiable Ray TracingNovel View Synthesis

  2. CubicSplat: Differentiable Vector Graphics via Error-Bounded Forward Relaxation

    Aug 21, 2026Chenglong Liu, Xin Zhang, Yimeng Zhu +5Differentiable RenderingImage Reconstruction

  3. DiffBMP: Differentiable Rendering with Bitmap Primitives

    Feb 26, 2026Seongmin Hong, Junghun James Kim, Daehyeop Kim +2Differentiable RenderingInverse Rendering