这个网页的动图动画特效名称叫啥?-灵析社区

Daily毅星

各位大佬们帮帮忙,下面这个网页在奖品中间一闪一闪的粒子特效叫啥名,有具体源码地址更好,谢谢大家。 ![](https://wmprod.oss-cn-shanghai.aliyuncs.com/c/user/20241008/a09f3487aa0d7d57cf4e93ebfdccd9f7.png) [https://wall.myhudong.cn/screen#/draw_pool?acid=XOyLWMsRNLDls5V5kw&l=a](https://link.segmentfault.com/?enc=6c9zmqw%2Fnr2K3USML4427A%3D%3D.ybEc7YZh6kcunz3bOyImaTZjCAHPx4tLZ55rAAVbIWw5g0jKJZVEC89y3NF6106M8dbFycCErzb5QXF%2Bxp%2FAEUQ%2B8ninLmSYFiLEjU73IZs%3D) 尝试搜索了很多网站,可能是关键词问题,希望大家帮帮忙

阅读量:195

点赞量:0

问AI
这个是网站作者自己写的, 他的核心代码: s( "div", { staticClass: "star-container", }, t._l(10, function (a) { return s( "div", { key: "ring" + a, staticClass: "star-ring", style: { animationDelay: (a - 1) / 10 + "s", }, }, t._l(starList[a - 1], function (i) { return s("div", { key: i, staticClass: "star", style: t.starStyle(i, a / 1 + 0, starList[a - 1]), }); }), 0 ); }), 0 ) "starStyle"函数: starStyle(t, a, s) { let i = 360 / s, e = -1 * Math.sin((((t - 1) * i) / 180) * Math.PI) * a + "rem", n = Math.cos((((t - 1) * i) / 180) * Math.PI) * a + "rem"; return { transform: `translate(${e}, ${n}) rotate(${(t - 1) * i}deg)`, }; }, "starList"数组值 starList: [10, 20, 30, 40, 60, 90, 90, 90, 90, 90],