Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource


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


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.


Auto Save

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.


    <meta charset="utf-8">
    <title>Grafiek animeren</title>
    <script src=""></script>

    #wrapperG {
      width: 1000px;
      height: 1000px;
      margin: 100px auto;




    <div id="wrapperG">
      <?xml version="1.0" encoding="utf-8"?>
      <!-- Generator: Adobe Illustrator 22.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
      <svg version="1.1" id="Layer_1" xmlns="" xmlns:xlink="" x="0px" y="0px"
      	 viewBox="0 0 1366 768" style="enable-background:new 0 0 1366 768;" xml:space="preserve">

      		<polygon class="st0" points="559,330.9 774.6,330.9 726.3,247.1 607.3,247.1 		"/>
      		<polygon class="st1" points="447.5,524 886.1,524 837.8,440.3 495.8,440.3 		"/>
      		<polygon class="st2" points="389.4,624.6 944.2,624.6 893.6,536.9 440,536.9 		"/>
      		<polygon class="st3" points="503.2,427.4 830.4,427.4 782,343.7 551.6,343.7 		"/>
      		<polygon class="st4" points="666.8,144.1 614.8,234.3 718.9,234.3 		"/>
      		<text transform="matrix(1 0 0 1 769.1035 114.1206)" class="st5 st6 st7">100%</text>
      		<text transform="matrix(1 0 0 1 441.9116 224.0913)" class="st5 st6 st7">80%</text>
      			<rect id="SVGID_1_" x="666.8" y="102.7" width="313.3" height="535.3"/>
      		<clipPath id="SVGID_2_">
      			<use xlink:href="#SVGID_1_"  style="overflow:visible;"/>
      		<g class="st8">
      			<polygon class="st9" points="726.3,247.1 607.3,247.1 559,330.9 774.6,330.9 			"/>
      			<polygon class="st9" points="837.8,440.3 495.8,440.3 447.5,524 886.1,524 			"/>
      			<polygon class="st9" points="893.6,536.9 440,536.9 389.4,624.6 944.2,624.6 			"/>
      			<polygon class="st9" points="782,343.7 551.6,343.7 503.2,427.4 830.4,427.4 			"/>
      			<polygon class="st9" points="666.8,144.1 614.8,234.3 718.9,234.3 			"/>
      	<polyline class="st10" points="693.3,215.5 779.6,129.2 868.7,129.2 	"/>
      	<polyline class="st10" points="599.3,316.9 562.6,231.3 447,231 	"/>
      	<path class="st10" d="M229.7,307.4"/>



                        <!--Javascript sectie-->

function timeLineOne(){

      var tl = new TimelineMax()
      tl.add("point2 -=0.5")
      tl.add("point3 -=0.5")
      tl.add("point4 -=0.5")
      tl.add("point5 -=0.5")
      tl.add("point6 -=0.5")
      tl.add("point7 -=0.5")

      tl.from("polygon.st2",1, {scaleX:0},"point1")
      tl.from("polygon.st1",1, {scaleX:0},"point2")
      tl.from("polygon.st3",1, {scaleX:0},"point3")
      tl.from("polygon.st0",1, {scaleX:0},"point4")
      tl.from("polygon.st4",1, {scaleX:0},"point5")
      tl.from(".st10",1, {scaleX:0},"point6")
      tl.from(".st7",1, {autoAlpha:0},"point7")

      //  tl.from("rect.cls-4",1, {scaleY:0, transformOrigin:"0% 50%"},"point2")

      return tl;