Commit Graph

1168 Commits

Author SHA1 Message Date
Eric Rowell
4d323c7b57 new drawHitFromCache Shape method replaces Image createImageHitRegion 2014-01-05 01:10:56 -08:00
Eric Rowell
fae1c538f3 changed offset to center 2014-01-04 23:56:33 -08:00
Eric Rowell
7e2c6c97f8 changed drawFunc to sceneFunc and drawHitFunc to hitFunc 2014-01-04 23:34:01 -08:00
ippo615
ff952bf958 Added ripple filter. 2014-01-04 23:21:26 -05:00
ippo615
e57f3802df Made enhance filter tweenable (-1=grey;0=no change;1=max enhancement) 2014-01-04 12:31:11 -05:00
Eric Rowell
b52845b32b added another hsv test 2014-01-04 06:37:08 -08:00
Eric Rowell
67f71e4785 added pixastic Solarize filter 2014-01-04 05:34:36 -08:00
Eric Rowell
0d944aac27 removed convolve pack. Added pixastic emboss filter 2014-01-04 05:21:44 -08:00
Eric Rowell
7f0dc2085b changed Levels filter to Posterize 2014-01-03 23:23:53 -08:00
Eric Rowell
cfe3091833 got the convolve filters working, but we still need to do some work on them 2014-01-03 23:09:49 -08:00
Eric Rowell
3814a1dddc continued cleaning up filter docs 2014-01-03 21:26:07 -08:00
Eric Rowell
3f125aff43 removed HSV hueShift attribute because it's not techncially needed. cleaned up other filter docs 2014-01-03 21:15:57 -08:00
Eric Rowell
dcf2962e2e split ColorPack into RGB and HSV filters. updated tests 2014-01-03 20:25:35 -08:00
Eric Rowell
5060fbb8cb updated Sepia filter and tests 2014-01-03 17:31:38 -08:00
Eric Rowell
6ddefa05b5 removed flip and mirror filters because the same effect can be achieved with transforms, cloning, caching, etc. 2014-01-03 11:22:25 -08:00
Eric Rowell
bd8a293345 changed getLevel to getDepth 2014-01-02 23:03:27 -08:00
Eric Rowell
a238cf5817 updated Levels filter and test 2014-01-02 22:58:36 -08:00
Eric Rowell
bbfbadfee2 updated Threshold filter and test 2014-01-02 22:32:23 -08:00
Eric Rowell
4074eef3aa updated Noise filter and test 2014-01-02 22:21:21 -08:00
Eric Rowell
50a91d1e8b updated pixelate unit tests 2014-01-02 22:05:57 -08:00
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
c5dd9e1090 promoted version to 5.0.0 2013-12-13 21:47:24 -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
c7d7fef80a cleaned up docs in Shape.js 2013-12-12 21:41:41 -08:00
Eric Rowell
4e526eb3da changed AnnularSection to Arc 2013-12-12 21:20:29 -08:00
Eric Rowell
b32609c9c9 Merge pull request #719 from binoculars/master
Added Shape AnnularSection
2013-12-12 21:01:31 -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
44b5b63263 fixed #634 2013-12-10 21:36:31 -08:00