Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 1294.5 891.9" class="kp" aria-labelledby="title" aria-describedby="desc" role="img">
  <title id="title">Kid Passions</title>
  <description id="desc">Online camps for kids that work with amazing counselors to learn skills quickly.</description>

  <defs>
    <linearGradient id="orchid-tobtm" gradientUnits="userSpaceOnUse" x1="547.7894" y1="538.8317" x2="547.7894" y2="471.0619">
      <stop  offset="0" style="stop-color:#6C5CE5"/>
      <stop  offset="0.2487" style="stop-color:#6F5EE4"/>
      <stop  offset="0.4264" style="stop-color:#7862E2"/>
      <stop  offset="0.5819" style="stop-color:#886BDE"/>
      <stop  offset="0.7247" style="stop-color:#9E76D9"/>
      <stop  offset="0.8588" style="stop-color:#BB85D2"/>
      <stop  offset="0.9848" style="stop-color:#DD98C9"/>
      <stop  offset="1" style="stop-color:#E29AC8"/>
    </linearGradient>
  </defs>

  
  
  <g id="pulse">
    <circle fill="#6065D6" cx="619" cy="400.3" r="327.4"/>
    <circle fill="#6078D2" cx="619" cy="400.3" r="268.2"/>
    <circle fill="#60ACC7" cx="619" cy="400.3" r="207.3"/>
    <circle fill="#61D6BF" cx="619" cy="400.3" r="149.7"/>
    <circle fill="#5CD0BA" cx="619" cy="400.3" r="54.3"/>
    <circle fill="#B33FFF" cx="619" cy="400.3" r="21.9"/>
  </g>

  <g id="orb-tr">
    <circle fill="#5d65ce" cx="1038.5" cy="72.8" r="58.8"/>
    <circle fill="none" stroke="#5d65ce" stroke-miterlimit="10" stroke-width="2" cx="1038.5" cy="72.8" r="72.3"/>
    <circle fill="none" stroke="#61D6BF" stroke-miterlimit="10" cx="1038.5" cy="72.8" r="19.5"/>
    <circle fill="#61D6BF" cx="1038.5" cy="72.8" r="3.6"/>
  </g>

  <g id="orb-bl">
    <circle fill="#5d65ce" cx="72.8" cy="632.9" r="58.8"/>
    <circle fill="none" stroke="#5d65ce" stroke-width="2" stroke-miterlimit="10" cx="72.8" cy="632.9" r="72.3"/>
    <circle fill="none" stroke="#61D6BF" stroke-miterlimit="10" cx="72.8" cy="632.9" r="19.5"/>
    <circle fill="#61D6BF" cx="72.8" cy="632.9" r="3.6"/>
  </g>

  <g id="silhouette">
    <path id="hair" fill="#6C5CE5" d="M481.2,343.7c2.5,1.6,5.2,3,8,4.1c-1.4,1.3-3.1,2.2-4.9,2.7c-1.1,0.3-2.5,0.7-2.7,1.9c-0.1,0.9,0.7,1.7,1.5,2.1c1.7,1,3.7,1.5,5.7,1.8c1.1,0.2,2.2,0.3,3.3,0.3l39.1-61.6c-14.7,13.9-28.3,30.7-47.6,36.6c-2.8,0.9-6.1,1.9-6.9,4.7C475.9,339.3,478.6,342,481.2,343.7z"/>

    <path id="child" fill="#6C5CE5" d="M935.2,891.7C912.8,804,737.9,648.8,726.3,602.8c-7.4-29.3,0.3-59.1,9.6-88.2c1.1,1.2,2.2,2.3,3.5,3.2c1.4,1,3.7,1.8,4.6,0.3c0.4-0.7,0.3-1.5,0.2-2.3c-0.7-4.6-1.2-9.3-1.6-14c1.8,3.7,4.3,7.1,7.7,9.6c1.4,1,3.7,1.8,4.6,0.3c0.4-0.7,0.3-1.5,0.2-2.3c-2.9-19.8-3.4-40.2-1-60.1c0.2-1.1,0.3-2.1,0.4-3.2c0-0.1,0-0.3,0-0.4s0-0.1,0-0.2l0,0c16.3-139.3-69-171.2-113.4-178.4l0,0c-51.1-9.5-90.2,9.2-109.9,27.9c-14.7,13.9-28.3,30.7-47.6,36.6c-2.8,0.9-6.1,1.9-6.9,4.7c-0.8,3,1.9,5.7,4.5,7.4c2.5,1.6,5.2,3,8,4.1c-1.4,1.3-3.1,2.2-4.9,2.7c-1.1,0.3-2.5,0.7-2.7,1.9c-0.1,0.9,0.7,1.7,1.5,2.1c1.7,1,3.7,1.5,5.7,1.8c1.1,0.2,2.2,0.3,3.3,0.3c-7.3,21.1-11.8,47.2-11.8,79.2c0,51.3-8.2,67.7-12.8,72.9c-0.8,0.9-0.2,2.3,1,2.3h41.7c1.5,0,2.7,1.2,2.7,2.7l-1.3,32.9c0,1.5,0.9,2.9,2.3,3.4l9.1-0.9c1.4,0.6,1.5,2.5,0.1,3.2l-10.3,1c-0.9,0.5-1.5,1.4-1.5,2.4c0.3,13.7,7.2,109.8,91.2,109.8c0,0,67.2,79.6-45,226.2L935.2,891.7L935.2,891.7z"/>

    <circle id="eye" fill="#887AFF" cx="518.6" cy="437.9" r="3.6"/>
    <circle id="cheek" opacity="0.3" fill="url(#orchid-tobtm)" cx="547.8" cy="504.9" r="33.9"/>
    <path id="shoulder" opacity="0.22" fill="#5650CC" d="M631.2,891.7c0,0-3.3-147.2,70-155.3c73.2-8.1,104.4,112,105.6,155.2L631.2,891.7z"/>
  </g>

  <g id="brain">
    <g id="hemispheres">
      <path fill="#887AFF" d="M615.7,311v149.8c0,0-67.9-7.4-67.9-80.1C547.1,324.1,615.7,311,615.7,311z"/>
      <path fill="#00BBFF" d="M631.2,311v149.8c0,0,67.9-7.4,67.9-80.1C699.8,324.1,631.2,311,631.2,311z"/>
    </g>

    <g id="frontal-lobe">
      <path fill="#00BBFF" d="M544.2,386c0,40,29.8,73,68.4,78.2c1.8,0.2,3.7,0.4,5.5,0.5c0.8,0,1.5-0.6,1.5-1.4l0-154.7
        c0-0.8-0.6-1.3-1.4-1.3c-1.6,0.1-4.1,0.3-5.6,0.5C574,312.9,544.2,346,544.2,386z M612.6,410.3c0,0.5-0.5,0.8-0.9,0.6
        c-10.3-4.7-17.3-15.8-15.8-28.2c0.5-4.6,2.3-9,5-12.8c2.9-3.9,6.5-6.9,10.7-8.8c0.4-0.2,0.9,0.1,0.9,0.6v6.1
        c0,0.5-0.2,0.9-0.6,1.1c-1.2,0.8-2.4,1.8-3.5,2.9c-3.8,3.9-5.8,9-5.8,14.5c0.1,5.4,2.3,10.5,6.2,14.3c0.9,0.9,1.9,1.7,3,2.4
        c0.4,0.3,0.7,0.8,0.7,1.3V410.3z M612.6,422.7v3c0,0.5-0.5,0.8-0.9,0.7c-6.7-1.9-12.8-5.4-17.9-10.3c-8.8-8.6-13.4-20.5-12.6-32.9
        c0.6-8.7,3.9-17.1,9.5-23.9c5.6-6.7,12.9-11.4,21-13.7c0.4-0.1,0.8,0.2,0.8,0.6v5.4c0,0.6-0.4,1.1-1,1.3
        c-6.2,2.2-11.8,6.1-16.1,11.5c-4.9,6.2-7.4,14.1-7.4,22v0c0.1,9.3,3.9,18.1,10.6,24.6c3.8,3.7,8.3,6.5,13.2,8.1
        c0.4,0.1,0.7,0.5,0.7,0.9V422.7z M612.6,440.7c0,0.4-0.4,0.7-0.8,0.7c-10.5-2.1-20.2-7.2-28.1-14.9
        c-10.8-10.5-16.9-24.6-17.1-39.7c-0.4-27.5,19.1-50.8,45.2-56.1c0.4-0.1,0.8,0.2,0.8,0.7v5.1c0,0.7-0.5,1.2-1.1,1.4
        c-22,5.3-38.2,25.3-37.9,48.8c0.2,13.2,5.5,25.6,15,34.8c6.6,6.4,14.6,10.8,23.3,12.8c0.4,0.1,0.7,0.4,0.7,0.9V440.7z
         M611.8,456.2c-33.9-5.4-59.9-34.9-59.9-70.3c0-35.4,26-64.9,59.9-70.3c0.4-0.1,0.8,0.2,0.8,0.7v5.2c0,0.7-0.5,1.2-1.1,1.4
        c-29.8,5.5-52.5,31.7-52.5,63.1c0,31.5,22.8,57.7,52.7,63.1c0.5,0.1,0.9,0.6,0.9,1.1v5.3C612.6,456,612.2,456.3,611.8,456.2z"/>
    </g>

    <g id="cerebellum">
      <path fill="#887AFF" d="M634.7,307.8c-1.5-0.2-4-0.4-5.6-0.5c-0.7-0.1-1.4,0.5-1.4,1.3l0,154.7c0,0.8,0.7,1.4,1.5,1.4
        c1.9-0.1,3.7-0.3,5.5-0.5c38.6-5.1,68.4-38.2,68.4-78.2S673.3,312.9,634.7,307.8z M634.7,404.2c0-0.5,0.3-1,0.7-1.3
        c1.1-0.7,2.1-1.5,3-2.4c3.9-3.8,6.1-8.9,6.2-14.3c0.1-5.4-2-10.6-5.8-14.5c-1.1-1.1-2.2-2-3.5-2.9c-0.4-0.2-0.6-0.7-0.6-1.1v-6.1
        c0-0.5,0.5-0.8,0.9-0.6c4.2,1.9,7.8,4.9,10.7,8.8c2.8,3.7,4.5,8.2,5,12.8c1.5,12.5-5.5,23.5-15.8,28.2c-0.4,0.2-0.9-0.1-0.9-0.6
        V404.2z M634.7,420c0-0.4,0.3-0.8,0.7-0.9c4.9-1.6,9.4-4.4,13.2-8.1c6.7-6.5,10.4-15.2,10.6-24.6v0c0-8-2.5-15.8-7.4-22
        c-4.3-5.4-9.9-9.3-16.1-11.5c-0.6-0.2-1-0.7-1-1.3v-5.4c0-0.4,0.4-0.8,0.8-0.6c8.1,2.3,15.4,6.9,21,13.7c5.6,6.7,9,15.1,9.5,23.9
        c0.8,12.5-3.8,24.3-12.6,32.9c-5.1,5-11.2,8.5-17.9,10.3c-0.5,0.1-0.9-0.2-0.9-0.7v-3V420z M634.7,435c0-0.4,0.3-0.8,0.7-0.9
        c8.7-2,16.8-6.4,23.3-12.8c9.5-9.2,14.8-21.6,15-34.8c0.3-23.5-15.9-43.5-37.9-48.8c-0.6-0.2-1.1-0.7-1.1-1.4v-5.1
        c0-0.4,0.4-0.8,0.8-0.7c26,5.3,45.5,28.6,45.2,56.1c-0.2,15.1-6.3,29.2-17.1,39.7c-7.9,7.7-17.6,12.8-28.1,14.9
        c-0.4,0.1-0.8-0.2-0.8-0.7V435z M634.7,455.5v-5.3c0-0.5,0.4-1,0.9-1.1c29.9-5.4,52.7-31.7,52.7-63.1c0-31.4-22.7-57.6-52.5-63.1
        c-0.7-0.1-1.1-0.7-1.1-1.4v-5.2c0-0.4,0.4-0.7,0.8-0.7c33.9,5.4,59.9,34.9,59.9,70.3c0,35.4-26,64.8-59.9,70.3
        C635.1,456.3,634.7,456,634.7,455.5z"/>
    </g>
  </g>

  <g id="vein">
    <circle fill="#E29AC8" cx="623.9" cy="479.1" r="3.8" class="vein-node"/>
    <path fill="none" stroke="#E29AC8" stroke-miterlimit="10" d="M623.9,479.1c0,122.4,89.6,200.8,89.6,321.7c0,38.5-9.5,67-22.4,90.9
    "/>
  </g>

  <g id="orb-tl">
    <circle fill="#5d65ce" cx="110.6" cy="114.4" r="58.8"/>
    <circle fill="none" stroke="#5d65ce" stroke-width="2" stroke-miterlimit="10" cx="110.6" cy="114.4" r="71.9"/>
    <circle fill="none" stroke="#61D6BF" stroke-miterlimit="10" cx="110.6" cy="114.4" r="19.5"/>
    <circle fill="#61D6BF" cx="110.6" cy="114.4" r="3.6"/>
  </g>

  <g id="orb-mr">
    <circle fill="#5d65ce" cx="1214.1" cy="393.2" r="58.8"/>
    <circle fill="none" stroke="#5d65ce" stroke-width="2" stroke-miterlimit="10" cx="1214.1" cy="393.2" r="70.8"/>
    <circle fill="none" stroke="#61D6BF" stroke-miterlimit="10" cx="1214.1" cy="393.2" r="19.5"/>
    <circle fill="#61D6BF" cx="1214.1" cy="393.2" r="3.6"/>
  </g>

  <g id="bwave-front">
    <path fill="none" stroke="#61D6BF" stroke-width="0.9894" stroke-miterlimit="10" d="M586,371.9c-0.3-4.2-2.7-8.2-6.8-10.4
    c-4-2.2-8.7-2-12.4,0.2c-3.7,2.1-8.3,2.3-12.4,0.2c-4-2.2-6.4-6.1-6.8-10.4l0,0c-0.3-4.2-2.7-8.2-6.8-10.4c-4-2.2-8.7-2-12.4,0.2
    c-3.7,2.1-8.3,2.3-12.4,0.2c-4-2.2-6.4-6.1-6.8-10.4l0,0c-0.3-4.2-2.7-8.2-6.8-10.4c-4-2.2-8.7-2-12.4,0.2
    c-3.7,2.1-8.3,2.3-12.4,0.2c-4-2.2-6.4-6.1-6.8-10.4l0,0c-0.3-4.2-2.7-8.2-6.8-10.4c-4-2.2-8.7-2-12.4,0.2s-8.3,2.3-12.4,0.2
    c-4-2.2-6.4-6.1-6.8-10.4l0,0c-0.3-4.2-2.7-8.2-6.8-10.4c-4-2.2-8.7-2-12.4,0.2s-8.3,2.3-12.4,0.2c-4-2.2-6.4-6.1-6.8-10.4l0,0
    c-0.3-4.2-2.7-8.2-6.8-10.4c-4-2.2-8.7-2-12.4,0.2c-3.7,2.1-8.3,2.3-12.4,0.2c-4-2.2-6.4-6.1-6.8-10.4l0,0
    c-0.3-4.2-2.7-8.2-6.8-10.4c-4-2.2-8.7-2-12.4,0.2c-3.7,2.1-8.3,2.3-12.4,0.2c-4-2.2-6.4-6.1-6.8-10.4l0,0
    c-0.3-4.2-2.7-8.2-6.8-10.4c-4-2.2-8.7-2-12.4,0.2c-3.7,2.1-8.3,2.3-12.4,0.2c-4-2.2-6.4-6.1-6.8-10.4l0,0
    c-0.3-4.2-2.7-8.2-6.8-10.4c-4-2.2-8.7-2-12.4,0.2c-3.7,2.1-8.3,2.3-12.4,0.2c-4-2.2-6.4-6.1-6.8-10.4l0,0
    c-0.3-4.2-2.7-8.2-6.8-10.4c-4-2.2-8.7-2-12.4,0.2c-3.7,2.1-8.3,2.3-12.4,0.2c-4-2.2-6.4-6.1-6.8-10.4l0,0
    c-0.3-4.2-2.7-8.2-6.8-10.4c-4-2.2-8.7-2-12.4,0.2c-3.7,2.1-8.3,2.3-12.4,0.2c-4-2.2-6.4-6.1-6.8-10.4l0,0
    c-0.3-4.2-2.7-8.2-6.8-10.4c-4-2.2-8.7-2-12.4,0.2c-3.7,2.1-8.3,2.3-12.4,0.2c-4-2.2-6.4-6.1-6.8-10.4"/>
    <ellipse fill="#61D6BF" cx="586" cy="375" rx="3.6" ry="3.6" class="node"/>
  </g>

  <g id="bwave-front_bl">
    <path fill="none" stroke="#61D6BF" stroke-miterlimit="10" d="M91,627.1c4.1-2,6.8-5.8,7.3-10c0.5-4.3,3.2-8.1,7.3-10
    c4.2-1.9,8.9-1.4,12.5,0.9l0,0l0.2,0c3.7,2.3,8.3,2.8,12.5,0.9c4.1-2,6.8-5.8,7.3-10c0.5-4.3,3.2-8.1,7.3-10
    c4.2-1.9,8.9-1.4,12.5,0.9l0,0c3.7,2.3,8.3,2.8,12.5,0.9c4.1-2,6.8-5.8,7.3-10c0.5-4.3,3.2-8.1,7.3-10c4.2-1.9,8.9-1.4,12.5,0.9
    l0,0c3.7,2.3,8.3,2.8,12.5,0.9c4.1-2,6.8-5.8,7.3-10c0.5-4.3,3.2-8.1,7.3-10c4.2-1.9,8.9-1.4,12.5,0.9l0,0
    c3.7,2.3,8.3,2.8,12.5,0.9c4.1-2,6.8-5.8,7.3-10c0.5-4.3,3.2-8.1,7.3-10c4.2-1.9,8.9-1.4,12.5,0.9l0,0c3.7,2.3,8.3,2.8,12.5,0.9
    c4.1-2,6.8-5.8,7.3-10c0.5-4.3,3.2-8.1,7.3-10c4.2-1.9,8.9-1.4,12.5,0.9l0,0c3.7,2.3,8.3,2.8,12.5,0.9c4.1-2,6.8-5.8,7.3-10
    c0.5-4.3,3.2-8.1,7.3-10c4.2-1.9,8.9-1.4,12.5,0.9l0,0c3.7,2.3,8.3,2.8,12.5,0.9c4.1-2,6.8-5.8,7.3-10c0.5-4.3,3.2-8.1,7.3-10
    c4.2-1.9,8.9-1.4,12.5,0.9l0,0c3.7,2.3,8.3,2.8,12.5,0.9c4.1-2,6.8-5.7,7.3-10s3.2-8.1,7.3-10c4.2-1.9,8.9-1.4,12.5,0.9l0,0
    c3.7,2.3,8.3,2.8,12.5,0.9c4.1-2,6.8-5.7,7.3-10c0.5-4.3,3.2-8.1,7.3-10c4.2-1.9,8.9-1.4,12.5,0.9l0,0c3.7,2.3,8.3,2.8,12.5,0.9
    c4.1-2,6.8-5.8,7.3-10c0.5-4.3,3.2-8.1,7.3-10c4.2-1.9,8.9-1.4,12.5,0.9l0,0c3.7,2.3,8.3,2.8,12.5,0.9c4.1-2,6.8-5.8,7.3-10
    c0.5-4.3,3.2-8.1,7.3-10c4.2-1.9,8.9-1.4,12.5,0.9l0,0c3.7,2.3,8.3,2.8,12.5,0.9c4.1-2,6.8-5.8,7.3-10c0.5-4.3,3.2-8.1,7.3-10
    c1.8-0.8,3.6-1.2,5.4-1.2"/>
    <ellipse fill="#61D6BF" cx="586.4" cy="387.6" rx="3.6" ry="3.6" class="node"/>
  </g>

  <g id="bwave-cerebellum">
    <path fill="none" stroke="#61D6BF" stroke-miterlimit="10" d="M1194.9,390c-2.3-3.6-6.3-6-10.9-6s-8.6,2.4-11,6
    c-2.3,3.6-6.4,6-11,6s-8.6-2.4-10.9-6l0,0c-2.3-3.6-6.3-6-10.9-6s-8.6,2.4-11,6c-2.3,3.6-6.4,6-11,6s-8.6-2.4-10.9-6l0,0
    c-2.3-3.6-6.3-6-10.9-6s-8.6,2.4-11,6c-2.3,3.6-6.4,6-11,6s-8.6-2.4-10.9-6l0,0c-2.3-3.6-6.3-6-10.9-6s-8.6,2.4-11,6
    c-2.3,3.6-6.4,6-11,6s-8.6-2.4-10.9-6l0,0c-2.3-3.6-6.3-6-10.9-6c-4.6,0-8.6,2.4-11,6c-2.3,3.6-6.4,6-11,6s-8.6-2.4-10.9-6l0,0
    c-2.3-3.6-6.3-6-10.9-6c-4.6,0-8.6,2.4-11,6c-2.3,3.6-6.4,6-11,6s-8.6-2.4-10.9-6l0,0c-2.3-3.6-6.3-6-10.9-6c-4.6,0-8.6,2.4-11,6
    c-2.3,3.6-6.4,6-11,6s-8.6-2.4-10.9-6l0,0c-2.3-3.6-6.3-6-10.9-6c-4.6,0-8.6,2.4-11,6c-2.3,3.6-6.4,6-11,6s-8.6-2.4-10.9-6l0,0
    c-2.3-3.6-6.3-6-10.9-6c-4.6,0-8.6,2.4-11,6c-2.3,3.6-6.4,6-11,6s-8.6-2.4-10.9-6l0,0c-2.3-3.6-6.3-6-10.9-6c-4.6,0-8.6,2.4-11,6
    c-2.3,3.6-6.4,6-11,6s-8.6-2.4-10.9-6l0,0c-2.3-3.6-6.3-6-10.9-6c-4.6,0-8.6,2.4-11,6c-2.3,3.6-6.4,6-11,6s-8.6-2.4-10.9-6l0,0
    c-2.3-3.6-6.3-6-10.9-6c-4.6,0-8.6,2.4-11,6s-6.4,6-11,6s-8.6-2.4-10.9-6"/>
  <circle fill="#61D6BF" cx="669.7" cy="389.1" r="3.6" class="node"/>
  </g>

  <g id="bwave-cerebellum_tr">
    <path fill="none" stroke="#61D6BF" stroke-miterlimit="10" d="M659,337"/>
    <path fill="none" stroke="#61D6BF" stroke-miterlimit="10" d="M1025.3,87.1c-3.8,2.6-8.4,2.9-12.4,1.3l0,0c-4-1.7-8.6-1.4-12.4,1.3
    c-3.8,2.6-5.8,6.8-5.5,11.1c0.2,4.3-1.7,8.4-5.5,11.1c-3.8,2.6-8.4,2.9-12.4,1.3l0,0c-4-1.7-8.6-1.4-12.4,1.3
    c-3.8,2.6-5.8,6.8-5.5,11.1c0.3,4.3-1.7,8.4-5.5,11.1c-3.8,2.6-8.4,2.9-12.4,1.3l0,0c-4-1.7-8.6-1.4-12.4,1.3
    c-3.8,2.6-5.8,6.8-5.5,11.1c0.3,4.3-1.7,8.4-5.5,11.1c-3.8,2.6-8.4,2.9-12.4,1.3l0,0c-4-1.7-8.6-1.4-12.4,1.3
    c-3.8,2.6-5.8,6.8-5.5,11.1c0.2,4.3-1.7,8.4-5.5,11.1c-3.8,2.6-8.4,2.9-12.4,1.3l0,0c-4-1.7-8.6-1.4-12.4,1.3
    c-3.8,2.6-5.8,6.8-5.5,11.1c0.2,4.3-1.7,8.4-5.5,11.1c-3.8,2.6-8.4,2.9-12.4,1.3l0,0c-4-1.7-8.6-1.4-12.4,1.3
    c-3.8,2.6-5.8,6.8-5.5,11.1c0.2,4.3-1.7,8.4-5.5,11.1c-3.8,2.6-8.4,2.9-12.4,1.3l0,0c-4-1.7-8.6-1.4-12.4,1.3
    c-3.8,2.6-5.8,6.8-5.5,11.1c0.2,4.3-1.7,8.4-5.5,11.1c-3.8,2.6-8.4,2.9-12.4,1.3l0,0c-4-1.7-8.6-1.4-12.4,1.3
    c-3.8,2.6-5.8,6.8-5.5,11.1c0.2,4.3-1.7,8.4-5.5,11.1c-3.8,2.6-8.4,2.9-12.4,1.3l0,0c-4-1.7-8.6-1.4-12.4,1.3
    c-3.8,2.6-5.8,6.8-5.5,11.1c0.2,4.3-1.7,8.4-5.5,11.1c-3.8,2.6-8.4,2.9-12.4,1.3l0,0c-4-1.7-8.6-1.4-12.4,1.3
    c-3.8,2.6-5.8,6.8-5.5,11.1c0.2,4.3-1.7,8.4-5.5,11.1c-2.4,1.6-5.1,2.3-7.7,2.2"/>
    <circle fill="#61D6BF" cx="658.8" cy="336.4" r="3.6" class="node"/>
  </g>
  
  <line id="laser" stroke="red" stroke-width="3" style="visibility:hidden" />
  
</svg>
              
            
!

CSS

              
                // DEMO STYLES
// ==============================================

html,
body {
  height: 100%;
  width: 100%;
}

body {
  text-align: center;
}

svg {
  height: 100vh;
}


// REQUIRED STYLES
// ==============================================

$kp-dashoffset: 800;
$kp-dasharray: $kp-dashoffset;

body {
  background: #5B53D2;
  //background: linear-gradient(to top, #5650CC, #6C5CE5);
}

.kp:not(:root) {
  overflow: visible;
}

#pulse circle,
.node,
.vein-node {
  visibility: hidden;
}

#bwave-front path,
#bwave-front_bl path,
#bwave-cerebellum path,
#bwave-cerebellum_tr path,
#vein path {
  stroke-dasharray: $kp-dasharray;
  stroke-dashoffset: $kp-dashoffset;
}
              
            
!

JS

              
                var kpassions = (function() {

  // ORBS
  var orb_tr = document.getElementById('orb-tr'),
      orb_bl = document.getElementById('orb-bl'),
      orb_tl = document.getElementById('orb-tl'),
      orb_mr = document.getElementById('orb-mr'),
      orbs   = [orb_tr, orb_bl, orb_tl, orb_mr];

  // BRAIN WAVES
  var bwave_front         = document.querySelectorAll('#bwave-front path'),
      bwave_front_bl      = document.querySelectorAll('#bwave-front_bl path'),
      bwave_cerebellum    = document.querySelectorAll('#bwave-cerebellum path'),
      bwave_cerebellum_tr = document.querySelectorAll('#bwave-cerebellum_tr path'),
      bwave_vein          = document.querySelectorAll('#vein path');

  // NODES
  var nodes     = document.querySelectorAll('.node'),
      vein_node = document.querySelectorAll('.vein-node');

  // Configs
  var scale_start = {
    scale: 0,
    transformOrigin: 'center center'
  }

  var path_reverse = {
    rotation: 180,
    transformOrigin: 'center center'
  };

  var from = {
    drawSVG: '0'
  };

  var to_default = {
    drawSVG: '100%',
    opacity: 0.8
  };

  var to_reverse = {
    drawSVG: '0 100%',
    opacity: 0.8
  };

  var unfill = {
    drawSVG: '100% 100%',
    opacity: 0.2
  };

  // Setters
  TweenMax.set(bwave_front, path_reverse);
  TweenMax.set([orbs, nodes, vein_node], scale_start);


  // Utility Methods
  // =============================================

  function hideGraphic(selector) {
    TweenMax.set(selector, {
      visibility: 'hidden'
    });
  }


  // Breathing
  // =============================================

  function breatheIn() {
    var start = "M935.2,891.7C912.8,804,737.9,648.8,726.3,602.8c-7.4-29.3,0.3-59.1,9.6-88.2c1.1,1.2,2.2,2.3,3.5,3.2c1.4,1,3.7,1.8,4.6,0.3c0.4-0.7,0.3-1.5,0.2-2.3c-0.7-4.6-1.2-9.3-1.6-14c1.8,3.7,4.3,7.1,7.7,9.6c1.4,1,3.7,1.8,4.6,0.3c0.4-0.7,0.3-1.5,0.2-2.3c-2.9-19.8-3.4-40.2-1-60.1c0.2-1.1,0.3-2.1,0.4-3.2c0-0.1,0-0.3,0-0.4s0-0.1,0-0.2l0,0c16.3-139.3-69-171.2-113.4-178.4l0,0c-51.1-9.5-90.2,9.2-109.9,27.9c-14.7,13.9-28.3,30.7-47.6,36.6c-2.8,0.9-6.1,1.9-6.9,4.7c-0.8,3,1.9,5.7,4.5,7.4c2.5,1.6,5.2,3,8,4.1c-1.4,1.3-3.1,2.2-4.9,2.7c-1.1,0.3-2.5,0.7-2.7,1.9c-0.1,0.9,0.7,1.7,1.5,2.1c1.7,1,3.7,1.5,5.7,1.8c1.1,0.2,2.2,0.3,3.3,0.3c-7.3,21.1-11.8,47.2-11.8,79.2c0,51.3-8.2,67.7-12.8,72.9c-0.8,0.9-0.2,2.3,1,2.3h41.7c1.5,0,2.7,1.2,2.7,2.7l-1.3,32.9c0,1.5,0.9,2.9,2.3,3.4l9.1-0.9c1.4,0.6,1.5,2.5,0.1,3.2l-10.3,1c-0.9,0.5-1.5,1.4-1.5,2.4c0.3,13.7,7.2,109.8,91.2,109.8c0,0,67.2,79.6-45,226.2L935.2,891.7L935.2,891.7z";

    var end = "M953.6,891.7c-88.5-223.2-215.7-242.9-227.3-288.9c-7.4-29.3,0.3-59.1,9.6-88.2c1.1,1.2,2.2,2.3,3.5,3.2c1.4,1,3.7,1.8,4.6,0.3c0.4-0.7,0.3-1.5,0.2-2.3c-0.7-4.6-1.2-9.3-1.6-14c1.8,3.7,4.3,7.1,7.7,9.6c1.4,1,3.7,1.8,4.6,0.3c0.4-0.7,0.3-1.5,0.2-2.3c-2.9-19.8-3.4-40.2-1-60.1c0.2-1.1,0.3-2.1,0.4-3.2c0-0.1,0-0.3,0-0.4s0-0.1,0-0.2l0,0c16.3-139.3-69-171.2-113.4-178.4l0,0c-51.1-9.5-90.2,9.2-109.9,27.9c-14.7,13.9-28.3,30.7-47.6,36.6c-2.8,0.9-6.1,1.9-6.9,4.7c-0.8,3,1.9,5.7,4.5,7.4c2.5,1.6,5.2,3,8,4.1c-1.4,1.3-3.1,2.2-4.9,2.7c-1.1,0.3-2.5,0.7-2.7,1.9c-0.1,0.9,0.7,1.7,1.5,2.1c1.7,1,3.7,1.5,5.7,1.8c1.1,0.2,2.2,0.3,3.3,0.3c-7.3,21.1-11.8,47.2-11.8,79.2c0,51.3-8.2,67.7-12.8,72.9c-0.8,0.9-0.2,2.3,1,2.3h41.7c1.5,0,2.7,1.2,2.7,2.7v28.8c0,1.5,0.9,2.9,2.3,3.4l7.8,3.2c1.4,0.6,1.5,2.5,0.1,3.2l-8.6,4.3c-0.9,0.5-1.5,1.4-1.5,2.4c0.3,13.7,5.5,106.4,89.5,106.4c0,0,40.6,66.6-45,226.2h377.7L953.6,891.7z";

    var speed      = 3200,
        eaze       = mina.linear,
        silhouette = Snap.select('#child');

    var outline = silhouette.attr({
      d: start
    });

    silhouette.animate({
      d: end
    }, speed, eaze, function() {
      setTimeout(breatheOut, 1000);
    });
  }

  function breatheOut() {
    var start = "M953.6,891.7c-88.5-223.2-215.7-242.9-227.3-288.9c-7.4-29.3,0.3-59.1,9.6-88.2c1.1,1.2,2.2,2.3,3.5,3.2c1.4,1,3.7,1.8,4.6,0.3c0.4-0.7,0.3-1.5,0.2-2.3c-0.7-4.6-1.2-9.3-1.6-14c1.8,3.7,4.3,7.1,7.7,9.6c1.4,1,3.7,1.8,4.6,0.3c0.4-0.7,0.3-1.5,0.2-2.3c-2.9-19.8-3.4-40.2-1-60.1c0.2-1.1,0.3-2.1,0.4-3.2c0-0.1,0-0.3,0-0.4s0-0.1,0-0.2l0,0c16.3-139.3-69-171.2-113.4-178.4l0,0c-51.1-9.5-90.2,9.2-109.9,27.9c-14.7,13.9-28.3,30.7-47.6,36.6c-2.8,0.9-6.1,1.9-6.9,4.7c-0.8,3,1.9,5.7,4.5,7.4c2.5,1.6,5.2,3,8,4.1c-1.4,1.3-3.1,2.2-4.9,2.7c-1.1,0.3-2.5,0.7-2.7,1.9c-0.1,0.9,0.7,1.7,1.5,2.1c1.7,1,3.7,1.5,5.7,1.8c1.1,0.2,2.2,0.3,3.3,0.3c-7.3,21.1-11.8,47.2-11.8,79.2c0,51.3-8.2,67.7-12.8,72.9c-0.8,0.9-0.2,2.3,1,2.3h41.7c1.5,0,2.7,1.2,2.7,2.7v28.8c0,1.5,0.9,2.9,2.3,3.4l7.8,3.2c1.4,0.6,1.5,2.5,0.1,3.2l-8.6,4.3c-0.9,0.5-1.5,1.4-1.5,2.4c0.3,13.7,5.5,106.4,89.5,106.4c0,0,40.6,66.6-45,226.2h377.7L953.6,891.7z";

    var end = "M935.2,891.7C912.8,804,737.9,648.8,726.3,602.8c-7.4-29.3,0.3-59.1,9.6-88.2c1.1,1.2,2.2,2.3,3.5,3.2c1.4,1,3.7,1.8,4.6,0.3c0.4-0.7,0.3-1.5,0.2-2.3c-0.7-4.6-1.2-9.3-1.6-14c1.8,3.7,4.3,7.1,7.7,9.6c1.4,1,3.7,1.8,4.6,0.3c0.4-0.7,0.3-1.5,0.2-2.3c-2.9-19.8-3.4-40.2-1-60.1c0.2-1.1,0.3-2.1,0.4-3.2c0-0.1,0-0.3,0-0.4s0-0.1,0-0.2l0,0c16.3-139.3-69-171.2-113.4-178.4l0,0c-51.1-9.5-90.2,9.2-109.9,27.9c-14.7,13.9-28.3,30.7-47.6,36.6c-2.8,0.9-6.1,1.9-6.9,4.7c-0.8,3,1.9,5.7,4.5,7.4c2.5,1.6,5.2,3,8,4.1c-1.4,1.3-3.1,2.2-4.9,2.7c-1.1,0.3-2.5,0.7-2.7,1.9c-0.1,0.9,0.7,1.7,1.5,2.1c1.7,1,3.7,1.5,5.7,1.8c1.1,0.2,2.2,0.3,3.3,0.3c-7.3,21.1-11.8,47.2-11.8,79.2c0,51.3-8.2,67.7-12.8,72.9c-0.8,0.9-0.2,2.3,1,2.3h41.7c1.5,0,2.7,1.2,2.7,2.7l-1.3,32.9c0,1.5,0.9,2.9,2.3,3.4l9.1-0.9c1.4,0.6,1.5,2.5,0.1,3.2l-10.3,1c-0.9,0.5-1.5,1.4-1.5,2.4c0.3,13.7,7.2,109.8,91.2,109.8c0,0,67.2,79.6-45,226.2L935.2,891.7L935.2,891.7z";

    var speed      = 3000,
        eaze       = mina.linear,
        silhouette = Snap.select('#child');

    var outline = silhouette.attr({
      d: start
    });

    silhouette.animate({
      d:end
    }, speed, eaze, function() {
      setTimeout(breatheIn, 1000);
    });
  }


  // Hair Movement
  // =============================================

  function hairUp() {
    var start = "M481.2,343.7c2.5,1.6,5.2,3,8,4.1c-1.4,1.3-3.1,2.2-4.9,2.7c-1.1,0.3-2.5,0.7-2.7,1.9c-0.1,0.9,0.7,1.7,1.5,2.1c1.7,1,3.7,1.5,5.7,1.8c1.1,0.2,2.2,0.3,3.3,0.3l39.1-61.6c-14.7,13.9-28.3,30.7-47.6,36.6c-2.8,0.9-6.1,1.9-6.9,4.7C475.9,339.3,478.6,342,481.2,343.7z";

    var end = "M484.5,334.9c2.5,1.6,4.8,4.1,7.6,5.2c-1.4,1.3-2.7,1.1-4.5,1.6c-1.1,0.3-2.5,0.7-2.7,1.9c-0.1,0.9,0.7,1.7,1.5,2.1c1.7,1,3.3,2.6,5.3,2.9c1.1,0.2-0.7,8,0.4,8l39.1-61.6c-14.7,13.9-25,21.9-44.3,27.8c-2.8,0.9-6.1,1.9-6.9,4.7C479.2,330.5,481.9,333.2,484.5,334.9z";

    var speed      = 1200,
        eaze       = mina.backin,
        silhouette = Snap.select('#hair');

    var outline = silhouette.attr({
      d: start
    });

    silhouette.animate({
      d:end
    }, speed, eaze, function() {
      setTimeout(hairDown, 0);
    });
  }

  function hairDown() {
    var start = "M484.5,334.9c2.5,1.6,4.8,4.1,7.6,5.2c-1.4,1.3-2.7,1.1-4.5,1.6c-1.1,0.3-2.5,0.7-2.7,1.9c-0.1,0.9,0.7,1.7,1.5,2.1c1.7,1,3.3,2.6,5.3,2.9c1.1,0.2-0.7,8,0.4,8l39.1-61.6c-14.7,13.9-25,21.9-44.3,27.8c-2.8,0.9-6.1,1.9-6.9,4.7C479.2,330.5,481.9,333.2,484.5,334.9z";

    var end = "M481.2,343.7c2.5,1.6,5.2,3,8,4.1c-1.4,1.3-3.1,2.2-4.9,2.7c-1.1,0.3-2.5,0.7-2.7,1.9c-0.1,0.9,0.7,1.7,1.5,2.1c1.7,1,3.7,1.5,5.7,1.8c1.1,0.2,2.2,0.3,3.3,0.3l39.1-61.6c-14.7,13.9-28.3,30.7-47.6,36.6c-2.8,0.9-6.1,1.9-6.9,4.7C475.9,339.3,478.6,342,481.2,343.7z";

    var speed      = 1200,
        eaze       = mina.backout,
        silhouette = Snap.select('#hair');

    var outline = silhouette.attr({
      d: start
    });

    silhouette.animate({
      d:end
    }, speed, eaze, function() {
      setTimeout(hairUp, 0);
    });
  }


  // Facial Movements
  // =============================================

  function blink() {
    var tl = new TimelineMax({
      repeat: -1,
      repeatDelay: 3,
      yoyo: true
    });

    var eye      = document.querySelector('.kp #eye'),
        duration = 0.5;

    TweenMax.set(eye, { transformOrigin: 'bottom center' })

    var blink = {
      scaleY: 0,
      ease: Power1.easeIn
    };

    var open = {
      scaleY: 1,
      ease: Power1.easeOut
    };

    tl.to(eye, duration, blink)
      .to(eye, duration, open);

    return tl;
  }


  // Silhouette Orb
  // =============================================

  function orbPulse() {

    var tl = new TimelineMax();

    var orbs         = document.querySelectorAll('#pulse circle'),
        stagger_in   = 0.2,
        stagger_out  = stagger_in,
        duration_in  = 1,
        duration_out = duration_in,
        orb_array    = [orbs[5], orbs[4], orbs[3], orbs[2], orbs[1], orbs[0]];

    hideGraphic(orbs);

    var from = {
      transformOrigin: 'center center',
      scale: 0,
      ease: Cubic.easeIn
    };

    var to = {
      scale: 1,
      opacity: 1,
      visibility: 'visible',
      ease: Cubic.easeOut
    };

    var fade = {
      opacity: 0,
      ease: Ease.easeOut
    };

    tl.staggerFromTo(orb_array, duration_in, from, to, stagger_in)
      .staggerTo(orb_array, duration_out, fade, stagger_out);

    tl.timeScale(3);

    return tl
  }


  // Floating Orbs
  // =============================================

  var bezier_topleft = [
    { x: 0, y: 0 },
    { x: 5, y: 12 },
    { x: -4, y: -24 },
    { x: 1, y: 24 },
    { x: 5, y: 0 },
    { x: 0, y: 0 }
  ];

  var bezier_bottomleft = [
    { x: 0, y: 0 },
    { x: 14, y: 12 },
    { x: -4, y: -24 },
    { x: 25, y: 24 },
    { x: 10, y: -10 },
    { x: 20, y: 24 },
    { x: 10, y: 27 },
    { x: 0, y: 0 },
    { x: -10, y: 36 },
    { x: 20, y: 0 },
    { x: -15, y: 36 },
    { x: 10, y: -6 },
    { x: -15, y: 36 },
    { x: 0, y: 0 }
  ];

  var bezier_bottomright = [
    { x: 0, y: 0 },
    { x: -15, y: 12 },
    { x: 14, y: -24 },
    { x: -14, y: 24 },
    { x: 14, y: -24 },
    { x: -14, y: 24 },
    { x: 14, y: -24 },
    { x: 0, y: 0 }
  ];

  var bezier_topright = [
    { x: 0, y: 0 },
    { x: 5, y: 12 },
    { x: -4, y: -24 },
    { x: 1, y: 24 },
    { x: 5, y: 0 },
    { x: 0, y: 0 },
    { x: 5, y: 12 },
    { x: -4, y: -24 },
    { x: 1, y: 24 },
    { x: 5, y: 0 },
    { x: 0, y: 0 },
    { x: 5, y: 12 },
    { x: -4, y: -24 },
    { x: 1, y: 24 },
    { x: 5, y: 0 },
    { x: 0, y: 0 },
    { x: 5, y: 12 },
    { x: -4, y: -24 },
    { x: 1, y: 24 },
    { x: 5, y: 0 },
    { x: 0, y: 0 }
  ];

  function orbFloat(selector, duration, bezier) {
    var tl = new TimelineMax();

    tl.to(selector, duration, { bezier: {
        type: 'thru',
        values: bezier
      }, ease: Linear.easeInOut });

    return tl;
  }


  // Orb Bubbling
  // =============================================

  function orbBubbleIn(selector, duration) {
    var tl = new TimelineMax();

    var to = {
      scale: 1,
      ease: Elastic.easeOut
    };

    tl.to(selector, duration, to);

    return tl;
  }

  function orbBubbleOut(selector, duration) {
    var tl = new TimelineMax();

    var to = {
      transformOrigin: 'center center',
      scale: 0,
      ease: Elastic.easeInOut
    };

    tl.to(selector, duration, to);

    return tl;
  }


  // Pulsing Brain Nodes
  // =============================================

  TweenMax.set([nodes,vein_node], { visibility: 'visible' });

  function nodePulseIn(selector, n) {

    var tl = new TimelineMax();

    var duration  = 0.5;

    var pulse_in = {
      scale: 1,
      opacity: 1,
      ease: Power1.easeIn
    };

    tl.to(selector[n], duration, pulse_in);

    return tl;
  }

  function nodePulseOut(selector) {
    var tl = new TimelineMax();
    var duration  = 0.5;
    var pulse_out = {
      scale: 0,
      opacity: 0,
      ease: Power1.easeOut
    };

    tl.to(selector, duration, pulse_out);

    return tl;
  }


  // Idea Data Flow
  // =============================================

  function transmissionTopLeft() {
    var tl = new TimelineMax({
      repeat: -1
    });

    tl.add(orbBubbleIn(orb_tl, 1), 0)
      .add(orbFloat(orb_tl, 21, bezier_topleft), 0)
      .add('transmit')
      .fromTo(bwave_front, 1, from, to_default, 'transmit')
      .add('wave')
      .add(nodePulseIn(nodes, 0), 'wave-=0.25')
      .add(orbPulse(), 'wave')
      .add('pulse')
      .add(nodePulseIn(vein_node, 0), 'pulse-=1')
      .fromTo(bwave_vein, 1, from, to_reverse, 'pulse')
      .add('unfill')
      .add(nodePulseOut(nodes, 0), 'unfill+=0.25')
      .add(nodePulseOut(vein_node, 0), 'unfill')
      .add(orbFloat(orb_tl, 21, bezier_topleft), 'unfill+=0.5')
      .to(bwave_front, 1, unfill, 'unfill')
      .to(bwave_vein, 1, unfill, 'unfill+=0.25')
      .add(orbBubbleOut(orb_tl, 1));

    return tl;
  }

  function transmissionBottomLeft() {
    var tl = new TimelineMax({
      repeat: -1
    });

    tl.add(orbBubbleIn(orb_bl, 1), 0)
      .add(orbFloat(orb_bl, 63.975, bezier_bottomleft), 0)
      .add('transmit')
      .fromTo(bwave_front_bl, 1, from, to_default, 'transmit')
      .add('wave')
      .add(nodePulseIn(nodes, 1), 'wave-=0.25')
      .add(orbPulse(), 'wave')
      .add('pulse')
      .add(nodePulseIn(vein_node, 0), 'pulse-=1')
      .fromTo(bwave_vein, 1, from, to_reverse, 'pulse')
      .add('unfill')
      .add(nodePulseOut(nodes, 1), 'unfill+=0.25')
      .add(nodePulseOut(vein_node, 0), 'unfill')
      .add(orbFloat(orb_bl, 63.975, bezier_bottomleft), 'unfill+=0.5')
      .to(bwave_front_bl, 1, unfill, 'unfill')
      .to(bwave_vein, 1, unfill, 'unfill+=0.25')
      .add(orbBubbleOut(orb_bl, 1));

    return tl;
  }

  function transmissionBottomRight() {
    var tl = new TimelineMax({
      repeat: -1
    });

    tl.add(orbBubbleIn(orb_mr, 1), 0)
      .add(orbFloat(orb_mr, 42.21375, bezier_bottomright), 0)
      .add('transmit')
      .fromTo(bwave_cerebellum, 1, from, to_default, 'transmit')
      .add('wave')
      .add(nodePulseIn(nodes, 2), 'wave-=0.25')
      .add(orbPulse(), 'wave')
      .add('pulse')
      .add(nodePulseIn(vein_node, 0), 'pulse-=1')
      .fromTo(bwave_vein, 1, from, to_reverse, 'pulse')
      .add('unfill')
      .add(nodePulseOut(nodes, 2), 'unfill+=0.25')
      .add(nodePulseOut(vein_node, 0), 'unfill')
      .add(orbFloat(orb_mr, 42.21375, bezier_bottomright), 'unfill+=0.5')
      .to(bwave_cerebellum, 1, unfill, 'unfill')
      .to(bwave_vein, 1, unfill, 'unfill+=0.25')
      .add(orbBubbleOut(orb_mr, 1));

    return tl;
  }

  function transmissionTopRight() {
    var tl = new TimelineMax({
      repeat: -1
    });

    tl.add(orbBubbleIn(orb_tr, 1), 0)
      .add(orbFloat(orb_tr, 55, bezier_topright), 0)
      .add('transmit')
      .fromTo(bwave_cerebellum_tr, 1, from, to_default, 'transmit')
      .add('wave')
      .add(nodePulseIn(nodes, 3), 'wave-=0.25')
      .add(orbPulse(), 'wave')
      .add('pulse')
      .add(nodePulseIn(vein_node, 0), 'pulse-=1')
      .fromTo(bwave_vein, 1, from, to_reverse, 'pulse')
      .add('unfill')
      .add(nodePulseOut(nodes, 3), 'unfill+=0.25')
      .add(nodePulseOut(vein_node, 0), 'unfill')
      .add(orbFloat(orb_tr, 55, bezier_topright), 'unfill+=0.5')
      .to(bwave_cerebellum_tr, 1, unfill, 'unfill')
      .to(bwave_vein, 1, unfill, 'unfill+=0.25')
      .add(orbBubbleOut(orb_tr, 1));

    return tl;
  }
  
  
  //////////////////////////////////////////////////////
  var laser = document.querySelector("#laser");
  var brain = document.querySelector("#brain");
  
  function Orb(config, index) {
       
    var node = config.target;
    
    var tl = new TimelineMax({ repeat: -1 });
    tl.to(node, config.duration, { bezier: {
        type: 'thru',
        values: config.bezier
      }, ease: Linear.easeInOut });
    
    TweenLite.delayedCall(index * 0.25, start);
    
    var orb = {      
      tl: tl,
      node: node,
      fire: fire
    };
    
    return orb;
    
    function start() {
      TweenLite.to(node, 1, { scale: 1, ease: Elastic.easeOut });
    }
        
    function fire(callback) {

      tl.pause();
      var bbox1 = node.getBBox();
      var bbox2 = brain.getBBox();
      
      TweenLite.set(laser, {
        drawSVG: 0,
        autoAlpha: 1,
        attr: {
          x1: bbox1.x + bbox1.width  / 2,
          y1: bbox1.y + bbox1.height / 2,
          x2: bbox2.x + bbox2.width  / 2,
          y2: bbox2.y + bbox2.height / 2,
        }
      });
      
      TweenMax.to(laser, 1, { 
        drawSVG: true, 
        repeat: 1, 
        yoyo: true, 
        repeatDelay: 1,
        onComplete: function() {
          tl.play();
          callback();
        }
      });
    }    
  }
  
  var orbConfig = [
    { target: orb_tl, duration: 21, bezier: bezier_topleft },
    { target: orb_bl, duration: 64, bezier: bezier_bottomleft },
    { target: orb_mr, duration: 42, bezier: bezier_bottomright },
    { target: orb_tr, duration: 55, bezier: bezier_topright }   
  ];
    
  var orbs = orbConfig.map(Orb);
  var size = orbs.length;
  
  fireLaser(random(1, 4));
  
  function fireLaser(delay) {
    
    TweenLite.delayedCall(delay, function() {
      getRandom().fire(function() {
        fireLaser(random(1, 4, true));
      });
    });
  }
  
  function getRandom() {
    return orbs[random(size - 1)];
  }
    
  function random(min, max, float) {
    if (max == null) {
      max = min;
      min = 0;
    }
    
    return float 
      ? min + Math.random() * (max - min + 1)
      : min + Math.floor(Math.random() * (max - min + 1));      
  }
  

  // Master Timeline
  // =============================================

  function timeline() {
    // https://greensock.com/docs/#/HTML5/GSAP/TimelineMax/TimelineMax
    var master = new TimelineMax({
      smoothChildTiming: true,
      tweens: [
        //transmissionTopLeft(), 
        //transmissionBottomLeft(), 
        //transmissionBottomRight(), 
        //transmissionTopRight()
      ],
      stagger: 0.25
    });
    
    
    master.timeScale(6)

    return master;
  }

  return {
    init: function(){
      blink();
      breatheIn();
      timeline();
    }
  };
})();

kpassions.init();
              
            
!
999px

Console