Skip to main content
skill CX Codex

printed-curtain-render — Claude Code skill

printed-curtain-render turns a PNG, JPEG or WebP plus optional text into a p5.js curtain whose strands you can push around in the browser.

no license 386 installs ★ 1,732 updated 2026-10-05

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add vibe-motion/skills --skill printed-curtain-render -a claude-code
Open on GitHub

What printed-curtain-render does

A Python script, scripts/create_printed_curtain.py, builds a portable output folder holding a p5.js scene and a copy of your image. The cloth uses 40 Verlet strands, and the artwork is mapped into the material coordinates so it folds and splits along with the threads. A finished run prints VALIDATION=PASS and OUTPUT_HTML=<absolute path>.

Open the result over HTTP, not file:// — canvas security stops the browser from sampling pixels of a local file, so the curtain comes up blank. Serve it with python3 -m http.server 8000 --directory "$(pwd)/out/printed-curtain". Pointer movement pushes strands aside, H shows the controls and image picker, R rebuilds the cloth, and dropping a new image on the canvas swaps it for the session.

You need Python 3.9+ and a browser with Canvas. The script leaves a non-empty output directory alone unless you pass --overwrite. The engine derives from Jason Labbe's Dynamic ropes 2 and stays under CC BY-SA 4.0, so keep the attribution and license your changes the same way. Run it with neither --image nor --text and you get the default text curtain reading VIBE MOTION.

What it helps with

  • build an interactive curtain from a finished poster
  • print a logo into the cloth so it bends with the strands
  • show a client a live browser preview of the artwork
  • place the image on the 1200×1600 material canvas
  • swap the artwork without rebuilding the scene

Example prompts for the agent

  • Generate a curtain from poster.png with the text VIBE MOTION, output to out/printed-curtain.
  • Add a second line SPRING DROP and raise it with --text-y.
  • Rebuild with --image-fit cover and cloth color #101820.

How to install printed-curtain-render

1Skills CLI (Vercel)

npx skills add vibe-motion/skills --skill printed-curtain-render -a claude-code

2Manually: put the files in place

~/.claude/skills/printed-curtain-render/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/printed-curtain-render/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about printed-curtain-render

How do I install printed-curtain-render in Claude Code?

Run npx skills add vibe-motion/skills --skill printed-curtain-render -a claude-code. The skill lands at ~/.claude/skills/printed-curtain-render/SKILL.md.

What does printed-curtain-render do?

It generates a p5.js curtain with your artwork and text baked into the strands, each one moving on its own and parting under the pointer.

Can I preview the curtain without a local server?

No. Over file:// the canvas cannot read the artwork pixels. Serve the folder with python3 -m http.server 8000 --directory ... and open the printed URL.

Similar skills

All skills for Frontend and UI →

From the same set12

The whole set →
light-spotlight-render light-spotlight-render is a Claude Code skill that creates a standalone HTML animation revealing text with a swinging spotlight. Adjust the text and effect settings. CX Codex +1 1,100installs remotion-3d-ticker remotion-3d-ticker builds looping 3D column scroll effects for Remotion videos. Useful for multi-lane photo feeds, credits, and parallax showcases. CX Codex +1 1,100installs wechat-2d-render wechat-2d-render pulls the wechat-2d project and renders its WeChat-style 2D chat animation with Remotion. Useful when you need a clip to drop into an edit. CX Codex +1 1,000installs disney-animation-rule-skill disney-animation-rule-skill is a skill that applies Disney’s 12 principles to procedural animation in code, addressing stiff or mechanical motion in web, games, UI, and 3D. CX Codex +1 999installs threejs-earth-render threejs-earth-render clones the Three.js Earth repo, renders a globe route animation with Puppeteer frame capture, and writes a GIF or MP4. CX Codex +1 871installs brand-launch-video-star brand-launch-video-star — a skill that builds short marketing films with exact logos and real product footage. Use it when a launch needs an authentic sequence, not a generic motion template. CX Codex +1 505installs 3d-chladni-render 3d-chladni-render renders 3D Chladni particle animations—sand ripples, nodal patterns, cosmic webs—to MP4 or ProRes MOV. Supports audio-driven motion and alpha transparency. CX Codex +1 393installs colorize The colorize Claude Code skill turns photos, videos, and Live Photos into clips that shift from monochrome to color. It runs when a request calls for a color reveal with a spinning-focus effect. CX Codex +1 274installs

Project sponsors

Companies that keep this analytics open