SandSim: Curve-Guided Gaussian Splatting for Reconstructing Sand Painting Processes

Yilin Wang, Haojie Huang, Chen Li, Yang Li, Changbo WangarXiv 2026

TL;DR

SandSim is a novel framework that reconstructs the step-by-step creation process of a sand painting from a single static image. By combining a multi-agent semantic planning module with a curve-guided 2D Gaussian Splatting representation and physics-based simulation, it generates temporally coherent drawing sequences that look and behave like real granular art.

What Problem Does This Paper Address?

Sand painting is a "process-driven" art form where the final image is the result of granular material accumulating over time. Unlike traditional painting, the artist’s temporal order—typically a back-to-front strategy—is fundamental to the visual structure.

Existing methods for reconstructing drawing processes, such as stroke-based optimization or diffusion-based video synthesis, struggle with sand art for two main reasons:

  1. Structural Incoherence: They often treat strokes as discrete, disconnected elements or digital brushes, failing to capture the continuous, flowing nature of sand trajectories.
  2. Material Inconsistency: Standard rendering uses additive blending (where overlapping layers get brighter), but sand is subtractive—it occludes the light, making overlapping regions darker.

SandSim aims to bridge this gap by recovering not just the final look, but the underlying geometric, physical, and semantic logic of the creation process.

Methods

The SandSim pipeline consists of three main stages:

  1. Semantic Planning: The authors use a multi-agent system (built on LLMs) to mimic an artist's cognitive process. A Director sets the artistic principles, a Planner determines the drawing order (e.g., sky first, then ground, then camels), and a Segmenter uses the Segment Anything Model (SAM) to define regions. A Reviewer agent provides a feedback loop to ensure logical consistency.
  2. Curve-Guided Gaussian Representation: To model the strokes, the paper introduces a representation where each stroke is a sequence of anisotropic 2D Gaussian primitives distributed along a smooth curve.
  3. Regularization: They apply a "spring loss" to maintain uniform spacing and a "smoothness loss" to enforce local linearity, preventing strokes from scattering into isolated dots.
  4. Subtractive Color Model: They replace standard alpha-blending with a subtractive model based on the Beer-Lambert law to accurately simulate how sand accumulation darkens the canvas.
  5. Physical Simulation: To enable interaction, the optimized 2D strokes are "lifted" into 3D Gaussian particle clusters. These are then fed into a Material Point Method (MPM) simulator, allowing for realistic sand dynamics like smearing or piling.
Overview of the SandSim framework, showing the pipeline from semantic planning to physical simulation.

Datasets

The authors curated a specialized dataset for this task:

  • Style Modeling: 70 high-quality sand painting images used to train a style-specific LoRA (Low-Rank Adaptation) model.
  • Process Evaluation: 31 full-length YouTube videos of real sand artists to serve as ground truth for drawing sequences.
  • Synthetic Data: 15 process videos generated using their LoRA model to increase diversity across domains like sketches and ink paintings.

Key Insights and Ideas

  • Curves over Points: By parameterizing strokes as continuous trajectories rather than independent points, the model inherently captures the "flow" of the artist's hand.
  • Subtractive Realism: The shift from additive to subtractive rendering is the "aha moment" for material fidelity. It prevents the unrealistic "glow" often seen in digital reconstructions of physical media.
  • Hierarchy of Agents: Decoupling the planning (what to draw when) from the execution (how to fit the Gaussians) allows the system to handle complex semantic scenes that pure optimization methods would fail to organize.
Ablation study showing how curve guidance is essential for forming coherent stroke structures.

Key Results

SandSim was compared against state-of-the-art baselines like Inverse Painting and PaintsUndo.

  • Quantitative: SandSim achieved a significantly lower LPIPS (0.395 vs. 0.510 for Inverse Painting) and a better DDC (0.876), a metric using Dynamic Time Warping to measure how closely the reconstruction rhythm matches a human process.
  • Texture Fidelity: The authors introduced a Granular Texture Quality (GTC) metric based on Gray-Level Co-occurrence Matrices. SandSim outperformed all baselines (0.083 vs. 0.197+), proving its superior ability to replicate the "grainy" look of sand.
  • Qualitative: As shown in Figure 5, the method generalizes across diverse domains, from architectural landmarks to animal portraits, maintaining a human-like "back-to-front" drawing order.
Qualitative results across various categories, demonstrating human-like drawing behavior.

Limitations and Future Work

While SandSim excels at sand deposition, it does not yet explicitly model erasing or wiping—a common technique where artists remove sand to create highlights. Additionally, the semantic planning stage is dependent on the quality of upstream segmentation models; if SAM fails to identify a complex object correctly, the drawing order may become illogical.

Future work aims to incorporate "subtractive" artistic operations (wiping) and develop more robust, text-guided planning mechanisms to allow for even more interactive and controllable sand art generation.

Summary updated

Abstract

Sand painting is a process-driven art where visual appearance emerges from granular accumulation. Given a single image, reconstructing a plausible sand painting process requires modeling coherent stroke structures and material-dependent effects. Existing methods, including stroke-based optimization and diffusion-based video synthesis, often lack structural coherence and material consistency, leading to unrealistic drawing sequences. We present SandSim, a framework that reconstructs a sand painting process from a single image. We introduce a curve-guided Gaussian representation that models strokes as sequences of anisotropic primitives along continuous trajectories, whose smooth kernels capture the soft boundaries of sand strokes and enable coherent stroke formation. We further adopt a subtractive compositing scheme to model light attenuation during sand accumulation. We incorporate a semantic-guided planning module for scene decomposition and drawing order inference. Our framework jointly optimizes stroke geometry and appearance and can be integrated with a physics-based simulator for interactive sand dynamics and editing. Experiments show that our method produces temporally coherent and visually realistic results, achieving improved reconstruction quality and perceptual fidelity compared to existing approaches.
BibTeX
@misc{wang2026sandsim,
  author = {Yilin Wang and Haojie Huang and Chen Li and Yang Li and Changbo Wang and Chenhui Li},
  title = {{SandSim: Curve-Guided Gaussian Splatting for Reconstructing Sand Painting Processes}},
  year = {2026},
  eprint = {2604.27572},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.27572},
}

Loading related content...

Figure