threejs-visual-validation
Skill1.1k starsChanged 4 days agoMITView on GitHub
Validate advanced Three.js graphics as authored systems rather than subjective screenshots. Use for fixed-view visual contracts, per-layer isolation and gap attribution, quantitative region/local-contrast/glow/horizon-barcode measurements (measure.py), 0.3 px visual flicker sweeps, single-sided clay checks, field and pass diagnostics, no-post baselines, seed sweeps, camera-scale tests, temporal stability checks, cost-by-redesign rules, GPU budgets, and regression evidence for procedural scenes.
3 other projects use a version of this, 2 of them edited.
Adopted by
Most recently taken up by
- iberi22/skillsedited, first seen Oct 15, 2026
- linegel/threejs-complete-set-of-skilltheir own version, first seen Jul 28, 2026
- jorgeasaurus/agent-skillsedited, first seen May 11, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 2
- jorgeasaurus/agent-skills★ 1458% same
- iberi22/skills★ 058% same
Wrote their own version · 1
- linegel/threejs-complete-set-of-skill★ 9same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository29 other files it gives its agents.
- .codex/AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- threejs-atmosphere-aerial-perspectiveSkill
- threejs-bloomSkill
- threejs-camera-directionSkill
- threejs-exposure-color-gradingSkill
- threejs-image-pipelineSkill
- threejs-lighting-and-giSkill
- threejs-parallax-occlusion-mappingSkill
- threejs-precipitation-surfacesSkill
- threejs-procedural-animationSkill
- threejs-procedural-architectureSkill
- threejs-procedural-fieldsSkill
- threejs-procedural-geometrySkill
- threejs-procedural-materialsSkill
- threejs-procedural-planetsSkill
- threejs-procedural-vegetationSkill
- threejs-procedural-vfxSkill
- threejs-raymarched-space-effectsSkill
- threejs-reference-readingSkill
- threejs-screen-space-ambient-occlusionSkill
- threejs-shadow-systemsSkill
- threejs-skill-routerSkill
- threejs-spectral-oceanSkill
- threejs-temporal-stabilitySkill
- threejs-temporal-surfacesSkill
- threejs-terrain-and-landscapesSkill
- threejs-volumetric-cloudsSkill
- threejs-water-opticsSkill
The file
We split this skill into the rules it gives an agent
3 rules. 1 is common, 0 are distinctive, and 2 are very specific to this project.
1
Common
Most of the 3 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
Test the intended camera-distance envelope (near, design, far, plus 4+ orbit angles).
- Very specific: line 18
Test motion and temporal stability ($threejs-temporal-stability).
- Common: line 20
Keep a small regression set tied to visual invariants.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Visual Validation
Evaluate the mechanism that creates the image and measure visual gaps objectively. A pleasing hero screenshot can hide unstable fields, broken depth, surface flatness, horizon barcodes, seed failures, or post-processing dependence.
Validation sequence
- Freeze deterministic inputs.
- Inspect structure in single-sided clay and run sub-pixel (
~0.3 px) flicker sweeps across hero, orbit, and junction views. - Capture per-layer isolation views (albedo, clay sun-only, clay sun+sky+GI, pre-grade, no-post baseline, final) and system-specific diagnostics.
- Measure region percentiles,
p1black level,8×8local contrast, saturation, glow falloff, and open-water horizon stripes (scripts/measure.py) and attribute every gap to its owning layer. - Test the intended camera-distance envelope (
near,design,far, plus4+orbit angles). - Sweep representative seeds and parameter extremes.
- Test motion and temporal stability (
$threejs-temporal-stability). - Record image, geometry, memory, and timing budgets; optimize expensive features via cost by redesign (baking, structural LOD, stable amortisation) rather than blind resolution cuts.
- Keep a small regression set tied to visual invariants.
Read references/graphics-validation-protocol.md for visual contracts, required inspection controls, mechanism-specific evidence, temporal checks, budgets, and explicit rejection criteria.
Read references/measured-comparison-and-attribution.md (and optional scripts/measure.py) for per-layer isolation and gap attribution, raycast pixel verification, quantitative region/flatness/ glow/barcode metrics, sub-pixel flicker sweeps, and cost-by-redesign rules.
Required evidence
- fixed camera and seed manifest;
- per-layer isolation captures (albedo, single-sided clay, pre-grade, no-post, final);
- field/pass diagnostic mosaic and quantitative region measurements;
- near, design, far, and orbit camera views plus sub-pixel flicker sweep;
- open-water horizon stripe check (
measure.py --stripes) when water reaches the horizon; - at least one stress seed;
- frame-time and render-target inventory;
- written invariants and known compromises.
Failure conditions
- approval relies on a single hero still frame;
- structure is signed off in double-sided clay that hides flipped faces;
- metrics match mean color while
8×8local contrast hides flat surfaces; - gaps are patched in color grading instead of attributed to their owning layer;
- post-processing cannot be disabled per pass;
- random seeds are not reproducible;
- GPU time is inferred only from CPU frame time, or cost is cut by degrading core phenomena;
- temporal artifacts are judged from still images;
- comparison thresholds ignore intentional stochastic pixels without stabilizing them.
Routing boundary
This skill evaluates an implementation and attributes gaps to owning layers; it does not supply rendering mechanisms. Use $threejs-reference-reading to decode a visual reference up front, $threejs-temporal-stability for motion-only bisection, and the owning subject/lighting/post skill to implement each fix.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

