Skip to content

version 4.5.0

Latest
Compare
Choose a tag to compare
@hvianna hvianna released this 12 May 18:55

What's new

Added:

  • fadePeaks - peaks fade out instead of falling down - thanks @TF3RDL for this idea;
  • gravity - customize peak drop acceleration;
  • peakFadeTime - customize peak fade-out time;
  • peakHoldTime - customize peak hold time;
  • UMD module export - allows using the module via require() and provides a global variable for easier usage in the browser - thanks @shahkashani for the suggestion (#71 and #72); see the Usage section for more details.

The new gravity equation restores the original peak drop behavior and decay curve (using the default value) of versions 1.0.0 through 3.4.0.
Check out the peak drop analysis tool for more information on the evolution of the equation and to compare different values of gravity.

As usual, you can interact with all the new properties in the fluid demo.