Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. 1. Pick a line and endpoint, go there, pen down.
  2. (you might want to use a heuristic here such as pick the closest point to where you are).
  3. 2. go to other endpoint, mark line complete
  4. 3. search through list of lines and find a new line with same endpoint.
  5. (you might want to use a heuristic here to continue going straight if you can).
  6. if no more lines: end
  7. else if you found one: goto 2
  8. else: pen up, goto 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement