Commit Graph

130 Commits

Author SHA1 Message Date
Eric Rowell
374bc22680 renamed ColorStretch filter to Enhance. cleaned up the code a bit. updated tests. changed function signature back to just image data 2014-01-02 21:12:41 -08:00
Eric Rowell
a0d0f23ef8 updated mask filter tests 2014-01-02 20:55:05 -08:00
Eric Rowell
bbdbbd4d61 fixed grayscale filter and updated tests 2013-12-31 21:00:07 -08:00
Eric Rowell
3321102784 brighten tests are now passing 2013-12-31 13:16:41 -08:00
Eric Rowell
966ddc5a83 just enabled one blur test for now so that travis will pass 2013-12-31 13:05:32 -08:00
Eric Rowell
12e7b06978 first pass at integrating filters into new caching mechanism. added group filter test. Removed blurX and blurY filters because I don't think they'll be needed in their current state. Commented out half filter blur test because it's not a common use case. other filter tests have been disabled for now. Working on enabling them with future commits 2013-12-31 13:04:05 -08:00
Eric Rowell
1166154c1b updated caching unit tests 2013-12-30 19:51:42 -08:00
Eric Rowell
e1558c1b40 caching mechanism no longer auto adjusts offsets. It causes too many side effects 2013-12-30 14:34:57 -08:00
Eric Rowell
a47726eb2f added support for cached node with transformed ancestors 2013-12-29 21:40:37 -08:00
Eric Rowell
c39726101f added unit test for layer caching 2013-12-29 19:46:53 -08:00
Eric Rowell
0899cdb1a3 new graph caching mechanism now supports containers as well. added test 2013-12-29 19:30:44 -08:00
Eric Rowell
90b07cea05 refactored Container drawScene and drawHit methods, and cleaned up clipping logic. Clipping now correctly also clips the hit graph 2013-12-29 14:07:58 -08:00
Eric Rowell
264f24e241 added cache perf test. refactored Star.js to better incorporate getters 2013-12-28 13:52:03 -08:00
Eric Rowell
b5165fa8fb first pass at new drawing caching mechanism 2013-12-28 13:25:15 -08:00
Eric Rowell
4866acdf93 transformsEnabled property now accepts all, none, or position. Also started prelim work for new caching system 2013-12-19 23:29:23 -08:00
Eric Rowell
d3eb9990bd removed Sprite afterFrame func. The same functionality can be achieved by listening to indexChange event 2013-12-15 12:55:01 -08:00
Eric Rowell
b273c29aee removed old test directory. added getter setter overloaders to Shape. Began redoing documentation on Node 2013-12-13 21:33:40 -08:00
Eric Rowell
9accc00cf3 fixed up Ring shape init method because the drawFunc API slightly changed 2013-12-13 11:15:29 -08:00
Eric Rowell
9e05e81f50 Merge pull request #720 from binoculars/master
Added Ring Shape
2013-12-13 11:11:24 -08:00
Eric Rowell
fe7b4daebc factor methods now also build overloaded attr functions. i.e. instead of setScaleX(5), you can use scaleX(5). Instead of getScaleX(), you can use scaleX() 2013-12-13 11:02:07 -08:00
Barrett Harber
27532e1d05 Added Ring Shape
Ring shape—circle with hollow center.
2013-12-13 02:07:16 -05:00
Eric Rowell
4e526eb3da changed AnnularSection to Arc 2013-12-12 21:20:29 -08:00
Barrett Harber
2a0f5421c9 Added Shape AnnularSection
AnnularSection is a section of an annulus (ring)
http://en.wikipedia.org/wiki/Annulus_%28mathematics%29
2013-12-12 22:42:30 -05:00
Eric Rowell
f31254bb87 improved transformsEnabled logic and added tests 2013-12-11 22:34:02 -08:00
Eric Rowell
cd1ae9141e visible attr can now be inherit, true, or false, like listening 2013-12-11 07:46:49 -08:00
Eric Rowell
6d31f6ed08 new transformsEnabled property which yields absolute best rendering performance 2013-12-10 23:28:46 -08:00
Eric Rowell
8b4deb004d added stage nestedTransformsEnabled flag 2013-12-09 22:46:58 -08:00
Eric Rowell
37c3ce1b47 added layer hitGraphEnabled flag 2013-12-09 22:31:18 -08:00
Eric Rowell
0bad22955a removed instances of hit graph enable caching. Too complex and error prone at the moment 2013-12-09 22:15:26 -08:00
Eric Rowell
1f4ff9f1d7 cleaned up isListening API. introduced new enableHitGraph config that can be used to disable the hit graph 2013-12-09 10:07:08 -08:00
ippo615
0c552cc96e Merge branch 'master' of https://github.com/ericdrowell/KineticJS 2013-12-07 12:38:18 -05:00
ippo615
827caaa451 Added more Polar effects and corrected documentation. 2013-12-07 12:36:48 -05:00
ippo615
2397712f6e Improved Colorization filter.
- Looks better (brightness of original is preserved)
 - Improved speed (2-6 times faster than original)
 - Reduced code
2013-12-07 11:31:38 -05:00
Eric Rowell
c7bb7d90ad reenabled all tests 2013-12-05 22:30:54 -08:00
Eric Rowell
eb6d4dbe8f Merge branch 'master' of github.com:ericdrowell/KineticJS 2013-12-05 22:30:18 -08:00
Eric Rowell
422a6b305b implemented enableNestedTransforms flag which forces the rendering engine to skip nested transform calculations when they aren't needed 2013-12-05 22:29:50 -08:00
ippo615
2c3a29681e Updated some filters and tests. 2013-12-05 18:20:00 -05:00
ippo615
52f96c540b Merge branch 'master' of https://github.com/ericdrowell/KineticJS 2013-12-04 19:10:08 -05:00
ippo615
a680d33c40 Added Gaussian Blur back, put QuickBlur in separate file 2013-12-04 19:03:20 -05:00
Eric Rowell
95d3f3fe45 Merge branch 'master' of github.com:ericdrowell/KineticJS 2013-12-04 10:57:42 -08:00
Eric Rowell
13a98a350c all unit tests are now passing 2013-12-04 10:55:50 -08:00
Eric Rowell
89de3030af all unit tests are now passing except for filter tests 2013-12-04 09:55:17 -08:00
Eric Rowell
f217200ed7 reverted factory methods but removed data type processing 2013-12-04 09:10:24 -08:00
Eric Rowell
5d5a378375 more tweaks 2013-12-04 08:56:21 -08:00
Eric Rowell
c98a9d76a9 all shape and plugin tests are now passing again 2013-12-04 08:37:28 -08:00
Eric Rowell
fb25ba7c59 Factory getters now require function defaults which return an object literal because objects can be modified by reference 2013-12-03 22:54:16 -08:00
Eric Rowell
acd9518ab9 fixed up Circle and Ellipse tests 2013-12-03 22:01:22 -08:00
ippo615
21b0bb8574 Made filters (Levels, Noise, Threshold) tweenable 2013-12-03 19:59:43 -05:00
ippo615
b1b4eca375 Fixed bug in Flip filter, works on single buffer 2013-12-03 19:20:34 -05:00
ippo615
cfa6641d1a Improved color stretch filter 2013-12-03 19:12:17 -05:00