Verly.js

Easy to integrate Verlet physics engine.

MIT License

Stars
663
Verly.js - Verly.js v1.4.0 Latest Release

Published by anuraghazra 9 months ago

What's Changed

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

Verly.js - Verly.js v1.3.0 (13-07-2019)

Published by anuraghazra over 5 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
Verly.js - Verly.js v1.2.1 (11-07-2019)

Published by anuraghazra over 5 years ago

Added

  • better landing page
  • improved examples

Fixed

  • bug in clamp function
Verly.js - Verly.js v1.2.0 (08-07-2019)

Published by anuraghazra over 5 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
Verly.js - Verly.js v1.1.4

Published by anuraghazra over 5 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.
Verly.js - Verly.js v1.1.3 | production build

Published by anuraghazra over 5 years ago

Verly.js - Verly.js v1.1.2

Published by anuraghazra over 5 years ago

Initial stable release

Package Rankings
Top 9.55% on Proxy.golang.org