A simple drawing and animation framework for Carp
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
examples
.gitignore
README.md
anima.carp
gendocs.zp

README.md

anima

A simple drawing and animation framework for Carp. It is designed to be simple to use, expressive, and empowering. It is also very minimal at the moment. Read my blog post about it or browse the docs.

(load "anima.carp")
(use Anima)

(defn setup [rend]
  (framerate 0)) ; shortcut for a static sketch

(defn draw [rend]
  (do
    (color rend 255)
    (line rend 0 0 800 800)))

(defsketch "One line to rule them all" 800 800
  setup
  draw)