hyz317/HairDeck

HairDeck: Animation-Ready Stylized Hair Cards from a Single Image

What it solves

Creating stylized 3D hair that can be animated usually requires multi-view references, manual modeling, or heavy post-processing. HairDeck solves this by generating a complete, animation-ready hair asset from just one image, so artists don't have to sculpt hair strand by strand or rig it by hand.

How it works

HairDeck represents each individual hair card as a single token. A set-based diffusion transformer generates all the hair cards together as a whole hairstyle. Before that, a card VAE encodes each card into a compressible form. To make the hair move naturally, a separate chain diffusion model generates spring-bone chains that drive the cards. The output preserves individual cards with per-card UV coordinates, and can be exported as a GLB mesh or attached to an avatar and exported as VRM.

Who it’s for

This project is for 3D artists, game developers, and animators who need quick, stylized hair assets for characters. It's also useful for researchers interested in generative modeling of structured 3D geometry from a single image.

Highlights

  • Generates a full hairstyle as a set of hair cards, not just a single mesh
  • Each card gets its own UV coordinates, making texturing straightforward
  • Spring-bone chains are generated automatically, ready for animation
  • Exports to GLB and VRM formats, including a head proxy option
  • Supports 1–4 variations per input image, with configurable seeds
  • Includes a local web demo and a hosted demo for quick testing
  • Code and checkpoints are released under Apache-2.0

Related

  • Project
  • Project
  • Project
  • Project