gsap+svg实现ai人工智能动画效果代码

代码语言:html

所属分类:动画

代码描述:gsap+svg实现ai人工智能动画效果代码

代码标签: gsap svg ai 人工智能 动画

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="en" >

<head>
 
<meta charset="UTF-8">
 

 
 
 
 
<style>
body
{
 
background-color: #000000;
 
overflow: hidden;
 
text-align:center;
 
display: flex;
 
align-items: center;
 
justify-content: center;
}

body
,
html
{
 
height: 100%;
 
width: 100%;
 
margin: 0;
 
padding: 0;
}

svg
{
 
width: 100%;
 
height: 100%;
 
visibility: hidden;
 
}

.ell, #ai {
       
fill: none;
}
</style>


 
 
</head>

<body>
 
<svg id="mainSVG" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 600">
       
<defs>

               
<linearGradient id="aiGrad" x1="513.98" y1="290" x2="479.72" y2="320" gradientUnits="userSpaceOnUse">
                       
<stop offset="0" stop-color="#000" stop-opacity="0" />
                       
<stop offset=".15" stop-color="#EF476F" />
                       
<stop offset=".4" stop-color="#359eee" />
                       
<stop offset=".6" stop-color="#03cea4" />
                       
<stop offset=".78" stop-color="#FFC43D" />
                       
<stop offset="1" stop-color="#000" stop-opacity="0" />
               
</linearGradient>

       
</defs>

       
<ellipse class="ell" cx="400" cy="300" rx="80" ry="80" />
       
<ellipse class="ell" cx="400" cy="300" rx="80" ry="80" />
       
<ellipse class="ell" cx="400" cy="300" rx="80" ry="80" />
       
<ellipse class="ell" cx="400" cy="300" rx="80" ry="80" />
       
<ellipse class="ell" cx="400" cy="300" rx="80" ry="80" />
       
<ellipse class="ell" cx="400" cy="300" rx="80" ry="80" />
       
<ellipse class="ell" cx="400" cy="300" rx="80" ry="80" />
       
<ellipse class="ell" cx="400" cy="300" rx="80" ry="80" />
        <ellipse class="ell" cx="400" cy="300" rx="80" ry="8.........完整代码请登录后点击上方下载按钮下载查看

网友评论0