Re:Staffpad: a new class of notation app
by tantalor on Wednesday October 07, 2015 @08:48AM
(#10345637)
Either. http://www.vexflow.com/ and http://www.musicxml-viewer.com/ use canvas. http://www.alphatab.net/ and http://abcjs.net/ use svg.
[ Parent
| on HN ]
Re:Staffpad: a new class of notation app
by iraphael on Wednesday October 07, 2015 @09:12AM
(#10345756)
What would be the advantages of using one over the other. I'm in the process of refactoring/improving a web game (connwars.com) I made a while ago and I was planning on using canvas, but I don't know if svg would work better.
Re:Staffpad: a new class of notation app
by adrianh on Wednesday October 07, 2015 @04:24PM
(#10348816)
Use canvas if performance is important. Use SVG if it's important to assign functionality to specific graphical elements (as opposed to rolling your own hit detection). See my comment above in this thread for more.
[Usual caveats apply...this is general advice, and I don't know your situation, etc.]