Angular Colour

Published: Friday April 30, 2010 at 7:14 PM

View or Add Comments

ActionScript code Flash colour

Waaaayyy back in September of 2007 I came across Ryan Taylor's blog and found an article on drawing colour spectrums. Ryan used a really smart technique to draw them using lineGradientStyle in the Graphics class. I noticed that his code wouldn't actually produce a full spectrum based on his methods. I packed up some old code I had wrote to tackle this very problem as an example of another way to accomplish the same goal and posted it in the comments of the blog entry.

...time passes...

Eventually I rebuilt my web site and changed hosts. In the move I completely forgot to move the /code/ directory that housed the angular colour code I had linked to on Ryan's article. Well over the past few months I've had quite a few people asking me about getting the code since the link was dead. I just checked my site analytics and even more people were coming to the site and getting a 404 from it. Well no more. Here it is again, cobwebs and all.

Download AngularColour

Just a reminder that this isn't a full-featured library - just a couple methods that helped me accomplish a task a long time ago.

Comments

 
  • From Dunge
  • Date Friday February 25, 2011 at 9:16 PM

I don't have Flash installed, you got any swf sample to see what it look like?

  • From Paul
  • Date Monday March 7, 2011 at 10:05 PM

Well there's nothing to see really - it's just code that allows you to convert angular colour (like HSB) to RGB. There's no examples included and I don't have any already built.

 

Add a Comment

*email addresses are not made public

*uses a small subset of markdown for formatting and links