Pts Versions Save

A library for visualization and creative-coding

v0.11.3

1 year ago

New features

  • Improved Img class API
  • Static and dynamic pattern support in Img class
  • Random seed using Num.random and Num.seed - thanks @carlo-colombo
  • Updated build system using tsup

Bug fixes

  • Fixed mouse and key event bugs
  • Various minor bug fixes and improvements, with thanks to @doseofted and @rmschindler

v0.10.2

3 years ago

New Features

Bug fixes

(thanks @tibotiber and @prkirby)

  • Rotational axis bug #106
  • space.dispose #109
  • distanceFromPt bug #118
  • half-pixel bug #119
  • svg id bug #128
  • nodejs bug #132
  • audible output node bug #134
  • semi transparent bug #135
  • add the missing static CanvasForm.point function
  • update webpack and babel to resolve security issues

v0.9.1

4 years ago

New Features

Bug fixes

  • SVG and DOM fixes (font set correctly, default style and others)
  • Util.split now split the arrays correctly
  • Safari / iOS issues with Sound now fixed
  • Other minor fixes and API improvements

v0.8.0

5 years ago

New features

  • new Sound class
  • add ellipse drawing function in CanvasForm
  • add an angle offset parameter inCreate.radialPts

Bug fixes and changes

  • unit function no longer throws error when magnitude is 0
  • alpha property in Color now has setter as well as getter
  • Move Tempo class to Play module (typescript only)
  • Fix doc links in Animation guide

v0.7.0

5 years ago

New features

  • Tempo class for creating animation sequences
  • (Related) New Pts React component ( react-pts-canvas ). Examples in pts-react-example also updated.
  • New posenet demo in /demo/more/tfjs_posenet/js/d.js

Bug fixes

  • Fix Num.cycle
  • Fix various bugs in Physics
  • Fix resize issues and type parameter
  • Fix documentations and broken links

v0.6.0

5 years ago

New features

  • Experimental UI module for creating buttons and drag-drops. See demo here.
  • Add Circle.fromTriangle function (Thanks @AndGem for the suggestion)
  • es2015 build by @bsouthga

Bug fixes

  • Various bug fixes and docs improvements by our contributors ( @ichabodcole , @amilajack , @bnjm , @thewarpaint )
  • Fix documentation scrolling issue
  • Improve readability for exported html in demo editor
  • Other minor fixes and improvements

v0.5.0

5 years ago

Pts has reached 0.5! 🎉This is a milestone release with many updates and improvements.

New features:

Breaking changes

  • Pt's cross2D renamed to $cross2D
  • Util.warnLevel property becomes a function Util.warnLevel( ... )
  • Removed Circle.toInnerRect (use Circle.toRect instead)
  • typescript: Bound class moved into Pt module
  • typescript: All type alias moved into Types.ts file
  • typescript: updated version to 2.9.2

Bug fixes

  • fix IE and mobile css bugs
  • fix devicePixelRatio bug when it's less than 1.
  • demo updates and minor bug fixes

v0.4.2

5 years ago
  • CanvasForm now as an image() function to draw image
  • Add package version info to build files

v0.4.0

5 years ago
  • Verlet physics engine
  • Better polygon intersection algorithms and bug fixes
  • Methods to create regular polygons
  • New demos

0.3.1

6 years ago
  • Fix minify code
  • Fix license header