HalfTone effect in AS3 using Sprites
Posted: October 26th, 2009 | Author: admin | Filed under: Effects | No Comments »I had to do some halftone experiments for a project, and so I looked around for some code. There were a few examples out there but I didn’t find anything that I really liked so I decided to create one on my own.
The basic principle I went with was to create dots, and according to the brightness level of the pixel I was sampling, I would scale the dot down (full brightness = scale:0, no brightness = scale:1).
Here’s what I came up with. you can download the source here.
I used BetweenAS3 for the transitions.
-i

Leave a Reply