Hand-drawn animation spends much of its labor on the "paint-bucket" phase: filling every line-enclosed region of every frame with the right flat color. A practical way to automate this is to take one colored keyframe, lay a triangle mesh over the drawing, deform the mesh to follow the character's motion, and carry both the lines and the region colors along with it. The approach breaks down in a specific way. If the mesh is one continuous sheet, an arm cannot slide across a torso without smearing the drawing. If the mesh is cut into parts so they can move independently, the cuts open up under fast motion, the line art gets small gaps, and color leaks from one region into the next. We propose to treat each cut in the mesh the way materials scientists treat a crack spanned by reinforcing fibers. Fibers bridging a crack resist the crack opening but let the faces slide against friction. A seam built on that rule should keep regions closed while still letting parts slip past one another. A contact term keeps parts in the same depth layer from passing through each other.
In short, the mesh is cut along part boundaries, and each seam gets a "fiber-bridging" rule: stiff against opening, frictional against sliding, repulsive against overlap. The test is whether warped line art stays watertight enough that colors transferred from one keyframe land in the correct regions of later frames, measured against real colored animation.
Core Claim
The claim is narrow and falsifiable. On sketch-warping colorization, the property that matters is anisotropy. A seam law that resists the normal opening of a cut but allows tangential slip with friction should keep line-art regions closed more often than a continuous mesh or a freely cut mesh, and it should also preserve sliding motion better than isotropic springs across the seam. If isotropic springs of tuned stiffness match it, the fiber-bridging framing adds nothing, and we will report that.
The seam law borrows the traction–separation description of bridged cracks. For a pair of matched seam points with normal opening $\delta_n$ and tangential slip $\delta_t$, the normal traction is
$$ t_n(\delta_n) = \begin{cases} -\kappa\,\phi(\delta_n) & \delta_n < 0 \\ k_n \delta_n & 0 \le \delta_n \le \delta_0 \\ k_n \delta_0 \,\frac{\delta_c - \delta_n}{\delta_c - \delta_0} & \delta_0 < \delta_n < \delta_c \\ 0 & \delta_n \ge \delta_c \end{cases} $$
The terms are defined as follows:
- $\phi$ is a smooth barrier that penalizes overlap, with strength $\kappa$.
- $k_n$ is the opening stiffness.
- $\delta_0$ is the opening at peak bridging stress.
- $\delta_c$ is the opening at which the ties are fully "pulled out" and the seam becomes a true separation.
The tangential traction is capped by friction:
$$ |t_t| \le \min\left(k_t |\delta_t|,\; \tau_0 + \mu\,|t_n|\right) $$
Here $k_t$ is shear stiffness, $\tau_0$ an interface shear strength, and $\mu$ a friction coefficient. Choosing $k_t \ll k_n$ is the "fiber" choice. It mirrors how intact fibers resist shear-crack opening while the faces slide in Mode II bamboo tests (Mode II fracture behavior of parallel strand bamboo). It also mirrors how an engineered, breakable fiber–matrix interface allows frictional pull-out rather than snapping (carbon fiber-toughened ZrB2 ceramics). That ceramics work also motivates the known trade-off: an interface that is too strong snaps, and one that is too weak slides without holding anything. We expect the same trade-off in $k_n$ and $\delta_c$, and will map it rather than assume a value. The softening branch lets an artist designate seams that are allowed to separate for real, such as a hand leaving a pocket. On all other seams $\delta_c$ is effectively infinite.
Relation to Prior Work
The closest system is PhysAnimator. It segments a character with SAM, builds one triangulated 2D mesh, and simulates it with a Fixed Corotated elastic model. It warps the extracted sketch lines by the resulting flow and renders color with a ControlNet-guided video diffusion model. PhysAnimator supplies our pipeline skeleton and our renderer. It also reports user preference margins above 80–90% over pure motion-controlled video generators, which is evidence that explicit geometry helps. It uses a single continuous mesh, so it has no seams, no inter-part sliding, and no contact between parts. Those are exactly the pieces we add.
Our contact term borrows from neural cloth simulation. SENC adds dynamic "spatial edges" between topologically distant vertices within 2 cm so that approaching surfaces exchange information. It uses a volume-based penalty for deep self-intersection and reports self-collision loss of 1.80 against HOOD's 26.10 on AMASS-driven t-shirts. ReFU pushes penetrating garment vertices out along a body distance field. On TailorNet it raises the fraction of collision-free garments from 49.09% to 76.77%.
In both methods the non-local edges or forces are purely repulsive. Our seam edges instead carry a two-sided law: repulsive under overlap, cohesive under opening, frictional under slip. We work in 2D, where a region's closure is cheap to check exactly. This sidesteps the fragile boundary-closing step that SENC identifies as its main training bottleneck. The work also explains why Neural Garment Dynamics via Manifold-Aware Transformers is constraining rather than supporting. It avoids cross-talk between spatially close but disconnected folds by using along-surface distance, and it leaves cloth-to-cloth contact unsolved. Our seams are the explicit, sparse channel through which disconnected parts are allowed to interact.
On the colorization side, Diffusart shows that color bleeds across lines unless line art is fed as an explicit hard spatial map. This motivates the claim that closed lines matter even for diffusion renderers. Diffusart treats static single images, whereas the gaps we target appear only under deformation over time. AniDoc and ToonComposer propagate color from a reference through learned video diffusion without explicit geometry. They are our strongest end-to-end competitors. ToonComposer itself notes artifacts under out-of-distribution line styles and heavy compute. Earlier graph matching of regions across frames (Noma et al.) is the classical alternative to mesh-carried labels, and it fails when regions merge or split.
Research Program
The system has five stages.
- Building the cut mesh. From a colored keyframe we build a mesh over the SAM part segmentation, as in PhysAnimator. We cut it along part boundaries and pair up the seam vertices from the two sides. Each triangle carries its region color label.
- Assigning depth layers. Parts are placed in depth layers, either inferred from which part occludes which in the keyframe or set by the artist. The overlap barrier applies only between parts in the same layer, so an arm in front of a torso may cross it but two same-layer parts may not merge.
- Deforming the mesh. Deformation targets come from sparse tracked points, which we treat as the same kind of user guidance AniDoc uses as trajectories. We solve an energy combining corotated elasticity inside each part, the seam law across cuts, dynamic proximity edges between same-layer parts in the spirit of SENC, and a data term pulling tracked points toward their targets.
- Solving. We use a standard implicit solver with the friction cap applied per iteration. We do not need learning to test the core claim. A learned amortized version is a later step, only if the solver is too slow.
- Producing outputs. Warped lines and warped labels give a directly transported flat-color frame. The warped lines are also passed to the unchanged PhysAnimator-style diffusion renderer for a shaded frame.
The analysis has two parts. First, we sweep $k_t/k_n$ from 1 (isotropic) to very small, and sweep $k_n$ and $\delta_c$, to map the snap-versus-slide trade-off. Second, we classify every failure as one of four types: a gap-induced leak, an overlap-induced region merge, a stretch artifact, or a slide that the seam wrongly suppressed.
Baselines
Naive reference. Per-frame region matching and bucket fill on the target line art, using graph matching in the style of Noma et al.. This is the do-nothing-geometric point. It shows how much of the problem comes from line-art gaps in the first place.
Continuous mesh. The PhysAnimator deformation stage (PhysAnimator), with the same segmentation, the same tracked targets and the same renderer. It is the strongest geometric competitor because it can never open a gap. Beating it means comparable leak rates together with better accuracy near sliding contacts, where it must smear.
Cut mesh with no seam law. The same cut mesh with free cuts. This isolates how much leakage the seams prevent.
Isotropic springs. Zero-rest-length springs across the seam with stiffness tuned on validation data, under the same tuning budget as our parameters. This is the key ablation isolating anisotropy.
Repulsion-only proximity edges. Contact edges modeled on SENC (SENC), with no cohesion. This tests whether contact alone suffices.
End-to-end generative methods. AniDoc and ToonComposer, each given the same colored reference and the same sparse guidance. AniDoc is the strongest reported method on Sakuga-42M: PSNR 19.23 and FID 54.33 versus LVCD's 15.77 and 110.48. ToonComposer reports Sketch SSIM 0.8360 on PKBench, against a competitor average of about 0.52.
All geometric variants share the solver, the iteration budget and the hyperparameter search budget. Diffusion baselines are run with their released settings on identical clips. Beating the strongest baseline means two things. The first is a statistically lower leak rate and higher region-label accuracy than both the continuous mesh and the isotropic springs, especially on clips with inter-part sliding. The second is shaded-frame PSNR and FID at least matching AniDoc on the same clips.
Why not just…?
Why not just close gaps in the warped line art afterwards, with morphological closing or a trapped-ball fill? Post-hoc closing cannot tell a small gap that should be sealed from a real opening such as a mouth or a sleeve end. It also knows nothing about which side of the gap each region came from, so it can seal the wrong regions together. We will run it on the free-cut and isotropic variants. If it closes our margin, the physical seam law is unnecessary for flat colorization, and we would say so. We expect it to fail most on overlap-induced merges, which no line-art filter can undo.
Why not just use one continuous mesh, which never tears? This is the real threat for motions that contain no sliding. We expect it to tie with our method there. The claim only holds if the continuous mesh loses accuracy on sliding-contact clips, such as a limb passing over the body or clothing shifting over skin. We therefore stratify every result by whether annotated sliding occurs, instead of reporting a single average that could hide a tie.
Why not just let a large video diffusion model learn it end to end? PhysAnimator documents structural collapse and identity drift in unconstrained video generators under fast motion. ToonComposer reports artifacts under unusual line styles. Our direct test is to feed the same diffusion renderer our warped lines versus none, and to compare against AniDoc and ToonComposer on PKBench's human-drawn sketches. If AniDoc's region-label accuracy already matches ours, explicit geometry is not needed for this task.
Proposed Experiments
Main benchmark. The main benchmark is built from Sakuga-42M, following the clip filtering used by AniDoc and PhysAnimator. We select colored clips and use the first frame as the keyframe. Sparse targets come from points tracked on the ground-truth colored frames, and the same targets are given to every method.
Primary metrics. No reported result was found on Lacuna for either of our primary metrics on any benchmark, so we define them directly. The first is region-leak rate: the fraction of frames in which a flood fill from any transported region seed escapes its region in the warped line art. The second is pixel-wise region-label accuracy of the flat-color frame against ground truth, with the color of each transported label compared to the ground-truth color.
Secondary metrics. PSNR, SSIM and FID of the shaded frames, which allow direct comparison with AniDoc's reported 19.23 and 54.33. We will also run PKBench to test robustness to messy human sketches, reporting Sketch SSIM against ToonComposer's reported 0.8360 and a small artist preference study.
Stratification. We will hand-annotate a subset of about 300 clips for whether inter-part sliding occurs and for which seams are true separations. This allows every metric to be broken down by motion type.
Decisive checks. There are three:
- On sliding clips, anisotropic seams must beat isotropic springs of tuned stiffness on region-label accuracy while matching them on leak rate. Otherwise the core claim fails.
- On all clips, the leak rate must fall well below the free-cut mesh, and region-label accuracy must exceed the continuous mesh on sliding clips.
- The sweep over $k_n$ and $\delta_c$ should show a middle regime between "snap", where seams hold rigidly and suppress sliding, and "pull-out", where seams gape. This would confirm that the materials trade-off carries over, rather than one extreme simply winning.
A brief extension, conditional on these results, would place the same two-sided seam edge in a SENC-style cloth graph on D-LAYERS. There we would test whether cohesive-plus-frictional edges reduce the inter-layer clipping that repulsive-only edges leave. That extension is not needed to settle the main claim.
References
- Mode II fracture behavior of parallel strand bamboo measured by 3-point end-notched flexure tests
- Microstructural evolution and performance of carbon fiber-toughened ZrB2 ceramics with SiC or ZrSi2 additive
- PhysAnimator: Physics-Guided Generative Cartoon Animation
- SENC: Handling Self-collision in Neural Cloth Simulation
- A Repulsive Force Unit for Garment Collision Handling in Neural Networks
- Neural Garment Dynamics via Manifold-Aware Transformers
- Diffusart: Enhancing Line Art Colorization with Conditional Diffusion Models
- AniDoc: Animation Creation Made Easier
- ToonComposer: Streamlining Cartoon Production with Generative Post-Keyframing
- A Computer-Assisted Colorization Approach Based on Efficient Belief Propagation and Graph Matching