Actionscript Halftone Effect
06 Apr 2007
Click to run demo
Some of the most satisfying graphical effects are simple in concept and execution.
Here's the class in Actionscript 3. It's essentially one public method which takes in a bitmap and writes to a sprite. With a few optional parameters. See the source code comments for the details.
To do: Add the ability to use overlapping colors. Apparently, the dot patterns for additional colors are supposed to be set at different angles from each other -- which is less straight-forward, programmatically, than simply setting the 'screen angle' to 45-degrees, as done here.