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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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 xlmns="http://www.w3.org/2000/svg" version="1.1">
  <defs>
  <filter id="turbulence" filterUnits="objectBoundingBox" x="0" y="0" width="100%" height="100%">
    <feTurbulence id="feturbulence" type="fractalNoise" numOctaves="3" seed="2"></feTurbulence>
    <feDisplacementMap xChannelSelector="G" yChannelSelector="B" scale="20" in="SourceGraphic"></feDisplacementMap>
  </filter>
    <clipPath
       id="boat-wake">
      <path
         d="m 556.59405,819.01697 -97.98479,75.25636 -53.53809,30.30458 -295.46962,107.58129 13.63706,10.1015 22.22336,-5.0508 3.47688,12.6908 264.21354,0.4412 22.22336,-29.2944 18.68782,-5.5559 4.04061,12.1219 8.5863,6.566 14.64721,-5.0508 14.64721,-17.1726 13.63706,-24.74873 27.77919,-25.25382 12.62691,-12.12183 0.50508,-10.10152 9.59645,-9.09138 8.58629,8.5863 10.10153,-2.52538 9.59645,-14.14214 0,-13.13198 -11.61676,-13.13198 9.59645,-18.68783 3.03046,-9.59644 -8.5863,-14.14214 -5.05076,-10.10153 -0.50508,-19.19289 z"
         id="wake-right" />
    </clipPath>
  </defs>
  <image
       y="0"
       x="0"
       id="boat"    
style="opacity:0.5"         xlink:href="http://leobaillard.leoserveur.org/px/boat.jpg"
       preserveAspectRatio="none"
       height="343.75"
       width="623.75" />
      <image
       y="0"
       x="0" xlink:href="http://leobaillard.leoserveur.org/px/boat.jpg"
       preserveAspectRatio="none"
             clip-path="url(#boat-wake)"
             filter="url(#turbulence)"
       height="343.75"
    width="623.75" />
    
</svg>
              
            
!

CSS

              
                svg {
  width: 1000px;
  height: 1000px;
  }
              
            
!

JS

              
                var timeline = new TimelineMax({repeat: -1, yoyo: true}),
    feTurb = document.querySelector('#feturbulence');

timeline.add(
  new TweenMax.to(feTurb, 8, {
    onUpdate: function(){
      var bfX = this.progress() * 0.005 + 0.015, //base frequency x
          bfY = this.progress() * 0.05 + 0.1,   //base frequency y
          bfStr = bfX.toString() + ' ' + bfY.toString(); //base frequency string
      feTurb.setAttribute('baseFrequency', bfStr);
    }
  }), 0
);
              
            
!
999px

Console