p5实现超级射线发散多边形效果
代码语言:html
所属分类:布局界面
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
html,
body {
margin: 0;
padding: 0;
height: 100%;
width: 100%;
background-color: black;
overflow: hidden;
}
#background-canvas {
position: absolute;
height: 100%;
width: 100%;
}
.splash {
position: fixed;
left: 0px;
top: 0px;
width: 100%;
height: 100%;
z-index: 9999;
background: #000000;
display: block;
}
.box {
position: absolute;
width: 78px;
height: 78px;
left: 50%;
top: 50%;
margin-left: -39px;
margin-top: -39px;
}
.loading:before {
content: "";
position: absolute;
width: 35px;
height: 35px;
top: 50%;
margin-top: -18px;
left: 50%;
margin-left: -18px;
border-width: 2px 1px;
border-style: solid;
border-color: rgb(255, 255, 255) rgba(247, 247, 247, 0.3);
border-radius: 50%;
-o-border-radius: 50%;
-ms-border-radius: 50%;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
bo.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0