threejs-geometry
Build and Optimize Three.js Geometry
Three.js geometry work requires careful choices about vertex data, draw calls, and renderer compatibility. This skill provides focused examples for shapes, custom buffers, instancing, and WebGPU adaptations.
Instalar com meu Agente
Copie esta solicitação para o seu Agente. Ela inclui a página canônica do Skill e o manifesto.
Review the Skillstore skill "threejs-geometry" from https://skillstore.io/skills/cloudai-x-threejs-geometry.md and its manifest at https://skillstore.io/api/skills/cloudai-x-threejs-geometry/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.Seu Agente ainda deve apresentar o plano e solicitar qualquer confirmação exigida pela política de segurança.
Recursos legíveis por agentes
Use estes links quando um agente de IA, crawler ou script precisar de contexto limpo em vez de ler a página completa.
Testar
Usando "threejs-geometry". How should I render 1,000 colored boxes efficiently?
Resultado esperado:
- Use InstancedMesh when all boxes share geometry and a compatible material.
- Assign each transform and color, then mark the instance matrix and color buffers for upload.
- Refresh bounding volumes after movement and use the raycast instance identifier to select individual boxes.
Usando "threejs-geometry". My large points and closed line disappear or look different under WebGPU. What should change?
Resultado esperado:
- The WebGPU backend renders point primitives at one pixel regardless of material size.
- Use an instanced Sprite with PointsNodeMaterial for larger points.
- Replace LineLoop with Line and repeat the first point at the end to close the shape.
Usando "threejs-geometry". What must I update after changing vertex positions?
Resultado esperado:
- Mark the position attribute for upload after editing its values.
- Recompute vertex normals when the surface shape changes.
- Refresh the bounding box and bounding sphere for culling and raycasting.
Auditoria de segurança
SeguroAll 72 static findings are false positives caused by Markdown code fences or inline code, not Ruby or shell execution. The source provides Three.js geometry examples, including a relative font asset request. No evidence found of prompt injection, credential access, data exfiltration, or malicious instructions.
Fatores de risco
⚙️ Comandos externos (50)
Compartilhar e citar este relatório
Compartilhe o relatório de avaliação versionado, o badge neutro, o cartão incorporável e as citações. A Skillstore apresenta evidências sem decidir se este Skill é seguro.
Copiar link do relatório
https://skillstore.io/skills/cloudai-x-threejs-geometry/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportBadge Markdown
[](https://skillstore.io/skills/cloudai-x-threejs-geometry?utm_source=security_passport_badge)Badge HTML
<a href="https://skillstore.io/skills/cloudai-x-threejs-geometry?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/cloudai-x-threejs-geometry/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Cartão incorporável
<iframe src="https://skillstore.io/embed/skills/cloudai-x-threejs-geometry.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Citações acadêmicas (APA · BibTeX · CFF)
Citação APA
cloudai-x. (2026). threejs-geometry security audit report (audit version 1) [Author version unspecified]. Skillstore. https://skillstore.io/skills/cloudai-x-threejs-geometry/audits/1Citação BibTeX
@techreport{cloudai-x-cloudai-x-threejs-geometry-2026,
author = {cloudai-x},
title = {threejs-geometry security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/cloudai-x-threejs-geometry/audits/1},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "threejs-geometry security audit report (audit version 1)"
version: "unspecified"
type: report
authors:
- name: "cloudai-x"
date-released: "2026-11-07"
url: "https://skillstore.io/skills/cloudai-x-threejs-geometry/audits/1"
identifiers:
- type: other
value: "skillstore:cloudai-x-threejs-geometry:audit:1"
description: "Skillstore immutable audit report identifier"
Pontuação do Skillstore
Por que esta pontuação Confiança das evidências: MédioO que você pode criar
Prototype Interactive 3D Shapes
Choose built-in or path-based geometry and add text, edges, and wireframes to a browser scene.
Optimize Repeated Scene Objects
Compare instancing, batching, and static merging while managing transforms, colors, bounds, and shared resources.
Adapt Visualizations for WebGPU
Replace unsupported line loops, adapt point sizing, and express per-instance offsets with TSL nodes.
Teste estes prompts
Use threejs-geometry to create a rotating box in Three.js r186 with WebGLRenderer and MeshNormalMaterial. Include scene, camera, and render-loop setup.
Create an indexed quad using BufferGeometry with positions, normals, UVs, and normalized byte colors. Explain attribute sizes and updating one vertex safely.
Replace 1,000 identical box meshes with InstancedMesh, preserving transforms and colors. Include runtime updates, bounds refresh, raycast instance identification, and shared-resource disposal guidance.
Adapt a Three.js r186 scene with large points, closed lines, and custom instance offsets for WebGPURenderer. Use sprite-based points, repeated endpoints, and TSL positionLocal.
Boas práticas
- Confirm your Three.js version and renderer backend before applying examples, especially for WebGPU-specific behavior.
- Match attribute layouts and index state before merging or batching geometries; refresh bounds after geometry or instance movement.
- Share geometry deliberately, choose segment counts carefully, and dispose resources only when their users no longer need them.
Evitar
- Creating separate draw calls for thousands of identical meshes without considering InstancedMesh.
- Editing vertex or instance data without upload flags or refreshed bounding volumes.
- Assuming WebGL point sizes, line loops, or ShaderMaterial code transfer unchanged to WebGPURenderer.