You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 26, 2019. It is now read-only.
Renders a 3D interactive model of DNA (a double helix) in a recursive manner in which the bonds of the DNA are made up of more double helices and so on.
Be Warned! This program can be very tasking on your PC
Entry for the Inf1–FP Programming Competition 2013
Usage:
Compile the code using ghc --make Main (or using Cabel) and then run the executable that it generates. Not all features may work on Windows and OS X
Can also be run with a digit between 1 and 9 as it's argument. This sets the recursion level to that number and disables interactivity. This is so that recursion
levels too high for interactive mode can still be seen. Please be patient as these can take a long time to render
Keyboard Controls:
Q,W,E,A,S & D - these keys rotate the model
Arrows - these keys move the model up, down, left and right
Plus and Minus - these keys zoom the model in and out
* and / - these keys increase and decrease the recursion level. BE WARNED! Setting this to high WILL cause the program to stop responding to keyboard input (default 2, recommended max 4)