Eric Rowell
41dea5300a
reworked _getCache implementation
2013-08-09 22:31:25 -07:00
Eric Rowell
3933568b45
implemented _getCache() method which every getter will use to try and get/set cached attrs
2013-08-09 22:23:27 -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
Elliot Chong
3f2e7b88be
Fixing issue #543 - mouseout should fire before mouseover
...
A mouseout event for the current node should be fired before another node fires its mouseover event.
2013-08-06 20:35:44 -07:00
ippo615
d355b1fe97
Improved performance of convolution filters.
...
Previously, I would work with a regular array and compute/store/copy
to/from that array. It should be faster to create an imageData object,
create the convolution result in that object and finally:
`context.putImageData(result)`.
2013-08-04 14:34:56 -04: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
992be5dd2e
promoted version to 4.6.0 for next release
2013-07-28 17:29:58 -07:00
Eric Rowell
44cc127922
fixed up Ellipse docs
2013-07-28 17:28:56 -07:00
Eric Rowell
4cd658a1f1
mousemove should fire before mouseout
2013-07-28 01:01:39 -07:00
Eric Rowell
966c690966
stage.draw() was triggering two canvas clears
2013-07-28 00:31:44 -07:00
Eric Rowell
a3da0211d8
fixed blob regression bug. added unit test for setTension()
2013-07-28 00:03:56 -07:00
Eric Rowell
7e660d0587
added beta task runner, and updated README
2013-07-27 23:26:06 -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
e65b975a6a
did further refactoring of event flag handling in stage
2013-07-23 11:42:38 -07: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
Eric Rowell
37a15817b5
removed setDrawFuncs dependency from leaf node classes. It's handled in Shape now
2013-07-22 21:49:30 -07:00
Eric Rowell
9324c366ea
standardized init method names with underscores
2013-07-22 21:41:41 -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
7341384edf
fixes #509 by adding layer to the list of variables inside the stage _resizeDOM method. Otherwise it is hoisted and defined globally
2013-07-21 22:17:53 -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
1a85829ccd
Merge pull request #480 from mrkeldon/master
...
Add onReset handler for Tweens
2013-07-21 16:16:59 -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
Eric Rowell
78214099b5
Merge pull request #515 from gaddie-3/master
...
Added the ability to pass multiple selectors to get()
2013-07-21 14:53:14 -07:00
Eric Rowell
1914a51f7c
Merge pull request #524 from ippo615/master
...
jsHint Cleanup and New Filters
2013-07-19 11:29:47 -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
StronglyTypedSolutions@gmail.com
6e68a200e2
FIX: A Kinetic.Image that has both a crop and filter now draws correctly
2013-07-15 17:45:04 +02: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
ippo615
3c49dc9536
Fixed bug in hue shifting
2013-07-11 21:05:11 -04:00
ippo615
1ef20456ba
Added color filters
2013-07-11 21:02:51 -04:00
ippo615
1d375fb711
Fixed JS Hint errors
2013-07-11 19:47:33 -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
Luke
e0693d590b
Added the ability to pass multiple selectors to get()
2013-07-03 15:53:44 -04: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