University of Edinburgh 2019 Inf1A FP Competition work
Install package GLUT first
cabal install GLUT
or
stack install GLUT
main.hs -- Bezier function and main display function
ColourProfile.hs -- Colour transformation function and pre-define colour profile(in RGB)
LinesSet.hs -- Pre-define lines set
Change different colour profile in main.hs.
I only define Cubic Bezier Function.
LSystem.hs --From tutorial7
https://wiki.haskell.org/OpenGLTutorial1
https://wiki.haskell.org/OpenGLTutorial2
BEAUTIFUL CODE ,COMPELLING EVIDENCE -J.R. Heard https://www.renci.org/wp-content/pub/tutorials/BeautifulCode.pdf
All code now available to the public