A library for visualization and creative-coding
Num.random
and Num.seed
- thanks @carlo-colombo(thanks @tibotiber and @prkirby)
UI
classesUtil.split
now split the arrays correctlySound
classellipse
drawing function in CanvasForm
Create.radialPts
unit
function no longer throws error when magnitude is 0alpha
property in Color now has setter as well as getterTempo
class to Play
module (typescript only)UI
module for creating buttons and drag-drops. See demo here.Circle.fromTriangle
function (Thanks @AndGem for the suggestion)Pts has reached 0.5! 🎉This is a milestone release with many updates and improvements.
Pts.quickStart
mode and updated demo code (see Getting started for details)cross2D
renamed to $cross2D
Util.warnLevel
property becomes a function Util.warnLevel( ... )
Circle.toInnerRect
(use Circle.toRect
instead)Bound
class moved into Pt
moduleTypes.ts
fileimage()
function to draw image