aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
blob: 8cb6656feb4725438704137855cdd2b02f4388e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Median Cut

To compile and run, one has to first download
[stack](https://docs.haskellstack.org/en/stable/README/)

The simplest way to do this is by executing the following command:

```
curl -sSL https://get.haskellstack.org/ | sh
```

Then run setup in this directory:

```
stack setup
```

Finally the executable can be built and run using the following:

```
stack build --exec mirror-ball
```

This project relies on a open source library that I wrote to load 
PFM files which is hosted at [PFM](https://github.com/ymherklotz/pfm).
It will automatically get downloaded when built with stack.