Automated Growing Lines

How does one create a line that appears to be growing? I want to use the same concept as found here:

http://www.kirupa.com/lab/fractal_tree.htm

However, I would like to use it to create a simple line that appears to be growing. How would I go about doing this? Please be very indepth as I am a beginner…
:pleased:

Thanks in advance!