June 18, 2010 Leave a comment
… pixel by pixel.
I moved on to just reading the file straight from text using XMLHttpRequest. I had problems with putting setInterval and setTimeout methods within the code to try and run asynchronously. The problem was that I didn’t need them! After I removed them and just called the function on its own, I got the stream and conversion to work… but very slowly. An example of the stream can be viewed below… be warned, though, it does take a number of seconds.