
看了下 html ,标签是 svg 标签,但是鼠标放上去之后的颗粒效果是如何实现的呢?

1 codehz 2024 年 5 月 23 日 |
2 horizon 2024 年 5 月 23 日 实际上有个 canvas 在 |
3 tcper 2024 年 5 月 23 日 背景是个 canvas ,里面粒子动效,上面盖上 svg ,事件直接穿透就行了 |
4 supuwoerc 2024 年 5 月 23 日 js 文件大致看了眼,里面有作者信息: // GLSL textureless classic 2D noise "cnoise", // with an RSL-style periodic variant "pnoise". // Author: Stefan Gustavson ([email protected]) // Version: 2011-08-22 用到的应该是: https://github.com/stegu/webgl-noise DEMO:https://stegu.github.io/webgl-noise/webdemo/ 文件: https://vercel.com/_next/static/chunks/app/ship/2024/(home)/layout-cb52d0a03e2fb354.js?dpl=dpl_Go2ZmQEk1fFJaNjmGu2LrDzcipj4 |
5 sunjourney 2024 年 5 月 23 日 |
6 lawted 2024 年 5 月 23 日 |
7 isbase PRO |
8 jaggle 2024 年 5 月 23 日 via iPhone @sunjourney 你这链接打开我的手机发烫严重 |
9 iOCZS 2024 年 5 月 23 日 这种效果华而不实,夏天热浪滚滚,冬天倒是可以当暖宝宝 |
10 AmoreLee 2024 年 5 月 23 日 via iPhone https://basement.studio/blog/shipping-ship-behind-the-particle-shader-effect-for-vercel-s-conf 相关文章 |
11 davin 2024 年 5 月 23 日 刚打开的几秒内我的 mbp 卡了 |