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.


                <link href=',400,700' rel='stylesheet' type='text/css'>
<h1>CustomWiggle Graph Playground</h1>

<svg viewBox="0 0 1000 400" width="96%" height="96%">
  <path id="ease"></path></svg>
<div id="ball"></div>



                body {
  background-color: black;
  font-family: Signika Negative, Asap, sans-serif;
  color: #ccc;
  font-weight: 300;
  font-size: 1.3em;
  line-height: 1.3em;
  padding: 20px;
  text-align: center;
svg {
  top: 50%;
  left: 50%;
  z-index: -1;
  overflow: visible;
  transform: translate(-50%,-50%);
#ball {
  width: 40px;
  height: 40px; 
  margin: 90px 0 30px 0;
  border-radius: 50%;
  background-color: #90E500;
  display: inline-block;
path {
  stroke-width: 3px;
  stroke: purple;
  fill: none;
  opacity: 0.7;
h1, strong {
  color: white;
  font-weight: 400;
a:link, a:visited {
  text-decoration: none;
a:hover {
  text-decoration: underline;


                //create the custom ease (play with any of these values)
CustomWiggle.create("my-wiggle", { //name
  wiggles: 30, //number of wiggles/oscilations 
  timingEase: "M0,0,C0.3,0,0.3,1,1,1", //affects how things are mapped along the x-axis (time).
  amplitudeEase: "M0,0,C0.6,0,0.7,1,1,1", //affects the shape of the amplitude curve
  // see for a visual graph that lets you create custom eases like above.
  //type:"easeOut" //can be "easeOut" (default), "easeInOut", "anticipate", "uniform" or "random" (but these are overridden by timingEase/amplitudeEase)
});"#ball", {
  x: 300, 
  ease: "my-wiggle",
  duration: 6,
  repeat: 50, 
  repeatDelay: 1

//graph it
CustomEase.getSVGData("my-wiggle", {

//The default amplitudeEase for "easeOut" is: 
//CustomEase.create("Wiggle.easeOut", "M0,1,C0.7,1,0.6,0,1,0");