Commit Graph

10 Commits

Author SHA1 Message Date
Eric Rowell
3ba89d36e7 introduced new Context class. I've bumped up the next release to v4.7.0 because this is a relatively big mind shift in how the framework works, and it's a big enough API change to warrant a minor update. This is the first step towards enabling context tracing for stellar unit testing 2013-08-31 21:49:18 -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
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
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
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
0983531197 changed integration tests to visual tests 2013-06-08 15:21:31 -07:00