A colour and display library for Futhark
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib/github.com/athas/matte
.travis.yml
README.md
futhark.pkg

README.md

Colour library for Futhark Build Status

Colour manipulation functions adapted from the Gloss library by Ben Lippmeier.

Installation

$ futhark-pkg add github.com/athas/matte
$ futhark-pkg sync

Usage example

$ futharki
> import "lib/github.com/athas/matte/colour"
> argb.mix 0.5 argb.white 0.5 argb.black
-4934476i32