3 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 17y 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 17y agoIf you want to click, use http://github.com/jackrusher/jssvggraph http://github.com/jackrusher/jssvggraph
- jackrusher 17y agoThanks! I wasn't familiar with HN's post formatting.
- eru 17y agoNormal parens (like this) seem to work with URLs on HN.
- dhotson 17y 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.