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:
- Structural Incoherence: They often treat strokes as discrete, disconnected elements or digital brushes, failing to capture the continuous, flowing nature of sand trajectories.
- 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:
- 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.
- 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.
- 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.
- 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.
- 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.
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.
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.
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