CSS

Procedural Smiles - Animating SVG with pure JavaScript

I recently needed to be able to generate a simple face image, with the face being able to scale from happy to sad. (Why I needed to do this is a long story!) This gave me the opportunity to have a play with SVG, which is something I've not done in a while and always wished I could spend more time with. You can see the result below, move the slider to see the smile animate:
Read more

Space Invaders on the CodeProject

I'm currently writing a series of articles on the CodeProject called ‘Learn JavaScript’ and am pleased to say that the latest article is available now! Learn JavaScript Part 2 - Space Invaders In this article we take a look at how to create the classic space invaders game with plain JavaScript and HTML - no libraries or frameworks. You can see it in action on the page experiments/spaceinvaders. Check it out - as always, comments are welcome!
Read more

Introducing Experiments

I'm staring a series of articles on learning Javascript (the first is available at http://www.codeproject.com/Articles/642499/Learn-JavaScript-Part-1-Create-a-Starfield). To help with this, I've created the Experiments page. This page will host each of the things I've been playing with in the process of learning JavaScript and coming up with good topics for tutorials. You can see the Experiments page here, there's also a link at the top of the site. If you like it, please feel free to comment on this post or get in touch.
Read more