<script type="text/javascript" src="js/bubbly-bg.js"></script>
<script type="text/javascript">
bubbly();
let configs = [
{},
{
colorStart: "#111",
colorStop: "#422",
bubbleFunc: () => `hsla(0, 100%, 50%, ${Math.random() * 0.25})`
},
{
colorStart: "#4c004c",
colorStop: "#1a001a",
bubbleFunc: () => `hsla(${Math.random() * 360}, 100%, 50%, ${Math.random() * 0.25})`
},
{
colorStart: "#fff4e6",
colorStop: "#ffe9e4",
blur: 1,
compose: "source-over",
bubbleFunc: () => `hsla(${Math.random() * 50}, 100%, 50%, .3)`
}
];
document.addEventListener("click", function (e) {
if (e.target.hasAttribute("data-config-nr")) {
document.body.removeChild(document.querySelector("canvas"));
bubbly(configs[e.target.getAttribute("data-config-nr")]);
}
});
</script>
*
回帖描述:*
链接类型:*
下载链接:*
描述:*
回帖描述:*
链接类型:*
阅读权限:*
下载链接:



聚优部落技术论坛 © 版权所有 鲁ICP备15007479号-6
Copyright(C)web.com, All Rights Reserved.
