anbeime/skill / skills/img2threejs/img2threejs
img2threejs
VerifiedTurn an object or character reference image into a quality-gated, animation-ready procedural Three.js model built in code. Use for image-to-3D reconstruction, detail-accurate object rebuilds, stylized/likeness-maximized human characters, sculpt specs, and staged code generation.
forge/tests/fixtures/stand_proud_hair_on_head.json
View on GitHub{
"targetName": "StandProudHead",
"schemaVersion": "2.1",
"suitability": "pass",
"coordinateFrame": {"up": "y", "forward": "z", "handedness": "right"},
"silhouette": {"summary": "A head with hair masses held clear of the skull."},
"proceduralStrategy": ["skull as a ring stack", "hair as masses that must stand proud of it"],
"materials": [
{"id": "skin", "color": "#c9a08a"},
{"id": "hair", "color": "#2b2118"}
],
"componentTree": [
{
"id": "head",
"name": "Head",
"primitive": "lathe",
"material": "skin",
"role": "head",
"level": "macro",
"topologyClass": "assembled-solid",
"topologyRationale": "a closed skull volume the hair sits on",
"dimensions": {"width": 0.4, "height": 0.5, "depth": 0.42},
"geometryDescriptor": {
"ringStack": {
"_note": "A lathe is a REVOLVE, so it is circular before geometry.scale: rx must equal rz here, and the ellipticity comes from dimensions (width 0.4, depth 0.42). Authoring rx != rz double-counts it -- the first version of this fixture had rz 10-33% wider than the geometry it claimed to describe.",
"rings": [
[-0.25, 0.12, 0.12],
[-0.10, 0.19, 0.19],
[0.00, 0.20, 0.20],
[0.12, 0.19, 0.19],
[0.25, 0.15, 0.15]
],
"zOffsets": [0.01, 0.03, 0.02, 0.00, -0.02]
},
"latheProfile": {
"points": [[0.12, -0.25], [0.19, -0.10], [0.20, 0.0], [0.19, 0.12], [0.15, 0.25]],
"segments": 16
}
}
},
{
"id": "hair-crown",
"name": "Hair crown",
"primitive": "tapered-sweep",
"material": "hair",
"role": "hair",
"parent": "head",
"level": "meso",
"topologyClass": "assembled-solid",
"topologyRationale": "a solid mass of hair over the top of the skull",
"dimensions": {"width": 0.42, "height": 0.22, "depth": 0.44},
"standProud": {"againstComponentId": "head", "clearance": 0.012, "maxPush": 0.04},
"rootTipGradient": {"rootColor": "#1a1310", "tipColor": "#4a3a2c", "axis": "y"},
"geometryDescriptor": {
"taperedSweep": {
"stations": [
{"position": [0.0, -0.18, -0.16], "rx": 0.16, "rz": 0.12},
{"position": [0.0, 0.02, -0.02], "rx": 0.19, "rz": 0.15},
{"position": [0.0, 0.16, 0.14], "rx": 0.10, "rz": 0.08},
{"position": [0.0, 0.22, 0.24], "rx": 0.0, "rz": 0.0}
],
"radialSegments": 10
}
}
},
{
"id": "hair-temple-l",
"name": "Hair temple L",
"primitive": "ellipsoid",
"material": "hair",
"role": "hair",
"parent": "head",
"level": "meso",
"topologyClass": "assembled-solid",
"topologyRationale": "a side mass that must not sink into the skull",
"dimensions": {"width": 0.10, "height": 0.20, "depth": 0.22},
"transform": {"position": [0.17, 0.0, 0.0]},
"standProud": {"againstComponentId": "head", "clearance": 0.010, "maxPush": 0.035}
}
]
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirements | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |