Clinton Montague

Developer, learner of things, functional programming enthusiast, hacker, and all round inquisitor.

My data visualisation article for the 12 devs of xmas

January 4, 2012

Some of you may know that I was working on a side project over Christas with @onishiweb and @mrqwest called The 12 Devs of Xmas. It’s kind of like a reverse 24ways where we post a new article on each of the 12 days of Christmas (well, actually the 12 days starting from Boxing day). […]

Lunch-time hack: Day 3 – Visualising forces between repelling particles

June 9, 2011

See demo → var WIDTH = 500, HEIGHT = 500, PARTICLES = [], STARTING_COUNT = 100, MAX_PARTICLES = 200, DAMPING = 0.05, CURRENT_FRAME = 0; var canvas = document.getElementsByTagName (‘canvas’)[0]; canvas.width = WIDTH; canvas.height = HEIGHT; var ctx = canvas.getContext (‘2d’); init (); function random (min, max) { return (Math.random() * (max – min) + […]

Lunch-time hack: Day 2 – self organising particles

June 8, 2011

In today’s hack I wanted to play with a self organising particle system, so I set about writing a loop which worked out the distance between each particle and generated a force based on that. It was a lot to think about so I didn’t quite get it working in 15 minutes and decided to […]

Lunch-time hack: Day 1 – playing with processing.js

June 6, 2011

It’s certainly not the most exciting thing you’ll ever see, but hopefully things will start to change over the coming weeks/months when I really start to get a feel for which effects are created by certain of code. For my first lunch-time hack, I thought I’d give myself an introduction to processing.js. It’s not very […]

Introducing the lunch-time hack

Do you ever think it would be cool to tinker with a new technology/framework but never get to the end of a project because it gets stale and boring? Me too. So I’ve invented a new part to my daily routine called the lunch-time hack. The mission is simple: create something cool in 15 minutes. […]

Analysing the visual data from the HTML5 audio API

March 7, 2011

I wasn’t expecting to get very much out of the HTML5 <canvas> and <audio> API demo apart from some cool looking animations. But I’ve surprised myself and have gotten interested in what the data can say as well as working out clever ways to make it look interesting. A bit of history So yesterday, I […]

Playing with visualising <audio> with <canvas>

March 6, 2011

I woke up this morning and wanted to play with the HTML5 audio API and experiment with how data from it could be visualised. So I set to work and within a couple of hours had set up a very rudimentary graphic equaliser kinda-thingy. You’ll need Firefox 4 beta to see it, but if you […]

Flash and the z-index problem, solved

March 24, 2009

I was always told that Flash would render on top of everything else. That’s it. There’s no way around it. It meant that whenever I had a design using, say, suckerfish menus, I’d have to be careful to ensure that there was enough space below the menu to accommodate for Flash’s nasty little habit. It turns out that the notorious they were wrong. Again. It’s amazing just how many times ‘they’ don’t get it quote right, and that the majority of people still believe them.