AS3 webcam Motion Tracking
AS3 webcam Motion Tracking
Tracking an object’s movement
Update
Ok, you can now grab the MotionTracker source code. Version 2 eventually will include the other methods for detecting and tracking motion which I mentioned. For now I have just included code for the technique used in the demo. // Read More
2D Cellular Automata
2D Cellular Automata
Actionscript 3 Game of Life
Inspired by Conway’s game of life (to which I was a late comer but now a devotee!), I decided to program a 2 dimensional Cellular Automaton in Actionscript 3.
I had been reading up on complexity theory for a recent project and the Cellular Automata just kept on rearing its head. Of course it displays the fundamental qualities of complexity; starting with an object following a set of simple rules and then creating multiple instances to form complex and unpredictable patterns. // Read More
Alphabet Particles AS3
Playing With APEs
Playing With APEs
Actionscript 3 physics engine
Look at them go! Stupid primates.
Click ‘Spawn Platforms’ for a new layout, or play with the Platform and APE count steppers!
I finally found some time to play around with the AS3 physics engine, APE; something I have been meaning to do for a while now. // Read More
Flash on the Beach 07
Flash on the Beach 07
Four days of Flash by the sea
I just got back from Flash on the Beach 07; A Flash conference in Brighton. It would be an impossible task so sum up what a fantastic 3 days it turned out to be, suffice to say the speaker line-up was near perfect, and I left feeling inspired to play more, create more and dig out some of those old ideas from the back of my hard drive and see where they take me. // Read More
AS3 Group94 Menu
AS3 Group94 Menu
Group94 inspired scrolling menu - AS3 update
Welcome to the latest instalment of the Group 94 style scrolling menu tutorial! (With downloadable source files of course) // Read More
G94 Circular Menu
G94 Circular Menu
Group94 Inspired Circular scrolling menu
Download Group94 style scrolling menu
I built this circular version of the group94 style scrolling menu for a flash website awards showcase I was asked to work on. The original design was based around circles, but we ended up redesigning as parts of the interface (not this menu!) were too processor intensive.
Ok, so part two of my tribute to Group 94’s menu system! This is again inspired by the Group 94 (at least they are most famous for it) shuffle menu in Flash, which pushes items off the top and bottom as the menu shuffles into place. // Read More
SWF Address
SWF Address
Deep linking in Flash
I have just been checking out Asual’s SWFAddress.
If you haven’t come across it yet, SWF Address is a tool for deep linking in Flash. It is a JavaScript based code which will set hash (anchor) link path from your Flash content. Not only does this mean users can now use their back buttons, but it also means permalinks can be created to content deep inside the Flash movie. For example http://www.yoursite.com/#/projects/project-name/ // Read More
AS2 Array count values
AS2 Array count values
Actionscript port of array_count_values
In PHP there is a very useful function called array_count_values. It sorts an array by returning a 2 dimensional array consisting of non duplicate elements as keys, and values determined by how many times these elements appeared in the original array.
So, for example, an array [“red”,”green”,”blue”,”red”] would be converted into [“red” => 2, “green” =>1, “blue” => 1]. Duplicate elements are removed and the new array indicates how many times each, now unique value occurred in the array.
Unfortunately, Actionscript has no such function built in, so I made one. It is a modification of Senocular’s array.unique() prototype (which you can find in his Actionscript library), however rather than simply returning a unique array, it returns the 2 dimensional array mentioned above. // Read More
AS3 music visualisation
AS3 music visualisation
Actionscript 3 computeSpectrum
A decent computer and lots of volume is recommended.
Well, due to the fear of slipping behind, I felt I better start learning the new Flash language, Actionscript 3, and at first glance, one of the coolest features is definitely the SoundMixer.computeSpectrum function. // Read More






