December 22, 2005
Oh... here comes ColorMatrix Class v1.2

Two updates in one day? Well, whilst playing around with the class today I just had a few more ideas how to make it more useful, so I quickly implemented them:

I've added a blend() method which allows to blend between two ColorMatrices - this makes color tweening very easy because you just have to tween one value - the amount of blending.

Additionally I've added a "filter" property which returns a ColorMatrixFilter object initialized with the matrix values - this saves you one step.

Furthermore there's now a randomize() and a clone() method.

Here is an example which demonstrates the tweening between two ColorMatrices (something that Grant Skinner demonstrated so elegantly with his ColorMatrix class already months ago):

Download the updated examples and ColorMatrix class v1.2 here.

Posted at December 22, 2005 03:25 PM | TrackBack (0) | Further reading


the link doesn't seem to work :(
I get this :
Search results for: "flash8 colormatrix class"
but no file


Posted by: Raz-L on December 22, 2005 04:51 PM

Thanks! Been waiting for this... Keep up the nice work!

Posted by: Joakim Lindén on December 31, 2005 01:35 AM
Post a comment

Email Address:



Remember info?

Thank you!

Most Visited Entries
Sketches, Works & Source Code
In Love with
Powered by
Movable Type 2.661

© Copyright Mario Klingemann

Syndicate this site:
RSS 1.0 - RSS 2.0

Quasimondo @ flickr
Quasimondo @ LinkedIn
Quasimondo @ Twitter
Quasimondo @ Facebook
Quasimondo @ MySpace
Quasimondo is a Bright
Citizen of the TRansnational Republic
My other blog in german

My family name is written Klingemann,
not Klingelmann, Klingeman, Klingaman, Kingemann,
Kindermann, Killingaman, Klingman, Klingmann, Klingonman
Klingemman, Cleangerman, Klingerman or Kleangerman

profile for Quasimondo at Stack Overflow, Q&A for professional and enthusiast programmers