Skip to content

Releases: jonobr1/two.js

Official Stable Release of Version 0.7.1

13 Jan 02:08
Compare
Choose a tag to compare

Minor stability improvements in both client side and headless environments to Two.js. This includes:

  • Better class name implementation
  • Text support for two.interpret and two.read
  • Scientific notation for two.interpret and two.read methods
  • <use /> tags for two.interpret and two.read methods
  • fitted 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

22 Jan 21:52
Compare
Choose a tag to compare

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 namespace
  • Two.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

08 Dec 21:40
Compare
Choose a tag to compare
Pre-release

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

18 Nov 09:57
Compare
Choose a tag to compare
Pre-release

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

03 Nov 09:58
Compare
Choose a tag to compare
Pre-release

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

01 Dec 19:31
Compare
Choose a tag to compare

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

09 Feb 17:40
Compare
Choose a tag to compare

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

01 Oct 23:07
Compare
Choose a tag to compare

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

22 Jul 03:03
Compare
Choose a tag to compare
v0.4.0

Flagging, selectors, getPointOnCurve, and masks

v0.3.0

08 Jan 20:46
Compare
Choose a tag to compare
Introduction of Two.Anchor