LIVE cartercole.net --:--:-- UTC

// 04 RESTRICTED

chibi-maker

TYPESCRIPT CANVAS 2D MEDIAPIPE COMFYUI ACCESS RESTRICTED PLAY

A browser studio for 2D cut-out chibi puppets of a real person, posed by hand, from presets, by webcam or by script, and rendered into motion-graphics video. One rig draws every body: eight style presets from 1.5 to 7 heads tall and nine style axes, a person plus an outfit for a character, and art skins, character sheets painted by an image model and cut into the rig's own parts. The dogs walking around behind this page are its other two characters, Myrtle and Alice, drawn live by the same renderer.

> The walkthrough: styles, outfits and skins1:42

The rig

Every part is a flat vector shape in its own cell of a 2048-pixel sheet, hung from a joint, and forward kinematics turns a pose into one matrix per part. A style is a recipe rather than a drawing: proportion, head, eyes, nose, mouth, hands, limbs, face and outline each change independently, so the same pose reads in every one. A painted sheet blits into the same cells, so an art skin needs no rigging, refits to any proportion, and swaps whole expression heads to match the mouth. The walkthrough above is rendered frame by frame by that renderer and piped into ffmpeg; the same pipeline turns a voiceover into a lip-synced video, and a VTuber page drives the puppet from a webcam through MediaPipe face, pose and hand tracking.

The dogs

Myrtle, a senior Great Dane, and Alice, a pit bull mix, were set by eye from photos: build, coat, mask, ear and tail types, and head markings placed round a skull that turns, so their faces stay right from face-on to profile. They read the same pose as the people, plus sit, lie down, play bow, tail, wag and ears. Behind this site the renderer is bundled into one module of about 70 KB and the dogs get a small mind each. They wander and nap, come over to the cursor and sit by it, melt when it rests on them, bark at clicks, and race each other for a ball thrown by clicking an empty stretch of page. On /asobi they take tricks, and a key cycles the drawing styles.

Stated honestly

The studio is not public: it runs locally, against my own photos, so there is no repository or hosted copy to link. What is here is its renderer: the walkthrough, and the dogs.