Splatting
The package provides a differentiable Bézier splatting loss.
It implements the loss described by Liu, Zhou, Zhao, and Huang in Bézier Splatting for Fast and Differentiable Vector Graphics Rendering as a canonical Rust package.
The package is not a general renderer. Its focus is the differentiable loss: representing Bézier geometry through Gaussian splats so vector paths can be compared in image space while preserving gradients back to curve parameters. The implementation should be suitable for training models that emit vector geometry, including but not limited to type, icon, and illustration systems.
The reference implementation is xiliu8006/Bezier_splatting. The
package treats that repository as the behavioral and mathematical reference,
while providing an idiomatic Rust API.
Backend
The only supported backend is Burn. Public APIs should be expressed in terms of Burn tensors and should return Burn tensor losses so autodiff can trace gradients through the splatting computation. Other tensor or autodiff backends are out of scope.