设计资源DESIGN· MOTION
Experience-Monks/jam3-lesson-webgl-shader-threejs
一个教你用Three.js写自定义着色器来操控3D模型外观的教程。A hands-on lesson for Three.js developers who want to write custom vertex and fragment shaders.
根据公开文档整理,未运行实测;费用以项目官网为准。Based on public documentation, without runtime testing. Check the project site for pricing.
能力CAPABILITIES
让3D模型表面显示颜色渐变效果
让模型顶点沿法线方向膨胀,做出爆炸效果
用时间变量让模型顶点持续波动动画
把模型法线方向映射为颜色,直观观察表面朝向
用自定义着色器替换Three.js默认材质
Write a vertex shader that moves geometry along its normals
Animate a mesh's shape using a time uniform and sine function
Visualize vertex normals as colors on the surface
Create a fragment shader that colors pixels using distance from center
Set up a Three.js project with npm and budo for fast iteration
上手GET STARTED
git clone https://github.com/Jam3/jam3-lesson-webgl-shader-threejs.git选择与你的环境对应的方式。命令来自项目文档,未运行实测。Choose the option for your environment. Commands come from project documentation and have not been run-tested.
使用限制LIMITATIONS
以下要求与风险来自文档静态检查,未执行项目代码;扫描没有命中,不代表使用安全。Risk here is evidence, not an alarm. These findings come from static scanning of the docs; we never execute a project’s code.
限制LIMITS
未知Unknown
静态扫描STATIC SCAN
在 README、SKILL.md 和依赖清单中没有匹配到已知风险模式。No known risk patterns matched in the README, SKILL.md or dependency list.
静态扫描未发现明显风险,但不代表安全。The static scan found no obvious risk patterns in the documentation, but that does not prove the code is safe.
项目动态PROJECT ACTIVITY
首次发现FIRST SEEN
04 OCT 202604 OCT 2026
增长GROWTH
+0.0%+0.0%
366 → 366 stars · 58 个快照366 → 366 stars · 58 snapshots
状态STATUS
长期未更新Not updated
这个教程用 ThreeJS 一步步教你写自定义着色器,从让兔子变色到让三角形爆炸,效果立竿见影。The lesson uses Three.js and GLSL, both widely used in web 3D.
依赖:Dependencies:bunny, object-assign, orbit-controls, raf-loop, three, three-buffer-vertex-data, unindex-mesh
{
"agents": [],
"apiKey": null,
"docker": null,
"taxonomy": {
"scores": {
"design": 4,
"ai-tools": 0,
"dev-tools": 1,
"indie-web": 0,
"skill-agent": 0,
"productivity": 0
},
"primary": "design",
"secondary": "motion"
},
"localRuntime": "ld be executed 3 times by the GPU. <img src=\"images/triangle.png\" width=",
"skillMdTotal": 0,
"skillMdErrors": [],
"treeTruncated": false,
"categoryScores": {
"data": 0,
"agent": 0,
"media": 0,
"design": 2,
"browser": 0,
"devtool": 1,
"security": 0,
"marketing": 0,
"productivity": 0
},
"classification": [],
"scannedSources": [
"readme"
],
"skillMdFetched": 0
}