svg+js实现帧动画效果代码

代码语言:html

所属分类:动画

代码描述:svg+js实现帧动画效果代码,通过js来实现svg的动画效果,主要是requestAnimationFrame。

代码标签: svg js 动画

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

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

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

  
  
<style>
html,
body {
  height: 100%;
}

.wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

#logo-container {
  width: 100%;
  max-width: 700px;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

svg {
  height: 100%;
  width: auto;
}
svg line,
svg path {
  transform-origin: center;
}
svg #thin-lines {
  fill: none;
  stroke: #000;
  stroke-linecap: round;
  stroke-miterlimit: 10;
  stroke-width: calc(9.917px * 0.382);
  display: none;
}
svg #thick-lines {
  fill: none;
  stroke: #000;
  stroke-linecap: round;
  stroke-miterlimit: 10;
  stroke-width: 9.917px;
}
</style>

  
  
</head>

<body translate="no">
  <div class="wrapper">
  <div id="logo-container">
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1536">
      <g id="thin-lines">
        <line x1="4.958" y1="699.017" x2="4.958" y2="809.68" />
        <line x1="20.992" y1="699.017" x2="20.992" y2="832.484" />
        <line x1="37.098" y1="699.017" x2="37.098" y2="839.049" />
        <line x1="53.18" y1="699.017" x2="53.18" y2="840.086" />
        <line x1="69.285" y1="798.539" x2="69.285" y2="837.51" />
        <line x1="85.391" y1="797.689" x2="85.391" y2="828.138" />
        <line x1="101.485" y1="699.017" x2="101.485" y2="837.094" />
        <line x1="117.578" y1="699.017" x2="117.578" y2="837.094" />
        <line x1="133.684" y1="699.017" x2="133.684" y2="837.094" />
        <line x1="149.766" y1="699.017" x2="149.766" y2="837.094" />
        <line x1="181.965" y1="699.017" x2="181.965" y2="837.094" />
        <line x1="198.059" y1="699.017" x2="198.059" y2="837.094" />
        <line x1="214.165" y1="699.017" x2="214.165" y2="837.094" />
        <line x1="230.246" y1="699.017" x2="230.246" y2="837.094" />
        <line x1="246.352" y1="707.492" x2="246.352" y2="751.008" />
        <line x1="262.458" y1="698.429" x2="262.458" y2="743.048" />
        <line x1="278.54" y1="697.033" x2="278.54" y2="741.89" />
        <path d="M310.739,699.017V837.094m0-194.522v35.469" />
        <path d="M326.833,642.572v35.469m0,20.976V837.094" />
        <path d="M342.938,642.572v35.469m0,20.976V837.094" />
        <path d="M359.02,642.572v35.469m0,20.976V837.094" />
        <line x1="391.219" y1="699.017" x2="391.219" y2="730.772" />
        <line x1="407.325" y1="653.69" x2="407.325" y2="814.098" />
        <line x1="423.419" y1="653.69" x2="423.419" y2="831.008" />
        <line x1="439.501" y1="653.69" x2="439.501" y2="836.443" />
        <line x1="455.606" y1="653.69" x2="455.606" y2="838.265" />
        <path d="M471.712,699.017v31.755m0,70.669v36.893" />
        <path d="M487.794,802.194v35.273m0-138.45v31.755" />
        <line x1="519.993" y1="699.017" x2="519.993" y2="837.094" />
        <line x1="536.087" y1="699.017" x2="536.087" y2="837.094" />
        <line x1="552.192" y1="699.017" x2="552.192" y2="837.094" />
        <line x1="568.274" y1="699.017" x2="568.274" y2="837.094" />
        <line x1="584.38" y1="710.403" x2="584.38" y2="738.277" />
        <line x1="600.462" y1="699.752" x2="600.462" y2="738.277" />
        <line x1="616.567" y1="696.126" x2="616.579" y2="837.094" />
        <line x1="632.673" y1="696.612" x2="632.673" y2="837.094" />
        <line x1="648.755" y1="702.464" x2="648.755" y2="837.094" />
        <line x1="664.86" y1="716.987" x2="664.86" y2="837.094" />
        <line x1="680.966" y1="704.034" x2="680.966" y2="738.277" />
        <line x1="697.048" y1="696.931" x2="697.048" y2="738.277" />
        <line x1="713.154" y1="695.78" x2="713.165" y2="837.094" />
        <line x1="729.235" y1="698.416" x2="729.235" y2="837.094" />
        <line x1="745.341" y1="705.399" x2="745.341" y2="837.094" />
        <line x1="761.447" y1="725.655" x2="761.447" y2="837.094" />
        <path d="M793.646,642.572v35.469m0,20.976V837.094" />
        <path d="M809.74,699.017V837.094m0-194.522v35.469" />
        <path d="M825.821,699.017V837.094m0-194.522v35.469" />
        <path d="M841.927,699.017V837.094m0-194.522v35.469" />
        <path d="M874.115,798.783v9.59m0-83.449v30.284" />
        <path d="M890.22,707.628v64.695m0,26.46v29.944" />
        <path d="M906.3,798.783V836.71m0-136.267v78.889" />
        <path d="M922.408,798.783v41.556m0-143.209v85.716" />
        <path d="M938.489,748.3v36.789m0,26.915V841.7m0-145.949V723.24" />
        <path d="M954.6,750.7v37m0,24.76v29.025m0-145.464v28.558" />
        <path d="M970.7,753.079v86.65m0-141.737v38.769" />
        <path d="M986.783,702.5v34.264m0,19.727v79.206" />
        <path d="M1002.888,711.159v25.6m0,26.442v64.862" />
        <path d="M1018.994,779.46v29.228m0-77.576v5.649" />
      </g>
      <g id="thick-lines">
        <line x1="4.958" y1="699.017" x2="4.958" y2="809.68" />
        <line x1="20.992" y1="699.017" x2="20.992" y2="832.484" />
        <line x1="37.098" y1="699.017" x2="37.098" y2="839.049" />
        <line x1="53.18" y1="699.017" x2="53.18" y2="840.086" />
        <line x1="69.285" y1="798.539" x2="69.285" y2="837.51" />
        <line x1="85.391" y1="797.689" x2="85.391" y2="828.138" />
        <line x1="101.485" y1="699.017" x2="101.485" y2="837.094" />
        <line x1="117.578" y1="699.017" x2="117.578" y2="837.094" />
        <line x1="133.684" y1="699.017" x2="133.684" y2="837.094" />
        <line x1="149.766" y1="699.017" x2="149.766" y2="837.094" />
        <line x1="181.965" y1="699.017" x2="181.965" y2="837.094" />
        <line x1="198.059" y1="699.017" x2="198.059" y2="837.094" />
        <line x1="214.165" y1="699.017" x2="214.165" y2="837.094" />
        <line x1="230.246" y1="699.017" x2="230.246" y2="837.094" />
        <line x1="246.352" y1="707.492" x2="246.352" y2="751.008" />
        <line x1="262.458" y1="698.429" x2="262.458" y2="743.048" />
        <line x1="278.54" y1="697.033" x2="278.54" y2="741.89" />
        <path d="M310.739,699.017V837.094m0-194.522v35.469" />
        <path d="M326.833,642.572v35.469m0,20.976V837.094" />
        <path d="M342.938,642.572v35.469m0,20.976V837.094" />
        <path d="M359.02,642.572v35.469m0,20.976V837.094" />
        <line x1="391.219" y1="699.017" x2="391.219" y2="730.772" />
        <line x1="407.325" y1="653.69" x2="407.325" y2="814.098" />
        <line x1="423.419" y1="653.69" x2="423.419" y2="831.008" />
        <line x1="439.501" y1="653.69" x2="439.501" y2="836.443" />
        <line x1="455.606" y1="653.69" x2="455.606" y2="838.265" />
        <path d="M471.712,699.017v31.755m0,70.669v36.893" />
        <path d="M487.794,802.194v35.273m0-138.45v31.755" />
        <line x1="519.993" y1="699.017" x2="519.993" y2="837.094" />
        <line x1="536.087" y1="699.017" x2="536.087" y2="837.094" />
        <line x1="552.192" y1="699.017" x2="552.192" y2="837.094" />
        <line x1="568.274" y1="699.017" x2="568.274" y2="837.094" />
        <line x1="584.38" y1="710.403" x2="584.38" y2="738.277" />
        <line x1="600.462" y1="699.752" x2="600.462" y2="738.277" />
        <line x1="616.567" y1="696.126" x2="616.579" y2="837.094" />
        <line x1="632.673" y1="696.612" x2="632.673" y2="837.094" />
        <line x1="648.755" y1="702.464" x2="648.755" y2="837.094" />
        <line x1="664.86" y1="716.987" x2="664.86" y2="837.094" />
        <line x1="680.966" y1="704.034" x2="680.966" y2="738.277" />
        <line x1="697.048" y1="696.931" x2="697.048" y2="738.277" />
        <line x1="713.154" y1="695.78" x2="713.165" y2="837.094" />
        <line x1="729.235" y1="698.416" x2="729.235" y2="837.094" />
        <line x1="745.341" y1="705.399" x2="745.341" y2="837.094" />
        <line x1="761.447" y1="725.655" x2="761.447" y2="837.094" />
        <path d="M793.646,642.572v35.469m0,20.976V837.094" />
        <path d="M809.74,699.017V837.094m0-194.522v35.469" />
        <path d="M825.821,699.017V837.094m0-194.522v35.469" />
        <path d="M841.927,699.017V837.094m0-194.522v35.469" />
        <path d="M874.115,798.783v9.59m0-83.449v30.284" />
        <path d="M890.22,707.628v64.695m0,26.46v29.944" />
        <path d="M906.3,798.783V836.71m0-136.267v78.889" />
        <path d="M922.408,798.783v41.556m0-143.209v85.716" />
        <path d="M938.489,748.3v36.789m0,26.915V841.7m0-145.949V723.24" />
        <path d="M954.6,750.7v37m0,24.76v29.025m0-145.464v28.558" />
        <path d="M970.7,753.079v86.65m0-141.737v38.769" />
        <path d="M986.783,702.5v34.264m0,19.727v79.206" />
        <path d="M1002.888,711.159v25.6m0,26.442v64.862" />
        <path d="M1018.994,779.46v29.228m0-77.576v5.649" />
      </g>
    </svg>

  </div>
</div>
  
      <script >
function animateSVGFrames(frames, elementId) {
  let currentFrame = 0;
  const totalFrames = frames.length;
  const frameRate = 1000 / 30; // milliseconds per frame for 30 FPS
  let lastTimestamp = 0;

  function applyTransformations(elementId, frameData) {
    const children = document.querySelectorAll(`#${elementId} > *`);
    children.forEach((child, index) => {
      if (index < frameData.length) {
        child.style.transform = `scaleY(${frameData[index]})`;
      }
    });
  }

  function step(timestamp) {
    if (!lastTimestamp) lastTimestamp = timestamp;
    const elapsed = timestamp - lastTimestamp;

    if (elapsed > frameRate) {
      if (currentFrame == 48) {
        document.getElementById("thin-lines").style.display = "block";
        applyTransformations("thin-lines", frames[currentFrame]);
      }
      applyTransformations(elementId, frames[currentFrame]);
      currentFrame = (currentFrame + 1) % totalFrames; // Loop back to start
      lastTimestamp = timestamp;
    }

    requestAnimationFrame(step);
  }

  requestAnimationFrame(step);
}

// Example usage with the array of frames and SVG element ID
const frames = [
[
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0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0,
1.0,
1.0,
1.0,
1.0,
1.056450006433973,
1.0058570079069082,
1.1266921188508114,
1.0270819422270372],

[
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0459740748975395,
1.0037662075293516,
1.1130921081547194,
1.022217144138821,
1.1931343212937158,
1.0570452181931471],

[
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0374183400270058,
1.00235041731463,
1.1019590833676034,
1.0184618637562983,
1.1853921412678707,
1.0507739478780769,
1.234403669852,
1.1005636082931463],

[
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0305209804995725,
1.001426526903948,
1.0930001959213522,
1.0156052229304717,
1.173882727420652,
1.0458434580906322,
1.2274684012497579,
1.0933866606186644,
1.2927235043967173,
1.159747096072644],

[
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0249491148033678,
1.0008467146240594,
1.0859390111425917,
1.0134692530748624,
1.1647955009585618,
1.0420367333467904,
1.2220743141533463,
1.0877740443983526,
1.2851641096857576,
1.1521627253240003,
1.3706969028382137,
1.2370403876175438],

[
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0206176540819205,
1.0005005311514663,
1.0805760242194338,
1.0119206827456633,
1.1578838860112337,
1.0391984567430441,
1.2180274833244207,
1.0835432908559857,
1.2794404192939224,
1.146410795364711,
1.3631383015178977,
1.2296075729883187,
1.4714467629211245,
1.3354161102017688],

[
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0174736387388263,
1.0003060268004247,
1.0767512993818253,
1.0108575073158177,
1.1529508152445176,
1.0372049058710688,
1.215166748764187,
1.0805429029317382,
1.275374949327113,
1.142314171719645,
1.3577482183294582,
1.2242988928918028,
1.4645839256470812,
1.3287492849803586,
1.5988240721849234,
1.4586027534808705],

[
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0154371271228926,
1.0002055964498675,
1.0743041424280948,
1.0101953318816785,
1.149791802727922,
1.0359424207811334,
1.2133482242682072,
1.078629834659926,
1.2727777655010373,
1.1396930677247776,
1.3542990220076392,
1.220897855917204,
1.4601856473426513,
1.3244736570382583,
1.5933544936848614,
1.4533348444525185,
1.7576823890355129,
1.611422938998975],

[
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0144643808295464,
1.000164638772982,
1.0731437733750755,
1.0098870205501091,
1.1482925549588663,
1.0353462980334762,
1.2124889025420673,
1.07772687023439,
1.2715489635951092,
1.1384533079193526,
1.3526622994842439,
1.2192845777354688,
1.4580999607560354,
1.3224442728925823,
1.590758610867786,
1.450826909430845,
1.7545000248999605,
1.608365664740481,
1.9546819176731176,
1.8006693592893737],

[
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0144747128354517,
1.000165092936312,
1.0731557110685626,
1.0098904783836031,
1.148308662304447,
1.0353527170133539,
1.2124979667344342,
1.0777362023100967,
1.2715613471547096,
1.138465497731723,
1.352681842609639,
1.2193033068383763,
1.4581234673078882,
1.322466398677434,
1.5907859607791317,
1.4508573984118989,
1.7545310712773534,
1.608394210828454,
1.9547233859440174,
1.8007071591204098,
2.19930477686013,
2.036488363678637],

[
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0154250875149622,
1.0002050897367576,
1.0742899074751804,
1.0101918222355202,
1.1497738844843837,
1.035934333178738,
1.2133368212403042,
1.078618106987785,
1.2727622147050055,
1.139677769124097,
1.3542794091079402,
1.2208790669377243,
1.4601620729513416,
1.3244514731425048,
1.5933215951350157,
1.453304288385457,
1.7576450581324004,
1.6113829002561506,
1.9585209728305732,
1.8043640070468117,
2.2039525547857974,
2.0409853976067476,
2.5069819600934307,
2.336479034216013],

[
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.017234157659032,
1.0002931815964633,
1.0764621086338277,
1.0107780153282635,
1.1525781202451981,
1.0370553900119248,
1.2149496377292963,
1.0803153249917297,
1.27506735678207,
1.1420026607764573,
1.3573413204878468,
1.2238980290411128,
1.4640670466054013,
1.3282453063942459,
1.5981794835851042,
1.4579838408875594,
1.7635980844522139,
1.6171069027589993,
1.9657880287152094,
1.8113465713438321,
2.212857526196032,
2.0496052004866954,
2.5180954013365406,
2.347415288781421,
2.906751977703879,
2.7381095456812896],

[
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0198494907705327,
1.000448628030831,
1.0796358833751158,
1.0116559567259593,
1.1566716301245807,
1.0387075470882934,
1.217321514437095,
1.0828040025353083,
1.2784414641266653,
1.145402718780662,
1.3618168853588983,
1.2283019787522835,
1.4697585154800146,
1.333780040761527,
1.6052576283392666,
1.4648050912311565,
1.7722776840005843,
1.625438814442097,
1.9763761658218408,
1.8215313160248388,
2.225840018821999,
2.0621774932459442,
2.534305521621529,
2.363401418410424,
2.927952917042508,
2.760034261033758,
3.4756008085199723,
3.3817919902786238],

[
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0232192080330693,
1.0006974400677304,
1.0837837273320319,
1.0128391346348478,
1.162018583863001,
1.040891754616861,
1.2204442332690602,
1.0860705238530652,
1.282861594251522,
1.149851784397042,
1.367660973532525,
1.2340563540743266,
1.477190281077634,
1.3409920995469002,
1.614480760608616,
1.4736912759221377,
1.7835757314795964,
1.636295078074296,
1.990161839216428,
1.8347917712295316,
2.2427544092787857,
2.078569317954002,
2.5554602626354495,
2.3842914204735983,
2.9557407540985188,
2.788888302513969,
3.5179555760110346,
3.439617160688845,
4.064089197335047,
3.114677720030528],

[
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.027261131704612,
1.0010688725490398,
1.0888467460386508,
1.014336119291408,
1.1685381087817726,
1.0435951434726547,
1.2242890722039985,
1.0900796068700076,
1.2882722706279202,
1.15528493572559,
1.3747903063453433,
1.2410630235723379,
1.4862362094551709,
1.349769350837921,
1.6256967328564684,
1.48449924586609,
1.7973153212980102,
1.6494883915596323,
2.006930772169603,
1.8509185068206602,
2.263340209107146,
2.0985298932535548,
2.581258876019098,
2.409812774784683,
2.9897877364767234,
2.8244758066403923,
3.5709523808632806,
3.51707570590655,
3.9724827877714453,
3.0681514792119207,
3.215319739372426,
2.576084207237071],

[
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0319336103969974,
1.0015978682966367,
1.094819810233162,
1.0161730220903324,
1.1762214492927887,
1.046835321929611,
1.2288689731560523,
1.0948381295483574,
1.2946763662222744,
1.1617035447012405,
1.383197986121544,
1.249319629368293,
1.4968800476894522,
1.36008924484682,
1.6388747997824156,
1.4971878551353228,
1.8134503951633176,
1.6649862546457097,
2.0266134990494042,
1.869865933573753,
2.2875331690500857,
2.122013206107249,
2.611660405578943,
2.4399618790550472,
3.030194095291752,
2.8670362238973626,
3.635619798631614,
3.6239201831422525,
3.8798075303661608,
3.016985578061482,
3.1692531514445883,
2.542553037579211,
2.714431942097096,
2.2010709762667773],

[
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0371813380026873,
1.0023152119832095,
1.1016498904279963,
1.01835999960853,
1.1849959575006779,
1.050602373918068,
1.2341635588292184,
1.1003164648365455,
1.3020253275315417,
1.1690489773028283,
1.3928046141069441,
1.2587390770004172,
1.5090091814052262,
1.3718434047771664,
1.653878520295044,
1.5116283592252806,
1.8317959847076248,
1.682605413005032,
2.049015085903723,
1.8914292509429702,
2.3150936425225765,
2.1487939963924365,
2.6464023465587174,
2.474514112949965,
3.0767458446222196,
2.916586574170858,
3.7130407793783022,
3.7947594920004177,
3.7876915982670156,
2.962696948541469,
3.119560286061805,
2.506110396120977,
2.678058557235332,
2.1731519509798316,
2.3401212744315565,
1.9109987875824086],

[
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.043085207520963,
1.003257112147255,
1.1093362752599467,
1.0209262760325428,
1.1911739510654802,
1.0549130004736011,
1.2401843853639367,
1.1065172900510225,
1.3103199345111962,
1.1773240015963546,
1.4036048599204631,
1.2693085938235855,
1.5226091192937838,
1.3850060814280942,
1.6706675834445142,
1.5277811983204623,
1.8523274755043173,
1.7023213831227393,
2.0740754575927314,
1.9155782107193413,
2.3459755223366945,
2.178856677109595,
2.685487639762179,
2.5135410509050105,
3.12966175366469,
2.9736699818497883,
3.805891823398044,
3.7505682966733573,
3.6965692454206343,
2.906180473861189,
3.067020199891856,
2.467313496396066,
2.639167913018286,
2.1432271322717544,
2.309362808781523,
1.8869477381555975,
2.0443556148441018,
1.678945745430867],

[
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0496126429668053,
1.0044502054142845,
1.1178202249769906,
1.0238763414271936,
1.1956325224279434,
1.0597526981997216,
1.2469034196975768,
1.113406396186043,
1.3195028872503993,
1.1864620168363647,
1.4155098339480998,
1.2809443897366177,
1.5375568435918254,
1.399464270488893,
1.6891003756352905,
1.545513442799863,
1.8748482590974793,
1.723958460870446,
2.101587889785944,
1.9421038976762377,
2.379942479722798,
2.2119791030884803,
2.728656968662177,
2.5568420415890714,
3.1888461590129022,
3.038645700207503,
3.918218005.........完整代码请登录后点击上方下载按钮下载查看

网友评论0