Honey Is Made From Dead Bees

… and other insights into the world from Daftspaniel

Daft World – Adventures in HTML5

leave a comment »

IE9, Chrome, Safari, Firefox and Opera are throwing out newer and fancier web browsers than ever and I thought it would be fun to revisit HTML5 as it finally appears to be maturing into reality years after the canvas tag first appeared. To see how your browser scores, got to HTML5test and get your score. Chrome scores around 230 depending on the version.

The canvas tag allows for simple graphic primitives to be drawn on the page dynamically. This appeared to be a good chance to write a program I have wanted to do for a long time – a landscape generator. I have spent a lot of time playing with fractals, fault line graphics etc and doing that on a web page would be awesome!

Here’s a static screenshot of my ‘Daft World’ – looking like it is made of Lego! A live demo should appear as soon as I tidy up the code a bit. It’s pretty simple and only taps the potential of HTML5 but as these cutting edge browsers become the norm the web should get even more interesting.

Advertisements

Written by daftspaniel

September 28, 2010 at 9:14 pm

Posted in Web

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: