6 ms·
Nice! I did the same thing a couple weeks ago <http://github.com/jackrusher/jssvggraph> http://github.com/jackrusher/jssvggraph> to help explain the simplic
by jackrusher 16y ago
Nice! I did the same thing a couple weeks ago <http://github.com/jackrusher/jssvggraph> http://github.com/jackrusher/jssvggraph> to help explain the simplicity of the algorithm to a friend. Mine paints SVG directly rather than using Raphael, so it only works with browsers that support that standard. One thing this brought to my attention is that the WebKit SVG implementation is much, much faster than Gecko's.
- eru 16y agoIf you want to click, use http://github.com/jackrusher/jssvggraph http://github.com/jackrusher/jssvggraph
- jackrusher 16y agoThanks! I wasn't familiar with HN's post formatting.
- eru 16y agoNormal parens (like this) seem to work with URLs on HN.
- dhotson 16y agoThanks for sharing Jack. For this demo I was really focusing on simplicity and getting the basics right. I just wanted dots and lines but was too lazy to figure SVG DOM manipulation. Raphael makes it really easy.