gsap+svg实现点状排列不同图形图案变形动画效果代码
代码语言:html
所属分类:动画
代码描述:gsap+svg实现点状排列不同图形图案变形动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <style> body { padding: 0; margin: 0; overflow: hidden; background-color: #1b1b1b; display: flex; justify-content: center; flex-direction: column; align-items: center; height: 100vh; width: 100vw; } #demo { max-width: 100%; max-height: 100%; } #square, #star { visibility: hidden; } </style> </head> <body> <svg id="demo" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" width="1000" height="1000"> <path id="circle" d="M500,860c-198.82,0-360-161.18-360-360S301.18,140,500,140,860,301.18,860,500,698.82,860,500,860Z" fill="none" stroke="#00bfff" stroke-width="40" stroke-dasharray="0,40" stroke-linecap="ro.........完整代码请登录后点击上方下载按钮下载查看
网友评论0