December 2007

20,000 Processing Particles

by Andy Polaine on December 26, 2007

in Portfolio

I’ve played with Processing a fair bit over the years, but never really got stuck into anything solid – most of my time has been spent fixing up my students’ projects!

Over the break I’ve been playing with some other ideas, working through the very good book by Casey Reas and Ben Fry, Processing: A Programming Handbook for Visual Designers and Artists. It’s probably one of the best books I’ve ever read in terms of introducing and explaining how to code for people without a computer science background.

Inspired by Robert Hodgin’s wonderful Processing work I thought I’d have another crack at particles as they seem to be all the rage at the moment. The particle creation part is easy, but getting them to interact with decent physics was getting too much for my mathematically challenged brain. Thankfully I came across the Traer Physics Engine by Jeffrey Traer Bernstein, which handles a lot of that maths for you.

My “Hello World!” code for any platform tends to be a bouncing ball (or an array of them) because it covers most of the structures – if…then, variables, arrays, etc.

So I started building and engine that has a bunch of particles that are all attracted to each other, but more attracted to a single one which is following a target invisible bouncing ball around the screen. (It would make more sense to collapse the particles into the ball code, but at the moment I’m just plugging stuff together.)

It’s very simple at the moment – just an ellipse as the graphic with some trails going on. The above is a version that rendered out in non-realtime with 20,000 particles. I like the way they seem to rope together and struggle to break free. Sometimes there’s a kind of breakaway flare.

There’s also a bit of gravity going on, which drags everything down. Any particles that go off the bottom of the screen are simply recycled up the top (you’ll see this in the initial explosion). A interesting upshot of this is that sometimes the tail of the flare/rope falls off the bottom and those particles make a break for it from the top.

You can play with a 2,000 particle version of it here (and view the source code)..

There are also a couple of other versions on Vimeo.

[tags]processing, particles, generative, video, vimeo[/tags]


NetX Digital Cardboard Christmas

by Andy Polaine on December 18, 2007


It’s nice to see digital agencies do non-digital (sort of).

My German pal, Tim Buesing, who now lives and works in Sydney at NetX just sent me the NetXmas card. Nice little interactive video engine, but the appalling karaoke performances are the real brandy butter on the christmas pudding.

Tim is doing the camp German spoken-not-singing version in window two.

[tags]netx, christmas, interactive, funny, ecard[/tags]


Social Learning Masterclass

December 17, 2007

A few of weeks ago I presented at a Social Learning Masterclass at Northumbria University to an invite from Stephen Farrier from the e-Learning Innovations Enhancement Group. If you’re interested in having a listen, I posted the podcasts and presentation over at the Omnium blog. [tags]omnium, presentation, futures[/tags]

Read the full article →


December 13, 2007

Here’s something nothing to do with interactivity, quite a bit to do with play. It’s Christmas after all. I still find this funny for some unexplainable reason. (Thanks to Branden at Automata Studios for this – he used it to explain how to pronounce their name).

Read the full article →

The Whale Hunt by Jonathan Harris

December 11, 2007

Whatever your opinion on commercial whaling, substance whaling is a totally different affair. It’s been part of aboriginal Eskimo life for thousands of years and has deep roots in their cultural life, beliefs and survival. Jonathan Harris, whose work I find consistently beautiful, has created a mesmerising project called The Whale Hunt documenting the ten […]

Read the full article →

Benettonplay’s Video Grid

December 6, 2007

Proving that the oldies are indeed the goldies, the Fabrica have re-made their video grid idea in Flash for your online interactive enjoyment. Amazing how addictive recording silly little clips of yourself is, but then this is the YouTube generation, man. [tags]interactivity, fabrica, benetton, flash, video[/tags]

Read the full article →

Dear Rockers and Get a First Life

December 1, 2007

Iain posted posted a link to Dear Rockers, a website that encourages you to repent your music-stealing sins and send $5 direct to the musicians who have made an impact on your life but for whose music you haven’t paid. It’s interesting that record companies have got themselves into a position to be so hated. […]

Read the full article →