https://github.com/lnus/pkd-project
https://github.com/lnus/pkd-project
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/lnus/pkd-project
- Owner: lnus
- Created: 2022-02-18T12:00:11.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-07T13:07:49.000Z (over 4 years ago)
- Last Synced: 2025-02-14T22:39:47.904Z (over 1 year ago)
- Language: Haskell
- Size: 437 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PKD Project - Face Generator 🎨
Using [Gloss Library](https://hackage.haskell.org/package/gloss) to generate faces based on user input.
## Installation
### Pre-compiled binary
Download the binary from the releases page and run it from a terminal, nothing else should be required! (Except maybe some OpenGL dependencies)
### Building from source
#### Linux
Install the OpenGL dependencies
```
sudo apt-get install libglu1-mesa-dev freeglut3-dev mesa-common-dev
```
Install Gloss library
```
cabal update
cabal install gloss
```
Compile the Main.hs file and run it.
#### Windows
If you're running on Windows, I would refer to [this guide!](https://linusblog.netlify.app/haskell_gloss_wsl/)
## Usage
The program is run through a CLI, where the options will be displayed to you with explanations for the different options in the program window.
To start the program, run the downloaded binary from the releases page or by compiling the Main.hs file.