This is my implementation of Xiaolin Wu's fast antialiased line drawing algorithm in Haskell. It is loosely translated from the Wikipedia article and is the basis of the program posted at Rosetta Code.
This project can be built using the Stack build tool.
stack build intero
stack build --copy-compiler-tool ghcid
stack exec ghcid -- -T':main'
stack build
stack test
stack exec xiaolin-wu-algorithm
stack upload .
I use my upload-haddocks
tool which requires a functioning installation of Python and pip:
pip install --user upload-haddocks
upload-haddocks
Copyright © 2018, Richard Cook.