NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Neural Strokes: Stylized Line Drawing of 3D Shapes

Difan Liu, Matthew Fisher, Aaron Hertzmann, Evangelos Kalogerakis · DOI

Abstract

Neural Strokes is a differentiable rendering framework that learns to stylize line drawings of 3D shapes using just a single artist-drawn example. By explicitly modeling stroke thickness, geometric deformation, and texture, it outputs fully editable vector graphics that preserve the precise geometric details of the 3D shape—something purely image-based style transfer methods typically fail to do.

The Challenge of Stylized 3D Rendering

Generating stylized drawings from 3D models—such as charcoal sketches or pen-and-ink illustrations—traditionally forces a choice between two suboptimal approaches.

  1. Image-to-image translation: Methods like Neural Style Transfer operate purely on 2D pixels. They often fail to respect underlying 3D geometry, leading to broken outlines, lost details, and flat raster outputs.
  2. Procedural Non-Photorealistic Rendering (NPR): These algorithms preserve geometry and output vectors, but the styles must be hand-coded by engineers. They lack the flexibility to learn from a simple artistic reference.

Neural Strokes bridges this gap by learning an artist's specific style from a single reference drawing and applying it to new 3D shapes as high-quality, editable vector strokes.

Methodology: Disentangling Stroke Attributes

The framework disentangles a stroke into its path, thickness, displacement ("wiggliness"), and texture. The pipeline consists of five key stages:

  1. Curve Extraction: Standard algorithms extract geometric curves (silhouettes, ridges) from the input 3D shape.
  2. Surface Geometry Module: A 2D CNN extracts deep image-space features (depth, curvature, normals) from a 9-channel rendering of the 3D shape.
  3. Path Geometry Module: A 1D CNN slides along the extracted curves, combining local curve data with the deep surface features to predict per-control-point thickness and 2D displacement.
  4. Differentiable Vector Rendering: The displaced, thickened curves are rendered into a grayscale image using DiffVG, a differentiable vector graphics renderer.
  5. Stroke Texture Module: A PatchGAN-based image-to-image network adds the final artistic texture (e.g., charcoal grain or ink bleed).

Because the entire pipeline is differentiable, it can be trained end-to-end on random multi-scale patches cropped from a single reference drawing.

Overview of the Neural Strokes framework showing training examples from two artists and synthesized drawings on new test shapes.

Key Results and Evaluation

Neural Strokes was evaluated using a custom dataset of 48 3D shapes and 124 drawings from 12 professional artists across 31 distinct styles.

Quantitative and Qualitative Performance

The model significantly outperformed image-based baselines. It achieved a Learned Perceptual Image Patch Similarity (LPIPS) score of 0.0956 and a Frechet Inception Distance (FID) of 62.40, surpassing the next best method, SketchPatch. Qualitatively, Neural Strokes maintains structural integrity where baselines produce blurry or fragmented lines, successfully transferring complex styles like tapering ink while preserving the 3D shape's outlines.

User Preference

In a study involving 93 participants, users were asked which generated image best matched a target style. Neural Strokes received 125 votes, nearly six times more than the best baseline (20 votes), and performed competitively against actual human-drawn hold-out examples (131 votes).

Conclusion

By fusing 1D curve data with 2D surface geometry and utilizing a vector representation as a structural prior, Neural Strokes effectively captures complex artistic styles from minimal data. While it currently relies on algorithmic curve extraction, it represents a significant step toward automated, geometry-aware artistic rendering that respects the artist's intent.

Summary updated

BibTeX
@inproceedings{liu2021neural,
  author = {Difan Liu and Matthew Fisher and Aaron Hertzmann and Evangelos Kalogerakis},
  title = {{Neural Strokes: Stylized Line Drawing of 3D Shapes}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2021},
  doi = {10.1109/iccv48922.2021.01394},
}
Figure