Use existing svg (e.g. from Inkscape) shapes in D3.js tree diagram.
Sparked by StackOverflow question How do I clone an element or chunk of dom?
; a hand-made GIF containing valid JavaScript code | |
; abusing header to start a JavaScript comment | |
; inspired by Saumil Shah's Deadly Pixels presentation | |
; Ange Albertini, BSD Licence 2013 | |
; yamal gifjs.asm -o img.gif | |
WIDTH equ 10799 ; equivalent to 2f2a, which is '/*' in ASCII, thus starting an opening comment |
Use existing svg (e.g. from Inkscape) shapes in D3.js tree diagram.
Sparked by StackOverflow question How do I clone an element or chunk of dom?