- Added API property
Renderer.background
- Added camera controller
Bu.MouseControl
- Added
pixelWidth
andpixelHeight
toRenderer
- Updated
Color
to supporthsl
andhsla
color format
- Changed name
Bu.Colorful
toBu.Styled
- Added
Camera
class, allowed us to move the field of vision - Added
Renderer.originAtCenter
property, allowed to change the origin point from left-top corner to the screen center - Added
Object2D.translate()
and.rotate()
to transform an object - Added
DashFlowManager
to move the.dashOffset += 1
logic inside - Added
Object2D.hitTest()
to interact with mouse - Added keyboard control API
Bu.InputManager
- Added shape ellipse
- Added
Bu.Audio
to support sounds
- Changed
RandomShapeGenerator
toShapeRandomizer
- Changed
Renderer.shapes
toRenderer.scene
- Changed
Renderer.add/remove()
toObject2D.add/removeChild()
- Updated
shapes
to respondchanged
event - Added
Renderer.drawBounds
to show the bounding boxes - Added
Bu.ready()
to execute callback when ready - Added
imageSmoothing
option for renderer - Added type checking functions
Bu.isNumber
andBu.isString
- Added class
Bu.Color
- Updated
Bu.Animation
to support color transform animation - Added function
Bu.clamp()
- Added class
Bu.App
, the declarative app framework
- Added shape
Bu.Spline
- Added hierarchy management
- Updated animation to support easing functions
- Changed shapes, computational algorithms were extracted out and will be injected in their prototypes as need.
- Changed: Breaking changes were made
- Removed: Outdated or deprecated feature were removed
- Fixed: Bugs were fixed
- Added: New features were added
- Updated: Enhance current class
- Improved: Use new techniques or algorithms to improve the performance, UI etc