Eric Rowell
ae66350d7f
fixed #577
2013-08-25 00:34:49 -07:00
Eric Rowell
a7666eee39
rearranged some tests
2013-08-12 20:15:36 -07:00
Eric Rowell
2cf0a690f9
fixed up dd regression
2013-08-12 03:00:08 -07:00
Eric Rowell
a4172088f1
resolving conflicts
2013-08-11 21:36:18 -07:00
Eric Rowell
d49ae15207
getStage() result is now cached. refactored caching system even further.
2013-08-11 20:34:54 -07:00
Eric Rowell
8654391de4
deprecated the clipFunc method. replaced it with clip, which has an x, y, width, and height
2013-08-10 22:00:29 -07:00
Eric Rowell
db98fec243
added new crop methods
2013-08-10 20:30:25 -07:00
Eric Rowell
b8e3f10d3a
getVisible returns the visible attr. isVisible takes ancestors into account. getListening returns listening attr. isListening takes ancestors into account. added unit tests.
2013-08-10 16:19:33 -07:00
Eric Rowell
12ed500570
updated tests
2013-08-10 14:30:17 -07:00
Eric Rowell
0d6b8bdd79
fixed drag and drop regression by busting the transform cache inside the clearTransform method
2013-08-10 13:59:31 -07:00
Eric Rowell
6f078dc127
now caching absolute opacity
2013-08-10 11:55:52 -07:00
Eric Rowell
d902e6dca0
absolute transforms are now cached
2013-08-10 00:58:53 -07:00
Eric Rowell
a0a2d9a676
visible attr is now cacheable
2013-08-09 23:00:35 -07:00
Eric Rowell
cb5cb66256
started setting up new caching system
2013-08-09 21:09:06 -07:00
Eric Rowell
7700ecc70b
draw events no longer bubble. It was causing too much of a performance hit, and didn't provide a whole lot of value. Now, only layers fire draw events
2013-08-09 20:22:51 -07:00
ippo615
e631eff6b4
Cleaned convolve pack, separated filter tests.
...
I removed the ability to do a convolution with a 1D matrix because I was
using all 2D matrices. I also cleaned up some unused variables and filters.
I took the entire group of tests dealing with image filters and put them
into `filterTests.html` and `filterTests.js`. I removed them from
`visualTests.js`.
2013-08-04 14:02:17 -04:00
Eric Rowell
a3da0211d8
fixed blob regression bug. added unit test for setTension()
2013-07-28 00:03:56 -07:00
Eric Rowell
e5c52a92f0
updated build process. dev version no longer pulls the version number from the package.json file. It instead always uses dev. Also set some things up for -beta build support
2013-07-27 21:09:33 -07:00
Eric Rowell
57a9313a7b
all kinetic specific listeners now have the kinetic namespace. off no longer removes listeners with a kinetic namespace, unless you force remove it via .kinetic
2013-07-24 22:56:21 -07:00
Eric Rowell
7a1b854a12
#291 added unit test for creating a blob via json who has the tension defined before the points array
2013-07-24 21:57:45 -07:00
ippo615
27ea8ce3e4
Made convolution filters tweenable.
...
Unsharp mask, soft blur, sharpen, emboss, edge detect are now "tweenable";
however, I think I need to tweak the convolution matricies. At 0 there
should be no effect applied which corresponds to a matrix with just a
`1` in the middle (ie [...1...]). If the `filterAmount` is small then
the matrix is all near 0's causing the image to 'flash black'. If I always
add a 1 in the middle then the images become too bright...
2013-07-23 21:07:56 -04:00
ippo615
46eff4dec5
Made convolutions tileable, added test for tweening hue shift.
2013-07-23 19:10:52 -04:00
Eric Rowell
4f8bd0bd3f
fixed #357 and did a lot of event refactoring
2013-07-23 11:39:44 -07:00
Eric Rowell
06a8e42bee
fixed up functional tests
2013-07-23 11:15:04 -07:00
Eric Rowell
85c99c1bb9
fixes 400
2013-07-23 10:47:06 -07:00
Eric Rowell
3eea92d72e
added validation for add(). An error is thrown if an invalid node is added
2013-07-22 22:47:13 -07:00
Eric Rowell
1fc57bed4c
removed createAttrs method and cleaned up init logic
2013-07-22 22:05:21 -07:00
ippo615
4d3575ecea
Renamed some files. Removed lighten and darken.
...
Renamed Colors.js to ColorPack.js and Colvolution.js to ConvolvePack.js.
Also removed convolution based 'lighten' and 'darken' (from the code
and the tests).
2013-07-22 22:53:04 -04:00
Eric Rowell
ecdd5cc59a
new stage batchDraw() method. draw events are now triggered on drawScene() as well as draw()
2013-07-21 23:41:05 -07:00
Eric Rowell
1d5eff629a
canvas left and top inline styles are now set to 0
2013-07-21 23:14:41 -07:00
Eric Rowell
46d69fd5d9
fixed unit tests
2013-07-21 20:49:45 -07:00
Eric Rowell
436f170ac2
fixes #510 preventDefault is no longer fired for mobile devices when an intersected shape is not listening for events
2013-07-21 20:14:09 -07:00
Eric Rowell
217fbf2097
added manual test for tween reset event
2013-07-21 16:27:40 -07:00
Eric Rowell
e6a9324d50
last pull request completely broke the unit tests. had to rewrite the get() logic so that it was correct
2013-07-21 16:05:40 -07:00
ippo615
9ca025d35f
Cleaned js, added tests for all convolution filters
2013-07-15 20:45:34 -04:00
ippo615
1ae9188708
Improved 'colorizing' - now any color
2013-07-15 20:09:36 -04:00
ippo615
f640d19042
Working on convolution based filters
2013-07-14 22:20:45 -04:00
ippo615
66cef11ae9
Fixed bug in color filters, added visual tests.
2013-07-11 21:57:49 -04:00
Eric Rowell
1cbc3dd31c
improved batch draw logic. Each layer isntance now has access to its own batch draw animation
2013-07-05 20:42:02 -07:00
Eric Rowell
c79f286893
added stage mouseover and mouseout events
2013-07-05 10:38:02 -07:00
Eric Rowell
7c40333fc8
stage events can now be added without having a target node. i.e. you can bind mousedown, mouseup, click, dblclick, etc. to the stage directly
2013-07-04 00:20:28 -07:00
Eric Rowell
f85c6b1392
added new addPoint method which allows you to add a single point to the points array without swapping the whole thing
2013-06-27 23:28:57 -07:00
Eric Rowell
812ea103f2
added tween.destroy() method + unit tests
2013-06-09 00:28:39 -07:00
Eric Rowell
c0c5868f31
updated Label docs. removed old integration test files
2013-06-08 16:11:31 -07:00
Eric Rowell
b86aa11d47
fix #352 also did major remove and destroy refactoring, and added lots of unit and visual tests
2013-06-08 15:57:36 -07:00
Eric Rowell
0983531197
changed integration tests to visual tests
2013-06-08 15:21:31 -07:00
Eric Rowell
bffc886b79
added integration test for hiding the stage
2013-06-08 15:17:59 -07:00
Eric Rowell
e8c9e7966f
when a new stage is instantiated, it now clears the container DOM element
2013-06-08 14:29:58 -07:00
Eric Rowell
79c3124ed7
Spline no longer extends Line. Blob no longer extends Spline. point getter setters were extracted out to Node. control point expansion method in Spline was pulled out and put in Util
2013-06-08 14:17:26 -07:00
Eric Rowell
e8ea9340fe
added points Node getter and setter creators for Line and Polygon
2013-06-08 11:11:49 -07:00