Releases: jonobr1/two.js
Official Stable Release of Version 0.7.1
Minor stability improvements in both client side and headless environments to Two.js. This includes:
- Better class name implementation
- Text support for
two.interpret
andtwo.read
- Scientific notation for
two.interpret
andtwo.read
methods <use />
tags fortwo.interpret
andtwo.read
methodsfitted
boolean which matches a Two.js canvas to its parent DOM element- ES6 style
import
compatible with Two.js classes (as modules)
See changelog for a full list of additions.
Official Stable Release of Version 0.7.0
Major stability improvements in both client side and headless environments to Two.js. This includes importing from npm
and into frameworks such as React, Vue, and Angular. v0.7.0
is still written in ES5, but is now forward compatible with ES6 imports. Also:
/extras/
folder added for additional scripts that work in tandem and assume the Two.js namespaceTwo.Matrix
performance improvements- SVG interpretation improvements
- Shorthand for
two.makeArrow
Two.Path.dashes
for stroked dashes
See changelog for a full list of additions.
v0.7.0 Stability Refinement
Refined the beginning
and ending
internal calculations on Two.Path
. Fixed per-instance dash properties. For more information visit the changelog.
v0.7.0 Headless Update
Updated Two.js to support latest versions of Automattic's node-canvas (2.0.0+) as well as the latest version of webpack (4.25+)
v0.7.0 Stability Update
Two.js now supports dashes on Two.Path
and Two.Text
. Improved cloning, segmentation through beginning
and ending
properties, and SVG interpretation. Initial introduction of Two.Commands.arc
. ES6 module support has been added at /build/two.module.js
. This is a prerelease candidate and while the API isn't planning to change the implementation of bitmap functionality is incomplete (i.e: the WebGLRenderer hasn't been fully implemented yet) and all tests have yet to be written for new functionality. For a full list of changes see the change log.
Intro to Two.Texture, Two.Sprite, and Two.ImageSequence
Two.js now supports rendering bitmap imagery in the SvgRenderer
and CanvasRenderer
through the underlying Two.Texture
class. Dynamically add and manipulate images, animated gifs, and even videos to your Two.js scene. This is a prerelease candidate and while the API isn't planning to change the implementation of bitmap functionality is incomplete (i.e: the WebGLRenderer
hasn't been fully implemented yet). In addition to this introduction, third party libraries have been completely removed and Two.js is now compatible with headless development. For a full list of changes see the change log.
Introduction of Two.Text
Two.js now supports text rendering through the Two.Text property. Dynamically add web enabled fonts two your two.js scene. Check the examples page for usage. In addition to this there are updates to how third party libraries are imported to be compatible with latest versions of require.js and other minor bug fixes.
Intro of Two.Path, Two.Gradient, Two.LinearGradient, Two.RadialGradient, two.load
This version has major breaking changes. What was Two.Polygon
is now Two.Path
and Two.Polygon
is a subset of Two.Path
. Added gradient support for all renderers. Changed the Two.Group.children
property to a Two.Collection
to access like an array. ASM loading for non-browser loads. Performance updates.
Flagging, Selectors, getPointOnCurve, and Masks
v0.4.0 Flagging, selectors, getPointOnCurve, and masks