Socket
Socket
Sign inDemoInstall

svg.easing.js

Package Overview
Dependencies
1
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    svg.easing.js

Additional easing equations for the fx module in the svgjs.com library


Version published
Weekly downloads
712K
decreased by-2.46%
Maintainers
2
Install size
0.995 MB
Created
Weekly downloads
 

Readme

Source

svg.easing.js

Additional easing equations for the fx module in the svgjs.com library.

Svg.easing.js is licensed under the terms of the MIT License.

Usage

Include this plugin after including the svg.js library in your html document.

To use the custom easing methods:

var draw = SVG('paper').size(400, 400)
var rect = draw.rect(100, 100)

rect.animate(500, SVG.easing.bounce).move(300, 300)

Available easing methods are:

  • SVG.easing.quadIn
  • SVG.easing.quadOut
  • SVG.easing.quadInOut
  • SVG.easing.cubicIn
  • SVG.easing.cubicOut
  • SVG.easing.cubicInOut
  • SVG.easing.quartIn
  • SVG.easing.quartOut
  • SVG.easing.quartInOut
  • SVG.easing.quintIn
  • SVG.easing.quintOut
  • SVG.easing.quintInOut
  • SVG.easing.sineIn
  • SVG.easing.sineOut
  • SVG.easing.sineInOut
  • SVG.easing.expoIn
  • SVG.easing.expoOut
  • SVG.easing.expoInOut
  • SVG.easing.circIn
  • SVG.easing.circOut
  • SVG.easing.circInOut
  • SVG.easing.backIn
  • SVG.easing.backOut
  • SVG.easing.backInOut
  • SVG.easing.swingFromTo
  • SVG.easing.swingFrom
  • SVG.easing.swingTo
  • SVG.easing.bounce
  • SVG.easing.bounceOut
  • SVG.easing.elastic

Keywords

FAQs

Last updated on 25 Apr 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc