compufox / trivial-gamekit-colors

trivial-gamekit module that exports 140+ W3C colors

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

trivial-gamekit-colors

ava fox

trivial-gamekit module with 140+ W3C colors defined and exported as gamekit:vec4

please see package.lisp to see all exported colors

Installing

$ git clone https://github.com/compufox/trivial-gamekit-colors ~/common-lisp/
$ ros run # (or run whichever lisp you use)
* ;; install the quicklisp distro that houses trivial-gamekit
* (ql-dist:install-dist "http://bodge.borodust.org/dist/org.borodust.bodge.txt")
* ;; ready to go!

Usage

add :gamekit.colors to your package definition

(defpackage :example-game
  (:use :cl :gamekit :gamekit.colors))

API

(hex-to-vec4 hex)

convert a HEX value into a vec4 color


License

MIT

About

trivial-gamekit module that exports 140+ W3C colors


Languages

Language:Common Lisp 100.0%