Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

d3-ease

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

d3-ease - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

package.json
{
"name": "d3-ease",
"version": "0.0.1",
"version": "0.0.2",
"description": "Easing functions for smooth animation.",

@@ -5,0 +5,0 @@ "main": "build/ease",

# d3-ease
Easing functions for animation.
Easing functions for smooth animation. Largely based on [Robert Penner’s easing functions](http://robertpenner.com/easing/). This code is currently EXPERIMENTAL and represents the in-development D3 4.0 API. The 4.0 API is largely backwards-compatible, but differs from 3.x in several ways:
* The *elastic* and *bounce* easing functions have been inverted for consistency with Penner’s original design: “elastic-in” is now “elastic-out”, “elastic-out” is now “elastic-in”, “elastic-out-in” is now “elastic-in-out”, “bounce-in” is now “bounce-out”, “bounce-out” is now “bounce-in”, and “bounce-out-in” is now “bounce-in-out”.
* The interpretation of optional parameters to the “elastic-in”, “elastic-out”, “elastic-in-out” and “back-in-out” easing functions has been fixed.
* The “out-in” easing functions have been removed. Out-in easing didn’t make sense (except previously in the case of *elastic* and *bounce*, which was a bug).
* All easing functions have been optimized. As part of this change, easing functions no longer clamp the output to 0 and 1 when *t* is less than or equal to 0 or greater than or equal to 1, respectively. The behavior of easing functions when *t* is not in [0,1] depends on the function. (Note: transitions are still guaranteed to end at *t* = 1 if not interrupted, regardless of easing.)

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc