Author: John Smith
I like your code because is simple and elengant. But there is something I do not clearly understand of your code. Why do you use an up buffer and a down buffer? In the picture you show, both lines are parallel.