Verly.js Versions Save

:red_circle::wavy_dash::large_blue_circle::wavy_dash::black_circle: Easy to integrate Verlet physics engine. :link:

v1.4.0

3 months ago

What's Changed

Full Changelog: https://github.com/anuraghazra/Verly.js/compare/v1.3.0...v1.4.0

v1.3.0

4 years ago

Added

  • AngleStick Class - AngleStick is a angle join which will prevent points from bending at certain degrees, helpfull for making ragdolls
  • Entity.js - addAngleStick
  • Utils.js - radians, degrees
  • Vector.js - angle, angle2, rotateBy
  • Verly.js - setDPI() function which will improve the rendering in mobile devices
  • Added Basic Unit Testing

v1.2.1

4 years ago

Added

  • better landing page
  • improved examples

Fixed

  • bug in clamp function

v1.2.0

4 years ago

Added

  • Hidden Sticks with hidden parameter to Stick class
  • Setters API for easy use of Point and Stick constructors
  • Method chaining for Point and Stick
  • with setters api we can create customized Entity easily. entity.addPoint(0, 0).pin().setRadius()

Fixed

  • clamp function wrong parameter bug
  • fixed development webpack environment

v1.1.4

4 years ago

Fixed

  • independent internal rendering engine
  • multiple instance of verly.js was causing global var collisions (WIDTH, HEIGHT, CTX)

Changed

  • Entity.js Class now expects two arguments (iteration, verlyInstance) because previously we used global variables to keep track of WIDTH, HEIGHT and ctx which was casing some problems
  • When extending Entity class we have to do super(iteration, verlyInstance)
  • Point.js Class's render, constrain, update methods now expects verlyInstance and ctx variables to be passed.

v1.1.3

4 years ago

v1.1.2

4 years ago

Initial stable release