3d-paper-material
Skill by MengTo
3d-paper-material builds a paper sheet in Three.js that holds up in macro close-up. It covers washi, cotton rag and kraft, with torn edges, thickness, a rolled corner and back-lit translucency. It suits hung sheets, scrolls, pages, labels, shoji panes and cards.
Install 3d-paper-material
Built from the published package, never by AI.
git clone --depth 1 https://github.com/MengTo/Skills /tmp/Skills && mkdir -p ~/.claude/skills && cp -r /tmp/Skills/agent-skills/3d/3d-paper-material ~/.claude/skills/3d-paper-materialRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/MengTo/Skills /tmp/Skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Skills/agent-skills/3d/3d-paper-material ~/.gemini/antigravity-cli/skills/3d-paper-materialAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides an assistant to build a paper sheet in Three.js. It bakes a height map of laid fibres and formation clouds, then cuts the outline with four independent tear lines and frayed fibres. Offset copies add thickness, and the back light is transmitted through thin areas of the formation. Ink wicks along the fibres, and the edges can be toasted and aged.
The source includes a demo file with a MeshPhysicalMaterial patched through onBeforeCompile, and masks painted with Canvas 2D. It also describes a macro mode that re-bakes a higher-resolution window at a focus point. The skill is for developers who need a paper sheet, scroll, page, label, shoji pane or card that must look real up close. It does not cover page-turning books or burning paper.
Written from the project's SKILL.md and checked against it.
What it can do
- Fibre height mapBakes laid fibres, formation and tooth relief into a half-float target in one GPU pass.
- Torn deckle edgeCuts the outline with four independent tear lines and paints pulled-out fibres at the edge.
- Layered thicknessAdds three offset copies behind the front layer to give the sheet a visible edge.
- Rolled corner and creaseShapes a cylinder roll and a mountain crease with pin dimples on the sheet.
- Ink wickingSpreads ink along fibre strands using a halo mask and formation values.
- Aged edgesApplies toast and foxing bands to the edges using a shadow-based age mask.
- Back-lit translucencyTransmits a background garden through thin formation, with fibre bundles and ink holding light back.
- Macro windowRe-bakes a higher-resolution height map and mask over a 0.5 unit window at the focus point.
- Paper stock presetsProvides washi, cotton rag and kraft settings for tint, fibre scale, roughness and tear amplitude.
What you need
- Three.js
Try asking
- Build a washi shoji pane in Three.js with a torn edge and back-light glow.
- Make a kraft label card in Three.js with ink that wicks along the fibres.
- Add a rolled corner and crease to my Three.js paper sheet so it reads as paper up close.
Good to know
- Does not provide a bend rig for page-turning books.
- For burning or fire-revealed paper, use paper-cinder-transition instead.
- Edge fibres may show a hard shape on the wall as shadow, and thickness steps show at extreme rake.
- Macro quality depends on the re-baked window; a tiled small texture shows its seam.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: agent-skills/3d/3d-paper-material/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
PROMPT.md3 KB -
SKILL.md9 KB -
agents/openai.yaml318 B -
demo.html51 KB -
preview.jpg124 KB
Alternatives to 3d-paper-material
All alternatives →PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.
Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.
Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.
Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.
Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.
Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.
Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration
3d-paper-material: common questions
Can this skill make a paper sheet look real when viewed close up?
Yes. The source says it is built to survive a macro close-up, using a macro window re-bake at about 22.8 px/mm.
Which paper types does it cover?
The source gives constants for washi, cotton rag and kraft, covering tint, fibre scale, tear amplitude, thickness and roughness.
Should I use this skill for wood, cloth or metal?
No. The source says to use 3d-wood-material, 3d-cloth-material or 3d-metal-material for those materials.
How do I install 3d-paper-material?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is 3d-paper-material free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is 3d-paper-material safe to use?
It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to 3d-paper-material?
Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.
