zdog+gsap实现三维机械手臂做饭做饼动画效果代码

代码语言:html

所属分类:三维

代码描述:zdog+gsap实现三维机械手臂做饭做饼动画效果代码

代码标签: zdog gsap 三维 手臂 机械 做饼

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

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

<head>

    <meta charset="UTF-8">





    <style>
        @import url('https://fonts.googleapis.com/css2?family=Fuzzy+Bubbles:wght@700&display=swap');
        
        
        .zdog-canvas {
          background: #f4f1de;
          cursor: move;
          display: block;
          width: 100vw;
          height:100vh;
        
        }
        body{
          margin:0;
          color:hsl(234deg 20% 20%);
          font-family:'Fuzzy Bubbles', cursive;
         
        }
        .overTop{
          position:fixed;
          top:0;
          left:0;
          padding:30px;
          font-size:50px;
          font-weight:700;
          pointer-events:none;
        }
        .overTop.bottom{
          bottom:0;
          top:auto;
          display:inline-block;
          font-size:14px;
        }
        .overTop.top{
          max-width:600px;
        }
    </style>



</head>

<body>
    <canvas id="cnv" class="zdog-canvas" width="240" height="240"></canvas>
    <div class="overTop top">
        How to animate pancake?
    </div>
    <div class="overTop bottom">
        Lot.........完整代码请登录后点击上方下载按钮下载查看

网友评论0