GalaxyGoo Media Lab
intersectLines 1.1 by Richard Wright       What's going on here? | Comments? | Flash plugin required

Note: GalaxyGoo first published this project while participation in the 2003 blogathon, for which GalaxyGoo was honored with the Best Visual Arts Project award.

Author's comments:

This is a testing environment for the 'division by 0' problem when rendering vertical lines and attempting to calculate the slope of the line. Lines are draggable to any configuration, with any selection of the combobox returning the graphics to the initial vertical/horizontal position.

I've used a hack to interrupt the 'Infinity' return for the slope of the vertical line, returning a very large positive or negative number (+/-1e304) instead to support successful calculations for placing the line end points.