Skip to content

tobsa/Xiaolin-Wus-Line-Algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Xiaolin Wu's Line Algorithm
==========================

A simple program that draws lines between mouse clicks. The lines are drawn
using the Xiaolin Wu's Line Algorithm, i.e. the lines are anti-aliased.
SFML was used for graphics.

Controls: 
Left Mouse Button : Add a point to the current layer

Right Mouse Button: Remove a point from the current layer. If the layer is
                    empty then it will remove the latest layer.
                    
Space:              Create a new layer from all the points in the current 
                    layer. 

About

A program that draws anti-aliased lines using Xiaolin Wu's line algorithm.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages