关于这个项目

这是一本书《 The Book of Shaders》的个人练习项目。

所有的 shader 都是 fragment shader(.frag 文件),你可以在 ./shaders/ 文件夹中找到它们。

由于浏览器对 canvas 数量有限制,所有 shader 被分成多个页面,每页最多展示 16 个。

主页面 index.html 通过侧边栏切换不同的 group.html 页面。

项目结构非常简单,适合学习和分享。

完整代码请见 GitHub 仓库

About This Project

This is a personal exercise based on the book The Book of Shaders.

All shaders are fragment shaders (.frag files), located in the ./shaders/ folder.

Due to browser canvas limits, shaders are split across multiple pages, each showing up to 16 canvases.

The main page index.html uses a sidebar to switch between different group.html files.

The structure is simple and great for learning and sharing.

Full source code is available on GitHub.