paperdoll

Latest version Documentation MIT

2D pixel-based stationary paper doll model.

Latest version: 1.

Design

The model consists of three parts: doll, slot, and fragment.

Doll

Dolls are the fundamental parts of your model. Normally, they represent faces, bodies, or any other assembled objects in your projects. A doll contains multiple slots.

Slot

Slots are where your paper doll can have alternative styles. For example, in a doll that represents a human's face, they could be eyes, mouth, nose, and so on.

A slot can be placed in different positions inside the doll (eg. slot of eyes). Not all slots need to have images to be shown, they can be empty. For instance, an empty 'hair' slot means that the person is bald.

Each slot has several alternative images to display. they're called 'candidates'. And those candidates are all defined as fragments.

Fragment

Fragments are image assets that you can put into a slot as candidates. In paperdoll, all fragments are raster images. One fragment can be used in multiple slots.

There are two ways slots and their fragment candidates are connected.

core-concept

Container format

ppd

ppd is a tar archive container for paperdoll. Read more.

Tools

Editor for paperdoll.

ppd-editor

Viewer for paperdoll.

ppd-viewer