Step 4 · Customise

/pulse-motion:decouper-personnage

Animate an illustration of a character you provide (Illustrator, Inkscape, Figma…) by cutting it out onto the Pulse Motion skeleton (« voici notre mascotte, fais-la marcher » (“here is our mascot, make it walk”)).

    Description

    You already have a drawing of your character, a mascot for example, exported from your drawing software as a .svg vector file. Pulse Motion cuts it out so it can be animated:

    1. It looks at the illustration. It copies it into your video, then makes an annotated image of it: each shape numbered, on a grid.
    2. It assigns each shape to a limb of the skeleton (the head, the torso, each arm, each leg…) and places the joints at the centre of the drawing’s own: hip, knee, ankle; shoulder, elbow, wrist; the pelvis and the neck; the centre of the head. The background and the shadow on the ground are set aside.
    3. It names the main colours (the skin, the outfit…), so that « change sa tenue en rouge » (“make its outfit red”) works afterwards.
    4. It makes it walk on a sheet, from several angles, and fixes what is wrong, in three rounds at most.

    Your illustration becomes a drawn character, which can be animated with all of Pulse Motion’s poses and moves. If the eyes and the mouth are separate shapes in your drawing, the face comes alive: the eyes look around and blink.

    Why use it

    • Your character, just as you drew it. It keeps its look and its proportions.
    • It moves straight away: walking, running, jumping, waving, and all the poses.
    • Its colours can be edited in one sentence, once they have names.
    • The cut-out can be fixed with the mouse, in the character workshop, if a joint is in the wrong place.

    When to use it

    1. 1 Create
    2. 2 Edit
    3. 3 Export
    4. 4 Customise

    Everything characters can do is gathered on the Personnages (in French) page.

    How to run it

    /pulse-motion:decouper-personnage [le fichier SVG du personnage]

    “[the character’s SVG file]”

    In square brackets [ ]: optional. You can also run the command on its own and give the file afterwards: its path, or its name if it is already in the video’s assets/ folder.

    /pulse-motion:decouper-personnage assets/mascotte.svg
    /pulse-motion:decouper-personnage j'ai un personnage dans assets, anime-le

    “I have a character in assets, animate it”

    Preparing the illustration

    One character per file, preferably in profile (facing right), otherwise from the front. Some elements prevent the cut-out: Pulse Motion tells you which, and what to change in your drawing software.

    Your illustration containsIn the drawing software
    TextConvert the text to shapes (“Create Outlines”, “Object to Path”).
    An image (a photo, a texture)Redraw it as shapes, or leave it out.
    A linked copy (a clone)Unlink the clone (“Object > Expand”).
    A filter, a maskRemove them, or apply them.
    “Entity” styles (Illustrator)Export again with “CSS Properties: Style Elements”.

    A clipping mask, on the other hand, does not get in the way: the shape is drawn whole, and Pulse Motion lets you know.

    What it produces

    FileWhat it is for
    assets/<nom>.svgThe copy of your illustration, stored with the video. The original stays where it was.
    personnages/decoupes/<nom>.jsonThe cut-out: each shape assigned to a limb, and the position of the joints.
    personnages/dessins/<nom>.jsonThe resulting drawn character, ready to move.

    Pulse Motion finishes with the walk sheet and what you can do next: fix the cut-out with the mouse, make the character move, draw its front if the illustration is only in profile.

    Risks and precautions

    • There must be a video in the folder. Without one, Pulse Motion tells you and offers to create one with /pulse-motion:creer.
    • A rejected element stops the cut-out until it is fixed in your software. If it is only decorative, Pulse Motion may offer to leave it out.
    • A front-view illustration also serves as the profile, until something better comes along. For a real profile, or a missing front, ask /pulse-motion:dessiner-personnage.
    • The face stays frozen if the eyes and the mouth are not separate shapes. With a living face, the other mouths (smile, surprise…) are drawn afterwards with /pulse-motion:dessiner-personnage.
    • Redoing the cut-out does not undo the rest. The other drawn views and the added mouths are kept; the colours keep their names.

    Problems and solutions

    Pulse Motion rejects my illustration

    It contains text, an image, a clone, a filter or a mask. Pulse Motion tells you which: fix it in your drawing software (see the Preparing the illustration table), export again, then give it the file again.

    A limb comes loose or turns around the wrong point

    A joint is in the wrong place. Pulse Motion sees it on the sheet and fixes it; if the problem remains, fix it yourself with the mouse using /pulse-motion:atelier-personnages (« laisse-moi corriger la découpe » (“let me fix the cut-out”)).

    Pulse Motion reports shapes that were left out

    These shapes were not assigned to any limb. Pulse Motion assigns them, or sets them aside if they are not part of the character (a shadow, a background).

    My character’s eyes don’t move

    In your drawing, the eyes are part of the same shape as the head. Separate them in your drawing software (the white of the eye and the pupil), export again, and run the cut-out again.

    “node” not found

    Node.js is not installed. Install the LTS version from nodejs.org, then restart Claude Code. See the requirements.

    Examples

    /pulse-motion:decouper-personnage voici notre mascotte, fais-la marcher : C:\Users\Marie\Bureau\mascotte.svg

    pulse-motion personnages analyser assets/mascotte.svg --dossier .

    pulse-motion personnages decouper mascotte --dossier .

    pulse-motion personnages renommer-couleur mascotte c1 tenue --dossier .

    pulse-motion personnages planche marche --dessin mascotte --vues 0,45,180 --dossier .

    Votre mascotte marche ! Voici la planche, sous trois angles. Ensuite, vous pouvez corriger la découpe à la souris (/pulse-motion:atelier-personnages), la faire bouger (/pulse-motion:animer-personnage), ou dessiner sa face (/pulse-motion:dessiner-personnage) : votre illustration n'est que de profil.

    In English

    You: /pulse-motion:decouper-personnage here is our mascot, make it walk: C:\Users\Marie\Bureau\mascotte.svg

    Claude: Your mascot is walking! Here is the sheet, from three angles. Next, you can fix the cut-out with the mouse (/pulse-motion:atelier-personnages), make it move (/pulse-motion:animer-personnage), or draw its front (/pulse-motion:dessiner-personnage): your illustration is only in profile.

    /pulse-motion:decouper-personnage assets/chef.svg

    pulse-motion personnages analyser assets/chef.svg --dossier .

    Votre illustration contient du texte : le nom brodé sur le tablier. Dans votre logiciel de dessin, convertissez-le en formes (« Vectoriser » ou « Objet en chemin »), réexportez le fichier, puis redonnez-le-moi.

    In English

    You: /pulse-motion:decouper-personnage assets/chef.svg

    Claude: Your illustration contains text: the name embroidered on the apron. In your drawing software, convert it to shapes (“Create Outlines” or “Object to Path”), export the file again, then give it back to me.

    Related commands