Sierpiński gasket or Sierpiński sieve: Now saving to SVG
Go to later reply for the downloadSaving SVG has fractal points data but cannot be Viewed in a BrowserHi All.
I made a fractal program that works well and got it to save to svg but the saved svg file does not display the saved points in a web browser.
The svg file contains the points but something seems to be missing to display the svg in a web browser (not really sure?)
Here is the contents of a level 2 curve saved to svg:
<?xml version="1.0" encoding="utf-8"?>
<svg width="1620" xmlns="http://www.w3.org/2000/svg" height="20">
<path d="M-190 10 210 10 410 10 610 10 810 10 1010 10 1210 10 1410 10 1610 10" fill="none" stroke="#FFFF00" stroke-width="1.5px"/>
</svg>
Any help from the SVG gurus greatly appreciated ?Also the size of the original curve canvas is
840 pixels wide by 800 pixels high but I seem to get
svg width="1620" and height="20" but I am not sure why?