大海蓝天大雁飞过动画场景

<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>大海蓝天大雁飞过动画场景</title>
    <style>
        body {
            margin: 0;
            overflow: hidden;
            background-color: #87CEEB;
        }
        .container {
            position: relative;
            width: 100vw;
            height: 100vh;
        }
        .credit {
            position: absolute;
            bottom: 10px;
            right: 10px;
            color: white;
            font-family: Arial, sans-serif;
            font-size: 12px;
            z-index: 100;
        }
        .credit a {
            color: white;
            text-decoration: none;
        }
    </style>
</head>
<body>
    <div class="container">
        <svg width="100%" height="100%" viewBox="0 0 1200 600" preserveAspectRatio="xMidYMid meet">
            <!-- 蓝天渐变背景 -->
            <defs>
                <linearGradient id="skyGradient" x1="0%" y1="0%" x2="0%" y2="100%">
                    <stop offset="0%" style="stop-color:#87CEEB;stop-opacity:1" />
                    <stop offset="100%" style="stop-color:#1E90FF;stop-opacity:1" />
                </linearGradient>
                <linearGradient id="seaGradient" x1="0%" y1="0%" x2="0%" y2="100%">
                    <stop offset="0%" style="stop-color:#1E90FF;stop-opacity:1" />
                    <stop offset="100%" style="stop-color:#00008B;stop-opacity:1" />
                </linearGradient>
            </defs>
            
            <!-- 蓝天 -->
            <rect width="100%" height="70%" fill="url(#skyGradient)" />
            
            <!-- 大海 -->
            <rect y="70%" width="100%" height="30%" fill="url(#seaGradient)" />
            
            <!-- 太阳 -->
            <circle cx="150" cy="150" r="60" fill="#FFD700" />
            
            <!-- 波浪动画 -->
            <path id="wave" d="M0,420 Q150,400 300,420 T600,420 T900,420 T1200,420 L1200,600 L0,600 Z" fill="#1E90FF">
                <animate attributeName="d" 
                         values="M0,420 Q150,400 300,420 T600,420 T900,420 T1200,420 L1200,600 L0,600 Z;
                                 M0,420 Q150,440 300,420 T600,420 T900,420 T1200,420 L1200,600 L0,600 Z;
                                 M0,420 Q150,400 300,420 T600,420 T900,420 T1200,420 L1200,600 L0,600 Z" 
                         dur="5s" 
                         repeatCount="indefinite" />
            </path>
            
            <!-- 云朵1 -->
            <g transform="translate(200,100)">
                <circle cx="0" cy="0" r="20" fill="white" />
                <circle cx="20" cy="-10" r="25" fill="white" />
                <circle cx="45" cy="0" r="20" fill="white" />
                <circle cx="25" cy="10" r="15" fill="white" />
                <animateTransform attributeName="transform" type="translate" from="200,100" to="1200,100" dur="60s" repeatCount="indefinite" />
            </g>
            
            <!-- 云朵2 -->
            <g transform="translate(600,150)">
                <circle cx="0" cy="0" r="25" fill="white" />
                <circle cx="25" cy="-15" r="30" fill="white" />
                <circle cx="55" cy="0" r="25" fill="white" />
                <circle cx="30" cy="15" r="20" fill="white" />
                <animateTransform attributeName="transform" type="translate" from="600,150" to="1400,150" dur="80s" repeatCount="indefinite" />
            </g>
            
            <!-- 大雁群1 -->
            <g class="bird-group" transform="translate(-100,150)">
                <!-- 大雁V形编队 -->
                <path d="M0,0 L10,5 M0,0 L10,-5" stroke="black" stroke-width="2" fill="none" />
                <path d="M20,5 L30,10 M20,5 L30,0" stroke="black" stroke-width="2" fill="none" />
                <path d="M20,-5 L30,0 M20,-5 L30,-10" stroke="black" stroke-width="2" fill="none" />
                <path d="M40,10 L50,15 M40,10 L50,5" stroke="black" stroke-width="2" fill="none" />
                <path d="M40,-10 L50,-5 M40,-10 L50,-15" stroke="black" stroke-width="2" fill="none" />
                
                <!-- 翅膀扇动动画 -->
                <animateTransform attributeName="transform" type="translate" values="-100,150; 1300,150" dur="30s" repeatCount="indefinite" />
                <animateTransform attributeName="transform" type="translate" additive="sum" values="0,0; 0,-5; 0,0; 0,5; 0,0" dur="2s" repeatCount="indefinite" />
            </g>
            
            <!-- 大雁群2 -->
            <g class="bird-group" transform="translate(-200,200)">
                <!-- 大雁V形编队 -->
                <path d="M0,0 L10,5 M0,0 L10,-5" stroke="black" stroke-width="2" fill="none" />
                <path d="M20,5 L30,10 M20,5 L30,0" stroke="black" stroke-width="2" fill="none" />
                <path d="M20,-5 L30,0 M20,-5 L30,-10" stroke="black" stroke-width="2" fill="none" />
                <path d="M40,10 L50,15 M40,10 L50,5" stroke="black" stroke-width="2" fill="none" />
                <path d="M40,-10 L50,-5 M40,-10 L50,-15" stroke="black" stroke-width="2" fill="none" />
                
                <!-- 翅膀扇动动画 -->
                <animateTransform attributeName="transform" type="translate" values="-200,200; 1300,200" dur="40s" repeatCount="indefinite" begin="5s" />
                <animateTransform attributeName="transform" type="translate" additive="sum" values="0,0; 0,-5; 0,0; 0,5; 0,0" dur="2.5s" repeatCount="indefinite" begin="5s" />
            </g>
            
            <!-- 大雁群3 -->
            <g class="bird-group" transform="translate(-300,100)">
                <!-- 大雁V形编队 -->
                <path d="M0,0 L10,5 M0,0 L10,-5" stroke="black" stroke-width="2" fill="none" />
                <path d="M20,5 L30,10 M20,5 L30,0" stroke="black" stroke-width="2" fill="none" />
                <path d="M20,-5 L30,0 M20,-5 L30,-10" stroke="black" stroke-width="2" fill="none" />
                <path d="M40,10 L50,15 M40,10 L50,5" stroke="black" stroke-width="2" fill="none" />
                <path d="M40,-10 L50,-5 M40,-10 L50,-15" stroke="black" stroke-width="2" fill="none" />
                
                <!-- 翅膀扇动动画 -->
                <animateTransform attributeName="transform" type="translate" values="-300,100; 1300,100" dur="50s" repeatCount="indefinite" begin="10s" />
                <animateTransform attributeName="transform" type="translate" additive="sum" values="0,0; 0,-5; 0,0; 0,5; 0,0" dur="3s" repeatCount="indefinite" begin="10s" />
            </g>
        </svg>
        

    </div>
</body>
</html>

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值