Releases: williamngan/pts
Releases · williamngan/pts
Pts v0.11.3
New features
- Improved Img class API
- Static and dynamic pattern support in Img class
- Random seed using
Num.random
andNum.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
Pts v0.10.2
New Features
- Support iterables and generators in addition to arrays in functions that take GroupLike parameters. See PtIterable and PtLikeIterabe types
- New Img class to support image loading and manipulations in CanvasSpace. See demo img.pixel
- Util.performance to measure average frame rate
- Added a few convenient functions: Pt.toGroup, Pt.toBound, Num.randomPt
Bug fixes
(thanks @tibotiber and @prkirby)
Pts v0.9.1
New Features
- Better drag-drop and other improvements on
UI
classes - Gradient fill, global alpha and composite operations
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
Pts v0.8.0
New features
- new
Sound
class - add
ellipse
drawing function inCanvasForm
- add an angle offset parameter in
Create.radialPts
Bug fixes and changes
unit
function no longer throws error when magnitude is 0alpha
property in Color now has setter as well as getter- Move
Tempo
class toPlay
module (typescript only) - Fix doc links in Animation guide
Pts v0.7.0
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
Pts v0.6.0
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
Pts v0.5.0
Pts has reached 0.5! 🎉This is a milestone release with many updates and improvements.
New features:
- New homepage
- New and improved documentation
- Live demo code editor
Pts.quickStart
mode and updated demo code (see Getting started for details)
Breaking changes
- Pt's
cross2D
renamed to$cross2D
Util.warnLevel
property becomes a functionUtil.warnLevel( ... )
- Removed
Circle.toInnerRect
(useCircle.toRect
instead) - typescript:
Bound
class moved intoPt
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
Pts v0.4.2
- CanvasForm now as an
image()
function to draw image - Add package version info to build files
Pts v0.4.0
- Verlet physics engine
- Better polygon intersection algorithms and bug fixes
- Methods to create regular polygons
- New demos
Pts v0.3.1
- Fix minify code
- Fix license header