Fibonacci word/fractal: Difference between revisions

m
Line 13:
=={{header|Icon}} and {{header|Unicon}}==
 
This probably only works in Unicon. It also defaults to showing the factal for F_word<sub>2425</sub> as
larger fractals quickly exceed the size of window I can display, even with a line segment length of
a single pixel.
Line 20:
 
procedure main(A)
n := integer(A[1]) | 2425 # F_word to use
sl := integer(A[2]) | 1 # Segment length
width := integer(A[3]) | 1050 # Width of plot area
height := integer(A[4]) | 450 1050 # Height of plot area
w := fword(n)
drawFractal(n,w,sl)