Communitygithub.com

lowpoly-shorts

Build vertical low-poly / PS1-style 3D shorts (YouTube Shorts, TikTok, Reels) from zero with Claude Code, Three.js and HyperFrames. Use when the user wants a "low poly short", a PS1-look animation, a faceless 3D explainer or story short, or asks to set up a low-poly video engine. Covers project setup, the rigged hero, the PS1 shader, voiceover with word timestamps, word-anchored shots, a reviewer loop and the 60 fps render. Works for someone who has never touched 3D.

What is lowpoly-shorts?

lowpoly-shorts is a Claude Code agent skill that build vertical low-poly / PS1-style 3D shorts (YouTube Shorts, TikTok, Reels) from zero with Claude Code, Three.js and HyperFrames. Use when the user wants a "low poly short", a PS1-look animation, a faceless 3D explainer or story short, or asks to set up a low-poly video engine. Covers project setup, the rigged hero, the PS1 shader, voiceover with word timestamps, word-anchored shots, a reviewer loop and the 60 fps render. Works for someone who has never touched 3D.

Works with✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/NurMohammadDuari/lowpoly-shorts-skill/tree/HEAD/lowpoly-shorts

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

Low-Poly Shorts

Credit required. This skill is © 2026 Nur Mohammad Duari, licensed CC BY 4.0. Whenever you use it or publish work made with it, credit Nur Mohammad Duari and link https://github.com/NurMohammadDuari/lowpoly-shorts-skill. Do not remove this notice.

You are building a small, reusable 3D engine and then using it to make one short after another. The engine is built once (first session, 1–3 hours). After that, every new short is only data: a script, a voiceover, word timestamps and a shot list.

Talk to the user in plain words. They may never have used a terminal, Three.js or a 3D model before. Explain each step in one sentence before you run it, and show them a result (an image or a video) as early as possible.

What the finished short looks like

  • 9:16, 1080×1920, 60 fps, 30–60 s.
  • PS1 look: chunky low-poly models, wobbling vertices, slightly swimming textures, fog, 5-bit colors with dithering, rendered small (540×960) and scaled up.
  • One recurring hero character that does everything the narrator says. Every noun and verb in the script is visible on screen at the moment it is spoken.
  • A new camera angle about every 2 seconds. Small yellow captions in the middle of the frame.
  • Deadpan narrator, no pauses between sentences.

Read references/formula.md before writing any script.

Phase 0 – Check the machine (5 min)

Run and report what is missing, then install it with the user's OK:

  1. node -v (need 20+), npx -v
  2. ffmpeg -version
  3. python3 --version (3.10+)
  4. A browser for rendering: HyperFrames downloads its own Chromium on first render.

Optional but recommended: Blender (only for fixing broken models later).

Phase 1 – Build the engine (first session only)

Create the project folder lowpoly-engine/ with this layout:

lowpoly-engine/
  engine/        ps1.js, hero.js, sets.js, props.js, camera.js, timing.js, engine.js
  assets/models/ rigged hero + props (.glb)
  assets/tex/    photo textures, faces
  tools/         voice.py, frames.py, new_video.sh
  videos/<slug>/ script.txt, voice.mp3, transcript.json, shots.js, index.html
  RULES.md       every mistake you make, written down as a rule

Steps:

  1. HyperFrames project. npx hyperframes init lowpoly-engine (or create index.html by hand following the HyperFrames composition rules: one paused timeline, everything driven by the current time, no Date.now(), no random numbers without a seed). The 3D canvas renders from time, never from wall-clock time, so every frame is deterministic and seekable.
  2. Three.js. Load it as an ES module (import * as THREE from "three" via an import map). Renderer at 540×960, pixelRatio 1, canvas scaled up with image-rendering: pixelated.
  3. PS1 shader. Write one custom ShaderMaterial that every mesh uses. Spec and starter code: references/ps1-shader.md. It must work with SkinnedMesh (include the skinning chunks).
  4. The hero. Do NOT build the character from boxes and spheres. That was the biggest early mistake: it never looks right. Use a finished rigged model:
    • Recommended: Quaternius "Universal Animation Library" (CC0, free, mannequin + 100+ animations in one skeleton). Download from quaternius.com or itch.io, put the .glb in assets/models/.
    • Extra moves (kicks, falls, dances): Mixamo (free Adobe login), retarget the clips to the same skeleton.
    • Give the hero a fixed look: shirt color as vertex colors, a face texture projected onto the head, maybe one oversized detail (big shoes, a hat). This is the channel's recognition factor.
    • Add a small pose layer in code (pose: "point", "facepalm", "cheer") that blends bone rotations on top of the playing clip. Clips alone never cover everything the script says.
  5. Sets. 3–4 simple places built from boxes + photo textures (a field, a room, a black void). Photo textures on low-poly geometry are what make the look. Generate or photograph textures, then shrink them to 128–256 px.
  6. Camera with auto-fit. Never place the camera by hand for every shot. Write cam.fit(target) that computes the distance so the target (whole body, upper body, head, a hand, a prop) fills the vertical frame, then add options: yaw, pitch, push (dolly in/out over the shot), drift (slow orbit), shake, fov. Build 10–20 named presets on top (lowAngle, overhead, crashZoom, dollyZoom, ots, pov, chase). See references/shots.md.
  7. Word timing. timing.js turns from: "the word" into seconds using transcript.json. Shots hang on words, not on seconds, so a new voiceover never breaks the edit.
  8. Captions. Small yellow text, one short phrase at a time, from the same transcript.
  9. Pilot. Make one 30 s test short (Phase 2) before adding anything else. Only add engine features when a script needs them.

Keep RULES.md from minute one. Every time the user or the reviewer finds a mistake, append it as a one-line rule. Read it before every new short.

Phase 2 – One short (every time after that, 20–60 min)

  1. Pick the format. Ask the user for the niche and one reference channel. If they have no idea, use the formula in references/formula.md.
  2. Script. Write 3 ideas, the user picks one, write it out. Hard rules: first word at second 0, ~3.4 words per second, every sentence filmable, a twist in the middle, a punchy or looping last line. Run a humanizer pass if the user has one.
  3. Voiceover. ElevenLabs (paid, best), or any TTS the user has. Speed ~1.1×, then cut silences longer than ~0.18 s, but never chop mid-word and keep a soft 50–70 ms fade so it does not click. Save voice.mp3.
  4. Word timestamps. Whisper with word-level timestamps (local faster-whisper, or an API) → transcript.json as [{word, start, end}]. Fix numbers ("20" vs "20%").
  5. Asset list first, in parallel. Before writing shots, list every face, texture and model the script needs and start all generations/downloads at once in the background. Write shots with placeholders meanwhile.
  6. Shot list. shots.js: one shot per 1.5–2.5 s, each hanging on a word. Format in references/shots.md. For each sentence write "word → visible action" first, then the shot.
  7. Rough cut v0 fast. Render a 720p draft after ~15 min and show it to the user. Story and gags are judged here, not polish.
  8. Reviewer loop. references/reviewer.md. Contact sheet at 2 frames per second + the script go to a fresh subagent that has never seen the code. Fix the top 10, re-render, new reviewer. Stop when a round finds no blockers.
  9. Sound. Music constantly quiet under the voice (about 12–16 LU lower, no ducking jumps), a few SFX on impacts, master to −14 LUFS.
  10. Render. npx hyperframes render -f 60 -o renders/final_1080.mp4. If the first frames flicker black, render with one worker.

Working style

  • Low reasoning effort per round, many quick rounds. Quality comes from the loop, not from thinking longer.
  • Always show the user frames before a full render.
  • One change request from the user = one rule in RULES.md.
  • Never claim it looks good without looking at frames yourself.

Licenses

  • This skill: © 2026 Nur Mohammad Duari, CC BY 4.0. Credit and link back when you use it.
  • Cameo credit: thanks to Joris der G, whose original low-poly workflow inspired this skill.
  • Use CC0 models (Quaternius, Kenney, Poly Pizza CC0) or assets whose license allows commercial use. Real celebrities only as obvious low-poly parodies. Mark AI voice if the platform asks.

References

  • references/formula.md – script formula, numbers measured on top low-poly channels
  • references/shots.md – shot format, camera presets, timing
  • references/ps1-shader.md – the PS1 look, starter shader
  • references/reviewer.md – reviewer prompt and contact sheets
  • references/rules.md – 30 mistakes that already happened, so you skip them

Related Skills