light-a-threejs-workspace
Construct a procedural Three.js desk interior with textured furniture, a window and blinds, shadowed volumetric daylight, and coupled lighting presets.
Install / Use
npx skills add MengTo/Skills --skill light-a-threejs-workspaceInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
OperationsSupported Platforms
Tags
Our assessment of light-a-threejs-workspace
light-a-threejs-workspace scores 88/100 on our quality scale, 355th of 755 Operations skills we index (top 48%).
Its SKILL.md is 3.2 KB long, split into 4 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 light-a-threejs-workspace 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.
light-a-threejs-workspace compared with similar skills
All 4 of these similar skills score higher than light-a-threejs-workspace; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| light-a-threejs-workspace (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 light-a-threejs-workspace?
- Run
npx skills add MengTo/Skills --skill light-a-threejs-workspace. The install tabs above show the steps for each supported agent. - Which AI agents does light-a-threejs-workspace 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 light-a-threejs-workspace 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 light-a-threejs-workspace still maintained?
- The repository was last updated about 2 months ago, so light-a-threejs-workspace is actively maintained.
Skill content
View source on GitHubname: light-a-threejs-workspace description: Construct a procedural Three.js desk interior with textured furniture, a window and blinds, shadowed volumetric daylight, and coupled lighting presets.
Light a Three.js workspace
Block the desk, window, floor, monitor and chair in a single world coordinate system. Set the camera and choose the sun direction before detailing props. Leave visible receivers for the light: a matte wall, a wood top, and a dark object crossing the beam make different errors visible.
Build surfaces at real scale
- Give the sill and wall opening thickness. Instance the blind slats. Share their spacing, tilt, opening height and wind phase between visible geometry and any analytical window-visibility function.
- Generate seeded wood grain along the board’s long axis. Vary pore frequency and roughness at a finer scale than the color grain. Mip-map repeated materials and use anisotropy where the desktop recedes. Give the top and end grain different UV orientations when they are both visible.
- Round silhouette edges that should catch light. Separate the monitor shell, stand, emissive display, keyboard caps and chair base so metal, glass, paint and upholstery respond independently. Keep the monitor and turning stand beneath the same pivot.
- Light the room with a window key, broad sky fill and a practical lamp. Use linear color for lighting and tone-map once at output. Change direction, exposure, emissive color and sky/sun ratio together for a time-of-day preset. A storm favors diffuse skylight. Moonlight needs direction and a readable exposure.
Integrate shafts through visible air
Render opaque geometry with a sampleable depth texture. Reconstruct the eye ray and first surface from the projection used for that frame. March only through the room interval in front of that surface. For each world-space sample, project toward the sun to test the window aperture and blind occlusion. If an object outside or inside can cast into the shaft, include its light-space depth or transmittance in that test.
For a segment of length ds with extinction sigmaT and scattering sigmaS, use a step-size-independent accumulation:
float remain = exp(-sigmaT * ds);
scatter += transmission * (1. - remain) * (sigmaS / sigmaT)
* visibleSun * sunRadiance * phase;
transmission *= remain;
Add the attenuated surface radiance after the march. Keep extinction positive or use its zero-density limit. Jitter sample positions slightly to break up march bands. If the integration target runs at reduced resolution, use scene depth when resolving across plant, slat and monitor silhouettes. Sparse dust motes can reveal motion inside the volume.
Verify the coupling
Move the blind slowly while looking at a beam and its landing on the desk. Both should change from the same aperture. Slide the camera sideways and check that air stays behind the monitor. Compare a low and high sample count at fixed density; beam energy should stay close. Freeze wind and time when comparing images. Check a 2× frame for wood shimmer and stair-stepped blind shadows.
The desk study isolates the depth-clipped shaft integration, procedural wood, and adjustable blinds in a small room.
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.
