npx skills add https://github.com/samhvw8/dotfiles --skill 3d-graphics使用 Three.js 构建高性能的 3D 网络应用程序——这是一个跨浏览器的 WebGL/WebGPU 库。
在以下场景中使用:
加载 references/01-getting-started.md - 场景设置、基础几何体、材质、光照、渲染循环
references/02-loaders.md - GLTF、FBX、OBJ、纹理加载器references/03-textures.md - 类型、映射、包裹、过滤references/04-cameras.md - 透视、正交、控制器广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
references/05-lights.mdreferences/06-animations.md - 剪辑、混合器、关键帧references/07-math.md - 向量、矩阵、四元数、曲线references/08-interaction.md - 光线投射、拾取、变换references/09-postprocessing.md - 通道、辉光、SSAO、SSRreferences/10-controls.md - 轨道、变换、第一人称references/11-materials-advanced.md - PBR、自定义着色器references/12-performance.md - 实例化、LOD、批处理、剔除references/13-node-materials.md - 着色器图、计算references/14-physics-vr.md - Ammo、Rapier、Jolt、VR/XRreferences/15-specialized-loaders.md - SVG、VRML、领域特定references/16-webgpu.md - 现代后端、计算着色器// 1. Scene, Camera, Renderer
const scene = new THREE.Scene();
const camera = new THREE.PerspectiveCamera(75, window.innerWidth/window.innerHeight, 0.1, 1000);
const renderer = new THREE.WebGLRenderer();
renderer.setSize(window.innerWidth, window.innerHeight);
document.body.appendChild(renderer.domElement);
// 2. Add Objects
const geometry = new THREE.BoxGeometry();
const material = new THREE.MeshStandardMaterial({ color: 0x00ff00 });
const cube = new THREE.Mesh(geometry, material);
scene.add(cube);
// 3. Add Lights
const light = new THREE.DirectionalLight(0xffffff, 1);
light.position.set(5, 5, 5);
scene.add(light);
scene.add(new THREE.AmbientLight(0x404040));
// 4. Animation Loop
function animate() {
requestAnimationFrame(animate);
cube.rotation.x += 0.01;
cube.rotation.y += 0.01;
renderer.render(scene, camera);
}
animate();
每周安装量
94
代码仓库
GitHub 星标数
12
首次出现
2026年1月21日
安全审计
安装于
claude-code74
opencode59
codex58
gemini-cli55
cursor54
github-copilot51
Build high-performance 3D web applications using Three.js - a cross-browser WebGL/WebGPU library.
Use when working with:
Load references/01-getting-started.md - Scene setup, basic geometries, materials, lights, rendering loop
references/02-loaders.md - GLTF, FBX, OBJ, texture loadersreferences/03-textures.md - Types, mapping, wrapping, filteringreferences/04-cameras.md - Perspective, orthographic, controlsreferences/05-lights.md - Types, shadows, helpersreferences/06-animations.md - Clips, mixer, keyframesreferences/07-math.md - Vectors, matrices, quaternions, curvesreferences/08-interaction.md - Raycasting, picking, transformsreferences/09-postprocessing.md - Passes, bloom, SSAO, SSRreferences/10-controls.md - Orbit, transform, first-personreferences/11-materials-advanced.md - PBR, custom shadersreferences/12-performance.md - Instancing, LOD, batching, cullingreferences/13-node-materials.md - Shader graphs, computereferences/14-physics-vr.md - Ammo, Rapier, Jolt, VR/XRreferences/15-specialized-loaders.md - SVG, VRML, domain-specificreferences/16-webgpu.md - Modern backend, compute shaders// 1. Scene, Camera, Renderer
const scene = new THREE.Scene();
const camera = new THREE.PerspectiveCamera(75, window.innerWidth/window.innerHeight, 0.1, 1000);
const renderer = new THREE.WebGLRenderer();
renderer.setSize(window.innerWidth, window.innerHeight);
document.body.appendChild(renderer.domElement);
// 2. Add Objects
const geometry = new THREE.BoxGeometry();
const material = new THREE.MeshStandardMaterial({ color: 0x00ff00 });
const cube = new THREE.Mesh(geometry, material);
scene.add(cube);
// 3. Add Lights
const light = new THREE.DirectionalLight(0xffffff, 1);
light.position.set(5, 5, 5);
scene.add(light);
scene.add(new THREE.AmbientLight(0x404040));
// 4. Animation Loop
function animate() {
requestAnimationFrame(animate);
cube.rotation.x += 0.01;
cube.rotation.y += 0.01;
renderer.render(scene, camera);
}
animate();
Weekly Installs
94
Repository
GitHub Stars
12
First Seen
Jan 21, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
claude-code74
opencode59
codex58
gemini-cli55
cursor54
github-copilot51
Genkit JS 开发指南:AI 应用构建、错误排查与最佳实践
6,100 周安装
Go数据结构详解:new与make区别、切片、数组与复合字面量用法
310 周安装
PageSpeed Insights 审计员:网页性能优化专家,提升网站速度与SEO分数
316 周安装
开源贡献指南:避免16个常见错误,创建维护者友好的Pull Request
309 周安装
Python开发最佳实践指南:现代项目结构、类型提示、异步编程与FastAPI模式
310 周安装
Chrome扩展开发最佳实践指南 - Manifest V3性能优化与代码规范
315 周安装
Clerk Auth 身份验证指南 - Next.js 16 重大变更、API 密钥与安全更新
310 周安装