Re:Experiments with HTML5 <canvas> and <audio>
by NathanKP on Sunday July 18, 2010 @02:43PM
(#1526408)
The visualizers are very well done, and in Safari 5 they don't seem to max out the processor, so that is good. However, some of them are fairly low res, just blown up larger. I wonder how much resources they would use if they had a high quality version.
[ Parent
| on HN ]
Re:Experiments with HTML5 <canvas> and <audio>
by endual on Sunday July 18, 2010 @07:35PM
(#1527076)
Nice example! And cheers for including the code.
I think the "low res" comes from there being a pre-defined number of segments making up the curves. Smaller curves just look smoother. To get them all looking smooth would require more complex subdivisions, and maybe bog it down?
Great proof of concept though!
Re:Experiments with HTML5 <canvas> and <audio>
by kordless on Sunday July 18, 2010 @02:47PM
(#1526420)
I wonder how much overhead the SoundManager2 stuff adds? I have Webkit (Safari 5) and Chrome Beta installed, but neither one of them seems to support the audio APIs like the new Firefox does. Guess I'll have to install! ;)