Problems regarding
the Bresenham line algorithm
- Understand your lab5 program better.
- Go through sample calculations for the Bresenham line algorithm for
specific numbers, where x2>x1 and y2>y1 always (because those are the
only cases we're examining in detail for this course, mostly because the other
cases are similar but there are a lot of cases).
For lab5, compare your program to my distributed sample solution (in
/u/ajr/104/lab5/bres.py) and see which is better and ask me about it.
For specific sample calculations, compare your results to the discussion
generated at
http://course.dgp.toronto.edu/cgi-bin/bres
[index of CSC 104 test problem categories]
[main course page]