{"id":221,"date":"2006-02-05T15:57:32","date_gmt":"2006-02-05T21:57:32","guid":{"rendered":"http:\/\/blog.codedread.com\/?p=221"},"modified":"2006-02-05T15:57:32","modified_gmt":"2006-02-05T21:57:32","slug":"svg-using-nothin-but-javascript","status":"publish","type":"post","link":"https:\/\/www.codedread.com\/blog\/archives\/2006\/02\/05\/svg-using-nothin-but-javascript\/","title":{"rendered":"SVG Using Nothin&#8217; But JavaScript"},"content":{"rendered":"<p><a href=\"http:\/\/verens.com\/archives\/2006\/02\/05\/implementing-an-svg-viewer-in-javascript\/\">klog<\/a> has written a library that handles drawing \"about 80% of basic shapes\" for <span class=\"Scalable Vector Graphics\">SVG<\/span> using nothing but DHTML.  I haven't tried it out yet, simply because all the browsers on all of my machines support SVG (Internet Explorer with the Adobe plugin, of course).  I might actually uninstall <span class=\"definition\" title=\"Adobe SVG Viewer\">ASV<\/span> on one of my machines just to see how <a href=\"http:\/\/verens.com\/archives\/2006\/02\/05\/implementing-an-svg-viewer-in-javascript\/\">his library<\/a> works.<!--more--><\/p>\n<p><script type=\"text\/javascript\" src=\"http:\/\/www.codedread.com\/googleads.js\"><\/script><br \/>\n<script type=\"text\/javascript\" src=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\"><\/script><\/p>\n<p>What a fantastic idea!  I had stumbled upon <a href=\"http:\/\/www.walterzorn.com\/jsgraphics\/jsgraphics_e.htm\">Walter Zorn's library<\/a> about a month ago, but was unimpressed with the speed and had considered it irrelevant (er, i mean \"dated\") with SVG on the rise.  However, I'm glad that someone smarter than me looked past this and has taken the initiative to adapt it to handle SVG for everywhere JavaScript is supported.   It will never be as nice as an SVG plugin (Adobe\/Renesis\/whoever), especially for animated\/dynamic aspects, but for static images it just might do the trick.  Getting people to download\/install the plugin is often the stumbling block.<\/p>\n<p>I hope to see this library mature.  Maybe he could enlist support from the SVG web developer community.<\/p>\n<p><script type=\"text\/javascript\" src=\"http:\/\/www.codedread.com\/googleads.js\"><\/script><br \/>\n<script type=\"text\/javascript\" src=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\"><\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>klog has written a library that handles drawing &#8220;about 80% of basic shapes&#8221; for SVG using nothing but DHTML. I haven&#8217;t tried it out yet, simply because all the browsers on all of my machines support SVG (Internet Explorer with the Adobe plugin, of course). I might actually uninstall ASV on one of my machines [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38,25,46,11,28],"tags":[],"class_list":["post-221","post","type-post","status-publish","format-standard","hentry","category-javascript","category-software","category-svg","category-technology","category-web"],"_links":{"self":[{"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/posts\/221","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/comments?post=221"}],"version-history":[{"count":0,"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/posts\/221\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/media?parent=221"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/categories?post=221"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/tags?post=221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}