通过SVG进行画出雷达扫描图

<?xml version="1.0" encoding="utf-8" standalone="no"?>

<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-flat-20030114.dtd">

<!-- Created by SVGDeveloper 1.0 -->

  <svg width="640" height="480" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">

    <circle cx="325" cy="235" r="165" fill="#000000" stroke="#000000" />

    <circle cx="325" cy="235" r="109" fill="#000000" stroke="#00FF00" />

    <circle cx="325" cy="235" r="60" fill="#000000" stroke="#00FF00" />

    <ellipse cx="-25" cy="-54" rx="0" ry="0" fill="#000000" stroke="#00FF00" />

    <line x1="325" y1="72" x2="325" y2="404" stroke="#00FF00" />

    <line x1="159" y1="235" x2="488" y2="235" stroke="#00FF00" />

    <g transform="matrix(0.445,-1.292,1.351,0.491,32.76,289.893)">

        <linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="0%">

            <stop offset="0%" style="stop-color:rgb(0,255,0);stop-opacity:.8" />

            <stop offset="50%" style="stop-color:rgb(0,200,0);stop-opacity:.5" />

            <stop offset="100%" style="stop-color:rgb(0,50,0);stop-opacity:.1" />

        </linearGradient>

        <path d="M305 200L334.699 224.29A38 16.9 0 0 1 278 225.3178Z" fill="url(#grad1)" transform="matrix(-0.008,-3.355,5.406999,0.003,-753.7615,1257.786)" xmlns="http://www.w3.org/2000/svg" />

        <animateTransform attributeName="transform" begin="0s" dur="8s" type="rotate" from="0 325 235" to="360 325 235" repeatCount="indefinite" />

    </g>

    

</svg>

 

  • 7
    点赞
  • 10
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值