I’ve been working on an old code base recently, a one which I have inherited, and looking through it I was frustrated at a lot of the code involved. Don’t get me wrong, that’s normal for most programmers when they inherit an old project, but I’m not sure this followed good programming practices from when it was built (about 7 years ago).
Not too long ago I looked at working with HTML5 Canvas. It’s a great little thing, and I am working on some posts to explore it more and what it can do. However I have just ran into a problem with it which others have found, and something which is going to trip people up at some stage. It’s not responsive. This means that when you put your canvas work onto the web and view it on different devices, it’s not going to scale with the viewport. Nightmare.