Fractal tree: Difference between revisions

m
Line 266:
Draw a line ( #(180-y1), #(180-x1), #(180-y2), #(180-x2))
If ( #( depth > 0) )
Set (x2, y2, {size} Mul by 'Scale', {angle} Minus 'Spread', Minus one(depth)) Gosub 'Branch'\
Set (x2, y2, {size} Mul by 'Scale', {angle} Plus 'Spread', Minus one(depth)) Gosub 'Branch'
Set (x2, y2, {size} Mul by 'Scale', {angle} Plus 'Spread',\
Minus one(depth)) Gosub 'Branch'
End If
Return
543

edits