London Olympics

I thought I would get in the spirit and create a parody of the London olympics logo for Chop Art.

Access WordPress custom variables

<?php $keyArray = get_post_custom_values($key , $post->ID); ?>

The alignment of blocks with different heights within a grid using jQuery

demo

Yesterday while working on a current job, I came across a simple layout that couldn’t simply be done using CSS. Its been see around a lot lately and is common for mobile devices. I had a ‘news feed’ which I wanted to be displayed in a grid, however due to the fact they would have alternate heights, simply using css float or inline-block would result in vertical uneven spaces.

To solve this I used jQuery to rewrite the html onload and onresize. One of the concerns was the items also needed to display left to right then onto the next line, NOT top to bottom then next coloumn.

The main function determines the number of columns available in the given space, then adds each block to the column using a modulo function to determine the right column.

Feel free to copy and use at your peril, I’de like to here of any improvements.

View the demo

Loop through XML elements using PHP

If you don’t know the absolute path of an element in your xml file the using xpath and ‘//’ acts as a wildcard (similar to ‘..’ in as3 i guess) you can run a loop and return all values for those elements.

Handy for this likes RSS feeds or KML files ect.

<?php

$xml = simplexml_load_file('my.xml');

	foreach ($xml->xpath('//xmlnode')  as $node) {
    	echo "\t node: $node <br />\n";
		
	}
?> 

3D text intro

This is an Animation test in Cinema 4D using MoGraph PolyFX and Randomiser. Im also using a shader by Matt Savard to create falloff in the shadow. (http://www.helloluxx.com/tag/distance-falloff/)

You can view the clip on YouTube

My Threadless Submission – No Parking (stick it to the man)

Score this design: “No Parking,” to help it get printed on Threadless!

RIP Oscar – 26th December 1995 to 22nd October 2011

Today I lost my best mate, my brother the family dog Oscar Wilson. He left us peacefully in our family home when the vet put him to sleep, after his final play in the park bush with his favourite stick.

I’ll miss him incredibly as he was such an important part of my life. He will be rembered by his love for sticks, his cheeky yet loving attitude, his un-deniable loyalty and his overall eccentric character. I’ll miss his growling whilst dragging his bed, his upright wanting to go to the park anytime I put shoes on, his sneeky roams around the neighbour hood (the rangers never got him), his undying love for all his family and being there all the always in times of need.

There are soooo many tales to tell about Oscar, he was well known throughout the community

Rest in peace my dearest buddy

Love Leon

Ive made a gellery in memory of Oscar in my flickr page

XD Visuals HTML website

Just finished a website for Job Wallis at xD Visuals. Comes complete with a customised CMS that is styled as the main website. Built in HTML (no Flash) I used webfonts which are very cool and a billion times more reliable than flash… ;~

This shows the projects administration page….

Telegraph Olympics – [Pitch]

I’ve just done some design/illustration work a pitch for my friends over at http://www.caffeinehit.com/. All going to plan there could be 10 different mini games to be designed and illustrated, all to be developed in CSS3 and HTML5.

Roo Burger