https://github.com/hellerve/anima.carp
A simple drawing and animation framework for Carp
https://github.com/hellerve/anima.carp
Last synced: about 2 months ago
JSON representation
A simple drawing and animation framework for Carp
- Host: GitHub
- URL: https://github.com/hellerve/anima.carp
- Owner: hellerve
- Created: 2017-12-19T19:49:54.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-04-29T19:08:34.000Z (almost 6 years ago)
- Last Synced: 2025-06-05T00:20:25.454Z (10 months ago)
- Homepage: https://veitheller.de/anima/
- Size: 1.22 MB
- Stars: 15
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://blog.veitheller.de/Introducing_anima.html) about it or
browse [the docs](https://veitheller.de/anima/).
```clojure
(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)
```