Creating a fractal line- fline(a,b)
n
Given points
a,b
find midpoint
m
n
chose a point
n
at distance
e
from
m
n
call fline(
a,n
), fline(
n,b
)
where e =
d(a,b)
k
r
and
d
measures distance,
k
a constant
r
a random number between 0..1