AS3 webcam Motion Tracking

Actionscript 3.0 | 06 Jun 2008 | 38 comments

Actionscript 3.0 | 06 Jun 2008 | 38 comments

AS3 webcam Motion Tracking

Tracking an object’s movement

AS3 webcam Motion Tracking

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

Actionscript 3.0 | 06 May 2008 | 2 comments

Actionscript 3.0 | 06 May 2008 | 2 comments

2D Cellular Automata

Actionscript 3 Game of Life

2D Cellular Automata

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

Actionscript 3.0 | 29 Apr 2008 | 3 comments

Actionscript 3.0 | 29 Apr 2008 | 3 comments

Alphabet Particles AS3

Psychedelic Sesame Street

Alphabet Particles AS3

Download Source Code (AS3)

Ok, so there’s not much to say here! // Read More

Playing With APEs

Actionscript 3.0 | 24 Nov 2007 | 2 comments

Actionscript 3.0 | 24 Nov 2007 | 2 comments

Playing With APEs

Actionscript 3 physics engine

Playing With APEs

Download demo source files

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 | 09 Nov 2007 | no comments

flash | 09 Nov 2007 | no comments

Flash on the Beach 07

Four days of Flash by the sea

Flash on the Beach 07

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

Actionscript 3.0 | 24 Oct 2007 | 10 comments

Actionscript 3.0 | Interfaces | 24 Oct 2007 | 10 comments

AS3 Group94 Menu

Group94 inspired scrolling menu - AS3 update

AS3 Group94 Menu

Download source (AS3)

Welcome to the latest instalment of the Group 94 style scrolling menu tutorial! (With downloadable source files of course) // Read More

AS3 music visualisation

Actionscript 3.0 | 14 May 2007 | 30 comments

Actionscript 3.0 | 14 May 2007 | 30 comments

AS3 music visualisation

Actionscript 3 computeSpectrum

AS3 music visualisation

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

Dynamic positioning continued

Actionscript 2.0 | 08 Mar 2007 | 34 comments

Actionscript 2.0 | 08 Mar 2007 | 34 comments

Dynamic positioning continued

Creating fullscreen flash sites

Dynamically position elements in your flash movie for fullscreen flash websites

Download the source files

Following another post regarding using stage listeners to dynamically resize and position MovieClips in Flash, I was asked to upload and FLA as an example. The previous code can just be pasted into the actions panel and will run without any MovieClips needed, and was designed to show the StageListener function rather than showcase a particular dynamic layout. // Read More

Group94 style Menu

Interfaces | 07 Mar 2007 | 15 comments

Interfaces | prototypes | 07 Mar 2007 | 15 comments

Group94 style Menu

Group94 inspired scrolling menu list

Group94 style Menu

I have always liked the neat and compact menu system Group94 often use in their projects. It is really useful for lists or menus and is also of course very elegant.

I don’t know how Group94 do it, but here is my attempt. I have created two prototypes to make it easy to use multiple times within a project. // Read More

Splitting Strings

prototypes | 08 Feb 2007 | 5 comments

prototypes | 08 Feb 2007 | 5 comments

Splitting Strings

Split strings to an array of phrases

I was working on a project recently where I recieved a data feed and needed to split it into sections that would fit into a text box (ie. 200 characters at a time). The user would then click ‘more‘ and progress through the text in segments until they had read all of it.

I wrote this simple prototype, which splits a string into sections of a defined size (and optionally adds a postfix, ie. “…” to the end), and returns an array containing the segmented text. // Read More