Bezier3D Version 2.0

January 28th, 2008

After a request, I have updated the Bezier3D class with an COMPLETE_EVENT that you can listen for. This will be helpful if you want something to happen after the animation has played through. Example 1 has been updated to demonstrate this.

I also updated a small bug that could result in your camera not stopping in the exact place you told it to if the animation was happening too fast. Now you will know exactly where it is going to stop.

You can download it here.

Colour Classes for download

November 8th, 2007

Flash-ActionScript-3-Colour-Matrix Tyler-Egeto

I have added a new page to the site called Code. I will be offering the source files to my experiments on that page. I just put up the first one which is my colour experiments. In the down load you will find two classes, one for the colour matrix filter and the other for the colour transformation functions. Check out the code page for more information and the link.

Colour Matrix 4

November 7th, 2007

Well the hue is working properly now. The problem was quite simple to fix, but it was an understandable mistake. This was a situation where giving up and walking away was the best thing to do. After working on it for quite a while, it was only minutes of stopping that the solution popped into my head. It’s not that I was doing it wrong, but rather that there are two approaches to the same thing, and that is where the problem occurred.

This is what was going on. A matrix is a set of numbers, and we can do things with them, such as multiplication, to achieve different results.That is how all of these colour transformations are created. The problem is that there are to different ways that matrices are built depending on the environment. For example Flash does it differently then C++. Here is an example.

Flash-Color-Matrix-ActionScript-3

These two matrices are the same. But if you were to write it out one way and the environment was reading it another you get the wrong results. It’s like spelling a word with all the right letters but mixing up the order a little. Anyways, it was just a silly mistake, but really easy to fix once I realized what I was doing. Compare the Hue sliders in this version and the previous one to see the difference.

Colour matrix 3

November 7th, 2007

Here is another update to my colour exploration. In this version I have added 3 features, Contrast, Invert, and Hue. I am having troubles getting the hue to function properly, so that is my main focus right now. I have been searching around the web trying to find different formulas to do this. The hue is by far the more complicated of the adjustments, there is a lot going into the alteration. I will post about it when I get the problem solved.

Colour matrix 2

November 5th, 2007

I am very happy with the latest build of this exploration. I have now successfully combined multiple image alterations onto a single image. I had them combining previously, but as mentioned in my last post, I was having troubles with it. The alterations were very unstable and inaccurate. But as you can see in this example the issue has been sorted out. The ActionScript class is really starting to grow. The next few steps will be adding more options into it.

This site uses icons created by Mark James, www.famfamfam.com/lab/icons/silk