- Certain shape variables weren't copied when using
copy()
. Now fixed.
- Adding
mousedown
mouse event - Adding
mouseup
mouse event - Adding
click
mouse event
- Adding
scale()
to all shapes - Adding
scale()
to groups
- Removing colorString library to shrink size of library.
Rune.Polygon
now has acontains(x,y)
function to know whether a point is inside or outside a polygon- Group and shapes now have a
stagepos()
function that returns their absolute position according to the stage - Removing
Groupable
mixin in favor ofMoveable
- Replacing underscore with lodash to shrink size of library
- Updated code to use Babel 6
- Removed bezier.js library to shrink size of library
- Text shapes are not copied with all their variables when calling
copy()
.
- Adding
Rune.Grid
getModule
to easily access a grid module. - Changing internal represenation of module from array of arrays to a single array of modules.
- Triangle
move()
now moves the entire triangle, not just the starting point.
- Fixing bugs around variables shadowing function names, which makes
Rune.js
work in Safari and most mobile browsers.
- Fixing a bug around
requestAnimationframe
not getting cancelled if used within thedraw
listener. issue
- NPM package now ships
rune.browser.js
for easy of install.
- Quick fix to not break node when checking for window.
- The npm package no longer has a
Rune
global. Require statement has to look likevar Rune = require('rune.js')
- Complete rewrite of test structure and gulpfile used to generate NPM and Github releases. NPM tarball now actually works.
Rune.js
is now tested and working in server-side node. Hurrah!
- Removing
rgba()
fill and stroke values and introducing straight uprgb()
withfill-opacity
andstroke-opacity
, as Illustrator does not recognizergba()
.
- Adding direct access to
Rune.Color.Convert
functions.
- Adding
Rune.Triangle
andr.triangle()
- Fixing some math in the
Rune.Polygon
bounds()
function - Bounds and
bounds()
andcentroid
now return aRune.Vector
that hasn't the shape positions added. They now return internal representations.
- Rerelease because I don't understand how GitHub releases work.
Rune.Grid
gutterX
andgutterY
has been renamed togutterWidth
andgutterHeight
.- Added
removeParent()
to all shapes to remove them from parent - Added
addParent()
to all shapes to add them to parent
- Initial release!