Skip to content

artisdom/xiaolin-wu-algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Xiaolin Wu's fast antialiased line drawing algorithm in Haskell

Travis branch Hackage GitHub license

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.

Set up dev environment

This project can be built using the Stack build tool.

stack build intero
stack build --copy-compiler-tool ghcid

ghcid

stack exec ghcid -- -T':main'

Build

stack build

Test

stack test

Run

stack exec xiaolin-wu-algorithm

Upload package

stack upload .

Upload documentation

I use my upload-haddocks tool which requires a functioning installation of Python and pip:

pip install --user upload-haddocks
upload-haddocks

Licence

MIT License

Copyright © 2018, Richard Cook.

About

Xiaolin Wu's fast antialiased line drawing algorithm in Haskell

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published