3d-survey-scan
Add a replayable world-space survey pulse to an existing Three.js scene. Use for a cyan scanner that briefly traces mesh edges and passes over solid architecture, terrain or water while the camera and gameplay stay live.
Install / Use
npx skills add MengTo/Skills --skill 3d-survey-scanInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
OtherSupported Platforms
Tags
Our assessment of 3d-survey-scan
3d-survey-scan scores 88/100 on our quality scale, 140th of 364 Other skills we index (top 39%).
Its SKILL.md is 3.7 KB long, split into 5 sections with 1 code example: a solid amount of guidance for an agent.
With 6,252 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated about 2 months ago, so 3d-survey-scan is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
3d-survey-scan compared with similar skills
All 4 of these similar skills score higher than 3d-survey-scan; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| 3d-survey-scan (this skill)by MengTo | 88 | 6.3k | 2mo ago | SKILL.md |
| algorithmic-artby anthropics | 100 | 177.9k | 2mo ago | SKILL.md |
| pptxby anthropics | 100 | 177.9k | 2mo ago | SKILL.md |
| prospectingby coreyhaines31 | 100 | 62.2k | 6d ago | SKILL.md |
| ad-creativeby coreyhaines31 | 100 | 62.2k | 6d ago | SKILL.md |
Frequently asked questions
- How do I install 3d-survey-scan?
- Run
npx skills add MengTo/Skills --skill 3d-survey-scan. The install tabs above show the steps for each supported agent. - Which AI agents does 3d-survey-scan work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is 3d-survey-scan safe to use?
- It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is 3d-survey-scan still maintained?
- The repository was last updated about 2 months ago, so 3d-survey-scan is actively maintained.
Skill content
View source on GitHubname: 3d-survey-scan description: Add a replayable world-space survey pulse to an existing Three.js scene. Use for a cyan scanner that briefly traces mesh edges and passes over solid architecture, terrain or water while the camera and gameplay stay live.
3D survey scan
A survey exposes the topology of objects that are already there. In Shinonome Harbour, the wave travels from a point on the pier, traces each structure in cyan and leaves the original waterfront behind. Open the working survey and scrub the front past the end of the building.
Anchor the pulse in the scene
Choose a world-space origin at the instrument, player or point of impact. Capture it when the pulse fires. Update parent matrices before measuring the farthest participating bound. Start the radius below zero by the front's outer width and finish beyond the farthest bound plus the trailing width. A duration around four seconds worked across the harbour. Scale width and duration to the new scene.
Use one radius uniform and the same signed-distance function in the solid, line and optional water passes. Evaluate it at the rendered world position after mesh, instance and deformation transforms. A small, low-frequency perturbation shared by the passes gives an uneven front. Derive widths in scene units. This example uses a normalized distance in units of one rim width.
float d = (length(worldPosition - origin) - radius) / width;
float rim = exp(-d * d * 2.8);
float trail = smoothstep(-5.0, -1.2, d) * (1.0 - smoothstep(-0.2, 0.5, d));
float wireAlpha = 0.96 * rim + 0.46 * trail;
Light the surfaces and their edges together
Keep the original PBR shading. Mix a little blue-green into the short trail and add the narrow rim before tone mapping. Derive a restrained edge cage from the actual mesh with a crease threshold suitable for the object. The wire gets the stronger signal. Draw it with depth testing, additive blending and depth writes disabled. If coplanar edges vanish, apply the smallest clip-space depth bias that works at the closest camera. Keep back edges occluded.
Parent an object-space cage to its moving object. For static grouped geometry, transform vertices into one common frame before batching. For skinned or instanced targets, reproduce their skinning or instance transforms in the edge pass, or use a dedicated animated proxy. For water that already has a custom shader, sample the same front on the displaced water surface.
Bound the work
Cache edges and shader variants before the first pulse in an interactive scene. Replays advance uniforms from the existing render loop. For large sites, sort edge pairs into distance bins once and submit only bins intersecting the active band. Rebuild that index if the origin or static geometry changes. For a long beam, the nearest point of a segment may lie between its endpoints. Use the closest point on the segment for the lower bound and the farther endpoint for the upper bound. Expand both by the maximum front distortion.
On completion, cancellation or scene change, retire the temporary cage and restore application-owned material and pass state. A reduced-motion path can present a scrubbed still or the resting scene immediately.
Verify from the moving camera
Orbit sideways during a paused pulse. The edge and surface bands should meet at the same physical points. Sweep a rotated child and a long beam whose midpoint is closest to the origin. Replay twice and cancel halfway. Check the original lighting, reflections, shadows and idle draw calls afterward. Measure both the first pulse and a warm replay at the intended pixel ratio.
Related Skills
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
pptx
177.9kUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an em…
prospecting
62.2kWhen the user wants to find and qualify prospects for outbound, or asks who to target first, which signal to prioritize, or where to spot buyers with the problem: buying signals, enrichment, verification, account research.
ad-creative
62.2kWhen the user wants to write or judge ad creative, or asks which ad, hook, or angle to run or kill: headlines, primary text, and variations for Google, Meta, LinkedIn, and TikTok, fresh angles when creative fatigues. Test hypotheses name the metric, comparison, and expected direction.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
