I try to make something like “live type” using html5 canvas, but I can’t get it. I also can’t find anything on the net about it. So, one can not do it only with html5? If someone knows a site with a model, it will be enough.
So I want to write some words live, as the user reads it, letter by letter.
Thanks!
(I did not post my code because I am so far from what I want that it is irrelevant 🙂
This can be done with
canvasand a little JavaScript. I’ve put together a demo which should demonstrate the principles and provide you a starting point to work from.For further reading, have a look at the documentation for
setTimeout(which is used in the demo to create the animation loop which draws the characters) and thecanvas.fillTextmethod (there’s a decent looking tutorial here).