Fractal tree: Difference between revisions

m
→‎{{header|11l}}: new way of specifying file open mode
imported>Qn1
(Use library defined M_PI instead of "manual" precision.)
m (→‎{{header|11l}}: new way of specifying file open mode)
Line 30:
drawTree(outfile, x2, y2, len * ScaleFactor, theta - DeltaAngle)
 
V outsvg = File(‘tree.svg’, ‘w’WRITE)
outsvg.write(|‘<?xml version='1.0' encoding='utf-8' standalone='no'?>
<!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'>
1,480

edits