Image to Three.js Model
img2threejs/img2threejs
Rebuilds the object in a reference image as a procedural, animation-ready Three.js model written entirely in code, using staged sculpting with quality checks.
Build a paper sheet in Three.js that reads as paper up close — washi, cotton rag or kraft with baked fibre and tooth relief, laid and chain lines, a torn deckle edge with frayed fibres, four-layer…
$ npx skills add MengTo/Skills --skill 3d-paper-material -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install MengTo/Skills 3d-paper-material --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/MengTo/Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/agent-skills/3d/3d-paper-material .claude/skills/3d-paper-material && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "3d-paper-material" agent skill from https://github.com/MengTo/Skills/tree/main/agent-skills/3d/3d-paper-material into .claude/skills/3d-paper-material/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "3d-paper-material", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/MengTo/Skills/tree/main/agent-skills/3d/3d-paper-materialType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add MengTo/Skills --skill 3d-paper-material -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install MengTo/Skills 3d-paper-material --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MengTo/Skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/agent-skills/3d/3d-paper-material .agents/skills/3d-paper-material && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "3d-paper-material" agent skill from https://github.com/MengTo/Skills/tree/main/agent-skills/3d/3d-paper-material into .agents/skills/3d-paper-material/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "3d-paper-material", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add MengTo/Skills --skill 3d-paper-material -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install MengTo/Skills 3d-paper-material --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MengTo/Skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/agent-skills/3d/3d-paper-material .cursor/skills/3d-paper-material && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "3d-paper-material" agent skill from https://github.com/MengTo/Skills/tree/main/agent-skills/3d/3d-paper-material into .cursor/skills/3d-paper-material/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "3d-paper-material", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/MengTo/Skills.git --path agent-skills/3d/3d-paper-material--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add MengTo/Skills --skill 3d-paper-material -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install MengTo/Skills 3d-paper-material --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MengTo/Skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/agent-skills/3d/3d-paper-material .gemini/skills/3d-paper-material && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "3d-paper-material" agent skill from https://github.com/MengTo/Skills/tree/main/agent-skills/3d/3d-paper-material into .gemini/skills/3d-paper-material/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "3d-paper-material", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install MengTo/Skills 3d-paper-materialInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add MengTo/Skills --skill 3d-paper-material -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/MengTo/Skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/agent-skills/3d/3d-paper-material .github/skills/3d-paper-material && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "3d-paper-material" agent skill from https://github.com/MengTo/Skills/tree/main/agent-skills/3d/3d-paper-material into .github/skills/3d-paper-material/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "3d-paper-material", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add MengTo/Skills --skill 3d-paper-material -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install MengTo/Skills 3d-paper-material --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MengTo/Skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/agent-skills/3d/3d-paper-material .opencode/skills/3d-paper-material && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "3d-paper-material" agent skill from https://github.com/MengTo/Skills/tree/main/agent-skills/3d/3d-paper-material into .opencode/skills/3d-paper-material/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "3d-paper-material", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
3d-paper-materialBuild a paper sheet in Three.js that reads as paper up close — washi, cotton rag or kraft with baked fibre and tooth relief, laid and chain lines, a torn deckle edge with frayed fibres, four-layer…
3D Paper Material is an agent skill from MengTo/Skills. Build a paper sheet in Three.js that reads as paper up close — washi, cotton rag or kraft with baked fibre and tooth relief, laid and chain lines, a torn deckle edge with frayed fibres, four-layer thickness, a rolled corner and crease, ink that wicks along the fibres, toasted aged edges, contact shadows and back-lit translucency. Use for a hung sheet, scroll, page, label, shoji pane or card that must survive a macro close-up, or when paper looks like a flat white plane, has ruler-straight edges, no thickness, or…
Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files (for example `PROMPT.md` and `agents/openai.yaml`).
It sits in Game Development, covering 3D graphics and WebGL. It works with Three.js. The repository describes itself as: Agent skills for designers and builders using Codex, Claude, Cursor, and other AI coding agents. The licence is MIT.
7 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 83a47fe. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
3D Paper Material loads about 2.4k tokens when it runs. Until then it costs about 175 tokens; SKILL.md has 1,370 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from MengTo/Skills at commit 83a47fe, republished under its MIT licence (© MengTo). 1,370 words, ~2,361 tokens.
.claude/skills/3d-paper-material/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.Paper is a fibre field cut out by a torn outline: a height map of laid fibres and formation clouds gives the surface, an alpha mask with pulled-out fibres gives the edge, offset copies give the thickness, and the back light is transmitted by how thin the formation is at each pixel. Drop any one and the sheet is a white plane.
Reach for paper-cinder-transition when the paper burns or is revealed by fire; this skill is the unburnt sheet. It is a hung or laid sheet in a scene. A page-turning book needs a bend rig this skill does not provide.
Read demo.html for a working build: MeshPhysicalMaterial patched with onBeforeCompile, maps baked once into half-float targets, masks painted with Canvas 2D. Its NOISE GLSL, formation, kozo-fibre and bark-fleck expressions, back-light transmission, tearLine and the fray loop are ported unchanged from the Kibori workshop page (kibori.html, washiMat, footTear).
R height, G formation, B fibre, A fleck to a half-float target. Height is 0.5 + fibre*0.34 + (tooth-0.5)*0.1 - fleck*0.2 - crease*0.55. Keep samples: 0 on the target and mipmaps on.(gnoise(q*2.1)-0.5)*1.5 rad. Add a finer, fainter fibre set at 2.7x frequency (max 0.55).R thin strip inside the tear, G silhouette plus fray fibres, B ink with a low-alpha bleed halo, A the silhouette blurred by a shadow drawn off to the side (edge age). Read back with getImageData and write into a DataTexture, rows flipped, alpha as data.2.6*curl) that keeps length. Add three copies offset along the normal by thick/3, 2thick/3, thick.emissive += L * tr, where tr = 0.74 + (0.5-form)*0.85 + (0.5-lowfbm)*0.45 - fibre*0.22 - fleck*0.45, times stock gain, plus the thin strip, minus ink. L is the garden behind: sky, sun patch, black bamboo stems sampled through a mip bias of 1.4.| washi | cotton rag | kraft | |
|---|---|---|---|
| tint | #f0e8d2 | #f0eee6 | #a88f70 |
| fibre lattice A / B (per unit) | 1.9x54 / 44x2.3 | 15x17 / 16x14 | 7x26 / 26x7 |
| fibre relief, bump height (unit) | 0.55, 0.0017 | 0.32, 0.0024 | 0.8, 0.0034 |
| tooth freq, amp | 230, 0.09 | 430, 0.17 | 300, 0.20 |
| laid lines /unit, amp, chain | 110, 0.28, 0 | 150, 0.55, 0.5 | none |
| tear amplitude (T,R,B,L), fray scale | 64,72,60,76; x12 | 3,58,3,54; x6 | 96,3,4,3; x8 |
| thickness (unit), transmission | 0.0045, 1.0 | 0.0085, 0.42 | 0.011, 0.16 |
| roughness, sheen | 0.93, 0.4 | 0.9, 0.25 | 0.96, 0.10 |
Scale: 1 unit = 134.8 mm (A4 is 1.55 x 2.2). Base bake 990 px/unit = 7.3 px/mm; macro window 1536 px over 0.5 unit = 22.8 px/mm. Tear samples 3400 per unit. Camera 28 degree FOV; macro distance 0.46-0.50.
tearLine runs straight, turns, runs again. Give cut sides amplitude 3-4, torn sides 60-100.smoothstep(0.62,0.85, halo + fibre*0.4 + (0.5-form)*0.5) wicks along strands. Guard the term with smoothstep(0.03,0.16, halo) or fibres far from any ink go black.smoothstep(0.5,0.12,length((fract(q*cell)-0.5)*vec2(1,1.9))).alphaTest cuts anything under 0.5. Use alphaToCoverage: true with alphaTest 0 and antialias on; four MSAA samples dither the partial alpha. Give the shadow depth material its own alphaMap and alphaTest: 0.5.perturbNormalArb normalises the surface derivatives, so slope depends on pixel size. Replace bumpmap_pars_fragment with the un-normalised Mikkelsen form and give the height in world units.getImageData into a DataTexture (rows reversed, flipY false).ctx.filter is unreliable; draw the shape offset by 20000 px with shadowOffsetX = -20000 so only its blur lands.samples: 0.The demo idles with a slow camera sway; prefers-reduced-motion renders one composed still and only re-renders on control input. It pauses on document.hidden and resets its time base on resume, clamps dt to 1/30 s, caps device pixel ratio at 2, sizes from a ResizeObserver, and eases back-light and macro with 1 - exp(-dt*k). Controls are real radios, checkboxes and ranges with focus rings and a live status line.
Idle sway about 85 fps; 325k triangles in 7 draw calls (front plus three layers is 4x81k); stock switch rebuilds in about 320 ms (masks 4 canvases, bake, geometry); macro window in about 150 ms. GPU memory about 100 MB (base target 40, macro target 25, masks 33). What costs: the four mask canvases and the tens of thousands of fray strokes. What does not: the bake pass and the normal taps. The cheap lever: base density (PPU_B); 660 px/unit halves memory and keeps overview sharp.
Extracted from the Kibori 木彫 launch page, where washi is the back-lit shoji panes, the torn footer sheet and the paper lantern; this build restages those generators on one sheet with a macro mode.
| item | score | why |
|---|---|---|
| fibre structure | 8 | warped, rotating strands, two scales; no fibre cross-overs in depth |
| deckle edge | 8 | four independent tears, fray fibres, feather strip; fibres do not shadow |
| thickness | 6 | three stepped layers; steps show at extreme rake, no cross-section fibres |
| translucency | 8 | formation-driven, stems, amber sun patch; no scattering blur by thickness |
| curl and crease | 6 | roll is convincing, crease reads faint at overview |
| ink | 6 | fibre wicking narrow; no pooling at stroke ends |
| aged edges and shadow | 6 | toast and foxing good; shadow on the wall is a hard shape |
| texel density | 8 | 22.8 px/mm in macro, 7.3 px/mm overview |
© MengTo, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 4 other files in agent-skills/3d/3d-paper-material of MengTo/Skills.
Open the folder on GitHubat commit 83a47fe
3D Paper Material next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| 3D Paper Material this skillMengTo/Skills | 6.7k | — | ~2.4k | Automated safety check: Pass | MIT | |
| Image to Three.js Modelimg2threejs/img2threejs | 18k | 1 repos | ~8.2k | Automated safety check: Pass | Apache-2.0 | |
| Web CloneJane-xiaoer/claude-skill-web-clone | 1k | 1 repos | ~2.7k | Automated safety check: Pass | MIT | |
| Threejs Game Directormajidmanzarpour/threejs-game-skills | 2.5k | — | ~2.2k | Automated safety check: Pass | MIT | |
| Threejs Gameplay Systemsvalkor-ai/loom | 1.2k | 1 repos | ~1.4k | Automated safety check: Pass | Apache-2.0 | |
| Threejs World Generationcalesthio/OpenMontage | 66k | — | ~2k | Automated safety check: Pass | AGPL-3.0 |
img2threejs/img2threejs
Rebuilds the object in a reference image as a procedural, animation-ready Three.js model written entirely in code, using staged sculpting with quality checks.
Jane-xiaoer/claude-skill-web-clone
网站复刻 / 克隆方法论。USE WHEN 用户说 复刻网站、克隆网站、clone website、抄个站、仿站、 照着这个站做一个、reproduce site、还原某个网页效果、把这个站搬下来改成我的、 复刻某个交互/WebGL/Canvas/Three.js 效果。提供「先拿真源码 → 判路径 → 逆向拆解 → 搭工程 → 替换内容」的可移植决策树,覆盖静态站 /…
majidmanzarpour/threejs-game-skills
Entrypoint for building, upgrading, and finishing Three.js browser games.
valkor-ai/loom
Build and iterate playable Three.js game systems: starter scaffold, architecture, design briefs, core loops, level and encounter design, entities, input, camera, collision and physics, scoring…
calesthio/OpenMontage
Build deterministic, editable, free-viewpoint Three.js worlds from text or structured briefs.
viettranx/3dviz-pro-max
Guides building an expressive 3D scene in Three.js or Blender by reasoning through intent, object construction and scientific grounding before using a catalog of recipes and kits.
MengTo/Skills
Draws hand-authored SVG spot illustrations in a bold pop-geometric style for design and coding scenes.
MengTo/Skills
Draws a slim, long-limbed character acting out one coding or design moment as an outline-free flat SVG card, in a fixed measured palette with confetti and no ground line.
MengTo/Skills
Draws flat vector spot illustrations of lanky people doing design and coding things, with solid black as a main fill, for empty states, onboarding and error pages.
MengTo/Skills
Draws cozy animal scenes as hand-authored 480x360 SVG cards in a grainy, risograph-like gouache style on hot pink, for empty states, headers and marketing cards.
MengTo/Skills
Draws hand-authored SVG spot illustrations in a halftone line style for design and coding scenes.
MengTo/Skills
Draws hand-inked cartoon critters and living objects as SVG cards (480x360), each acting out a coding or design idea.
Works with
Categories
Build a paper sheet in Three.js that reads as paper up close — washi, cotton rag or kraft with baked fibre and tooth relief, laid and chain lines, a torn deckle edge with frayed fibres, four-layer…. 3D Paper Material is an agent skill from MengTo/Skills.js that reads as paper up close — washi, cotton rag or kraft with baked fibre and tooth relief, laid and chain lines, a torn deckle edge with frayed fibres, four-layer thickness, a rolled corner and crease, ink that wicks along the fibres, toasted aged edges, contact shadows and back-lit translucency.
3D Paper Material fits situations like: card that must survive a macro close-up; paper looks like a flat white plane; has ruler-straight edges; does not glow when lit from behind.
Run `npx skills add MengTo/Skills --skill 3d-paper-material -a claude-code`. Or copy the skill folder (agent-skills/3d/3d-paper-material in MengTo/Skills) into .claude/skills/3d-paper-material in your project. Claude Code loads it when a task matches its description.
Run `npx skills add MengTo/Skills --skill 3d-paper-material -a codex`. Or copy the skill folder (agent-skills/3d/3d-paper-material in MengTo/Skills) into .agents/skills/3d-paper-material in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add MengTo/Skills --skill 3d-paper-material -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/3d-paper-material, .gemini/skills/3d-paper-material, .github/skills/3d-paper-material and .opencode/skills/3d-paper-material in your project.
SKILL.md names no scripts, command-line tools or credentials: 3D Paper Material is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
3D Paper Material is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.4k tokens (SKILL.md is roughly 9.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with 3D Paper Material: Image to Three.js Model (img2threejs/img2threejs, 18k stars), Web Clone (Jane-xiaoer/claude-skill-web-clone, 1k stars), Threejs Game Director (majidmanzarpour/threejs-game-skills, 2.5k stars) and Threejs Gameplay Systems (valkor-ai/loom, 1.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
MengTo (a GitHub user) maintains it in MengTo/Skills, which has 6,675 GitHub stars. The repository holds 39 skills in this directory. The repository was last updated on October 6, 2026.
Source: MengTo/Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.