radikalFX

About

RadikalFX is the personal outlet of Berry de Vos. This is the place were I write about the technology that I come across and stuff I have discovered on the inter tubes. More...

12
Dec

Text addition for image collage with HTML5 and Canvas

Recently I was asked the question whether it would be possible to add text to the dynamic image collage project I created 2 years ago and because I was kinda curious to see whether it would be I decided to take a look back at that legacy code and introduce the possibility to add text layers.

The first thing I had to conclude when opening up the JavaScript code is that it really sucked. But after getting back into it, it turned out to be extremely easy to introduce text to the system. I won’t go into all the details around this code since I actually hope to clean up the code some day soon (I’ll probably look back at this text in a year and come to the conclusion that I haven’t gotten to it), but if I get a chance to actually make it into a jquery plugin that would really make the entire thing a lot simpler.!

Canvas Collage with Text

For everybody interested in the addition of text in the HTML5 Canvas Collage, here you go: http://radikalfx.com/files/collage-with-text/demo.html

3 Responses to “Text addition for image collage with HTML5 and Canvas”