by dannystuart
A Claude skill that turns any 3D model into a marker sketch that draws itself on, then wipes to the real render. Video or live on the web.
# Add to your Claude Code skills
git clone https://github.com/dannystuart/sketch-to-3dGuides for using ide extensions skills like sketch-to-3d.
See how sketch-to-3d compares with popular alternatives.
sketch-to-3d is an open-source ide extensions skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by dannystuart. A Claude skill that turns any 3D model into a marker sketch that draws itself on, then wipes to the real render. Video or live on the web. It has 56 GitHub stars.
sketch-to-3d's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/dannystuart/sketch-to-3d" and add it to your Claude Code skills directory (see the Installation section above). sketch-to-3d ships a SKILL.md manifest, so compatible agents can discover and load it automatically.
sketch-to-3d is primarily written in JavaScript. It is open-source under dannystuart on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other IDE Extensions skills you can browse and compare side by side. Open the IDE Extensions category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh sketch-to-3d against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars
Available after the catalog security scan passes.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM lists this project for discovery and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Draws a 3D object as a designer's marker sketch, then wipes to the real render. Video and web use the same engine, so they match.
Order of the draw-on (6.9 s, or 5.8 s without colour): circles on round parts, box guides, main outer lines, a faint pencil pass, darker tracing, marker fill with a hatched shadow, the colour stage, the wipe to the render.
Run commands from this skill's folder. First time only: pnpm install (or npm install). Needs Node 18+ and ffmpeg. If Chromium is missing: npx playwright install chromium.
node scripts/render.mjs <model> --out <dir> --only stills --size <final size>
--size and look options you'll use for the final output, so the stills are framed the same way. The web version defaults to 1080x1080.stills/construct.png, lines.png, sketch.png, colour.png (if the colour stage is on) and real.png.engine/.node scripts/render.mjs <model> --out <dir> --size <same size> [--alpha | --prores] [--hold 1]node scripts/web.mjs <model> --out <dir> --play scroll --end spin. Its preview page has a tab for each way of playing, so the user can choose. Only <dir>/sketch-to-3d/ goes on the site. See references/web.md.report.json passes. lines only build runs only on a full video, not on stills or web.moments.png, or at the web preview served over http.For an object built in code, use --code <module.js> instead of a model path. The module exports default (THREE) => Object3D (async is fine). For an existing three.js scene, write a small module like this that returns the object to sketch.
| Option | Use |
|---|---|
--size WxH |
Video frame, or the web element's shape. Any shape: 1080x1920 (vertical), 1080x1080 (square), 1920x1080 (wide), 3840x2160 (4K) |
--look marker|classic |
marker (default) is the full look. classic is the earlier, plainer one |
--pal whitePaper|redSheet|pencil|blueprint |
Paper and ink colours. Default whitePaper |
--az 38 --el 24 |
Camera angle in degrees (around, and up) |
--rot, --rotX |
Turn the object itself, in degrees (for models that face the wrong way or lie on their side) |
--fit 1.35 |
Framing. Smaller is closer. Thin parts like an aerial make objects sit small: try 1.0. The inside the frame check catches going too far |
--aim x,y,z |
Move the aim point, as a share of the object's size. A negative y moves the object up the frame: use it when a tall thin part (an aerial) leaves the body sitting low, e.g. 0,-0.12,0. For a close-up on one part: 0.25,0,0 with --fit 0.55 |
--turn 2.2 |
Camera turn during the draw-on, in degrees per second (0 = still camera) |
--no-colour |
Skip the colour stage |
--studio '#hex' |
The render's background. Video default: a light warm grey. When someone asks for red paper, keep it red with --studio '#D9261C'. The web version defaults to the paper colour |
--stop sketch|colour |
End the draw-on on the finished sketch, or on the colour stage, instead of the render |
--hold 1 |
Extra seconds on the finished render at the end. Without it the render shows for about half a second; 1 is good for social video |
--drop a,b |
Leave out meshes or materials by name (display stands, floors, backdrops) |
--tone name=skip |
Per material: skip (hide in the sketch; use for clear glass over a dial), dark, mid, light |
--no-circles |
No circle guides (for organic shapes where they land on odd parts) |
--at 1,2.5 |
render.mjs: also save single frames at these seconds |
--alpha |
render.mjs: also write a see-through .mov (HEVC with transparency, small). Opens in Final Cut, DaVinci, Keynote, and Premiere on a Mac |
--prores |
Like --alpha, but ProRes 4444: opens in any editor, about 20x larger |
render.mjs writes into --out:
| File | What it is |
|---|---|
<name>.mp4 |
The draw-on video |
<name>-seethrough.mov |
Only with --alpha or --prores. Paper is transparent, ink and the final render keep their colour. For laying over other footage. If an editor shows black where it should be clear, use --prores |
stills/*.png |
One still per stage |
moments.png |
Ten frames on one sheet, for review |
report.json |
The model report, warnings and checks |
web.mjs writes:
sketch-to-3d/, the only folder that goes on the site:
sketch-player.js (three.js included)decoders/, only for compressed modelsposter.jpgindex.html, a preview pagesnippet.html, the code to pastereport.json--drop, or it gets drawn as part of the object.--tone <material>=skip so the dial or display under it shows in the sketch.engine/sketch.js is a copy of the approved "marker v1" look. Tune one object with the options above.
If the engine itself must change, keep these rules:
The lines only build check in report.json catches the first rule. It measures with the camera held still, so a failure means lines really disappear.
A skill for Claude that turns any 3D model into a marker sketch that draws itself on, then wipes to the real render. You get a video at any size, or a live version for your website.
The drawing goes in the order a designer would: circles on the round parts, a construction box, the outer lines, a faint pencil pass, darker tracing, marker fill with a hatched shadow, colour, and then a wipe to the real thing. About seven seconds.
Works with GLB, GLTF, OBJ, FBX, STL, PLY, USDZ, 3MF and DAE files, objects built in three.js code, and existing three.js scenes.
You need Claude Code, Node 18 or newer, git and ffmpeg (on a Mac: brew install ffmpeg). pnpm is optional; npm works too.
Paste these into a terminal, one line at a time:
git clone https://github.com/dannystuart/sketch-to-3d.git ~/.claude/skills/sketch-to-3d
cd ~/.claude/skills/sketch-to-3d
pnpm install
(No pnpm? npm install does the same.)
npx playwright install chromium
That last one downloads the browser the skill draws in: about 500 MB, once. If that exact version is already on your computer, it finishes straight away.
Check it works. This takes a few seconds and saves five pictures of a desk lamp, one per stage, in test-lamp/stills/, plus a report.json:
node scripts/render.mjs --code evals/lamp-code-video/files/lamp.js --out test-lamp --only stills
You should see three lines starting with ok. A line starting with FAIL is the skill's self-check saying something needs adjusting, usually the framing (--fit). Claude reads these and fixes them for you.
Then start a new Claude Code session so it picks up the skill.
Plain words are enough. Claude picks the size, paper and framing, shows you stills of each stage first, then makes the video.
Make a marker sketch video of chair.glb, square, for Instagram.
I built a desk lamp in three.js code (lamp.js). Turn it into a sketch-to-render video, widescreen, and give me a see-through version I can drop over other footage in Premiere.
Make a red-paper sketch of boombox.glb. Skip the colour, go straight from the sketch to the real thing. Frame it a bit tighter.
I've got a kettle as an OBJ. Put it on my product page so it sketches itself in as people scroll, and they can drag to spin it at the end.
Just the sketch of my chair, no render, on pencil paper.
Video (render.mjs)
| File | What it is |
|---|---|
<name>.mp4 |
The draw-on video, any size |
<name>-seethrough.mov |
Optional. The paper is see-through, for laying over other footage |
stills/*.png |
One picture per stage, for checking before the video is made. With a see-through version, also seethrough-check.png |
moments.png |
Ten frames on one sheet, for review |
report.json |
What's in the model, any warnings, and the self-checks |
Web (web.mjs)
| File | What it is |
|---|---|
sketch-to-3d/ |
The only folder that goes on your site: the player (three.js included), your model, a poster image |
index.html |
A preview page with a tab for each way of playing, each with its own code |
snippet.html |
The code to paste: plain HTML (Webflow and Framer embeds too) and a React / Next.js component |
report.json |
The checks, and the folder's size |
The web version can play on load, when it scrolls into view, tied to scrolling, pinned while the page scrolls past, on hover or on click. It can hold on the render, loop, or let people drag to turn it. People who turn off motion in their settings see the finished render straight away. More in references/web.md.
You don't need Claude to use it. From the skill folder:
node scripts/render.mjs chair.glb --out chair --size 1080x1080
node scripts/web.mjs chair.glb --out chair-web --play scroll --end spin
For an object built in code, use --code lamp.js instead of a model file. The file exports default (THREE) => Object3D.
To preview the web version, the page has to be served over http, because a page opened straight from disk can't load the model. In the output folder:
python3 -m http.server 8000 --bind 127.0.0.1
Then open http://127.0.0.1:8000.
These work for both render.mjs and web.mjs.
| Option | What it does |
|---|---|
--size WxH |
Frame size. 1080x1920 vertical, 1080x1080 square, 1920x1080 wide, 3840x2160 4K. Video default 1080x1920, web default 1080x1080 |
--pal |
Paper and ink: whitePaper (default), redSheet, pencil, blueprint |
--look |
marker (default) or classic, an earlier, plainer look |
--az 38 --el 24 |
Camera angle in degrees: around, and up |
--rot, --rotX |
Turn the object itself, for models that face the wrong way or lie on their side |
--fit 1.35 |
Framing. Smaller is closer |
--aim x,y,z |
Move the aim point, as a share of the object's size. 0,-0.12,0 moves the object up the frame |
--turn 2.2 |
How fast the camera turns while drawing, in degrees per second. 0 holds it still |
--no-colour |
Skip the colour stage |
--stop sketch|colour |
End on the finished sketch, or on the colour stage, instead of the render |
--studio '#hex' |
The render's background colour |
--hold 1 |
Extra seconds on the finished render at the end |
--drop a,b |
Leave out parts or materials by name (stands, floors, backdrops) |
--tone name=skip |
Per material: skip (hide it, e.g. clear glass over a dial), dark, mid, light |
--no-circles |
No circle guides |
--only stills |
render.mjs: just the stills and report, in seconds |
--at 1,2.5 |
render.mjs: also save single frames at these seconds |
--alpha |
render.mjs: also write a see-through .mov (a few times the size of the mp4). Mac only. Opens in Final Cut, DaVinci, Keynote, and Premiere on a Mac |
--prores |
render.mjs: a see-through .mov that opens in any editor and can be made on any computer. About 20x larger |
--play, --end |
web.mjs: how it plays and how it ends. See references/web.md |
--drop.--tone <glass material>=skip fixes that.--studio '#hex'.| Folder | What it is |
|---|---|
SKILL.md |
The instructions Claude reads |
engine/ |
The drawing itself (three.js) and the web player |
scripts/ |
render.mjs (video) and web.mjs (web) |
references/ |
More detail on the web version |
evals/ |
Three test cases: a lamp in code, a boombox GLB and a kettle OBJ |
site/ |
The demo page. Not needed to use the skill |
docs/ |
The preview image above |
MIT. Use it for anything, including client work.