🚀 Two.js now supports dashes on
Two.Text. Improved cloning, segmentation through
endingproperties, 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.
🚀 Two.js now supports rendering bitmap imagery in the
CanvasRendererthrough the underlying
Two.Textureclass. 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
WebGLRendererhasn'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.
⚡️ 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.
This version has major breaking changes. What was
Two.Polygonis a subset of
Two.Path. Added gradient support for all renderers. Changed the
Two.Group.childrenproperty to a
Two.Collectionto access like an array. ASM loading for non-browser loads. Performance updates.
v0.4.0July 22, 2014
v0.3.0January 08, 2014
v0.2.0January 08, 2014