Search results
Results from the WOW.Com Content Network
The Bresenham Line-Drawing Algorithm by Colin Flanagan; National Institute of Standards and Technology page on Bresenham's algorithm; Calcomp 563 Incremental Plotter Information; Bresenham Algorithm in several programming languages; The Beauty of Bresenham’s Algorithm — A simple implementation to plot lines, circles, ellipses and Bézier curves
A circle of radius 23 drawn by the Bresenham algorithm. In computer graphics, the midpoint circle algorithm is an algorithm used to determine the points needed for rasterizing a circle. It is a generalization of Bresenham's line algorithm. The algorithm can be further generalized to conic sections. [1] [2] [3]
Bresenham's line algorithm, developed in 1962, is his most well-known innovation. It determines which points on a 2-dimensional raster should be plotted in order to form a straight line between two given points, and is commonly used to draw lines on a computer screen.
Single color line drawing algorithms involve drawing lines in a single foreground color onto a background. They are well-suited for usage with monochromatic displays. The starting point and end point of the desired line are usually given in integer coordinates, so that they lie directly on the points considered by the algorithm.
Van Aken (Van Aken, J.R., "An Efficient Ellipse Drawing Algorithm", CG&A, 4(9), September 1984, pp 24-35) showed that the midpoint algorithm produces the same output as Bresenham's. Swestrup 17:59, 28 February 2007 (UTC) Ok, so I changed this and tried to attribute these parts more correctly.
Main page; Contents; Current events; Random article; About Wikipedia; Contact us
Wu's algorithm is comparatively fast, but is still slower than Bresenham's algorithm. The algorithm consists of drawing pairs of pixels straddling the line, each coloured according to its distance from the line. Pixels at the line ends are handled separately. Lines less than one pixel long are handled as a special case. An extension to the ...
In pseudocode, this algorithm would look as follows. The algorithm does not use complex numbers and manually simulates complex-number operations using two real numbers, for those who do not have a complex data type. The program may be simplified if the programming language includes complex-data-type operations.