Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Anima: a functional, JIT-compiled DSL for Animation in Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
ext
lib
LICENSE
README.rdoc

README.rdoc

Anima

Author

Jeremy Voorhis

Copyright

© 2010 Jeremy Voorhis

License

GPL3 (see LICENSE)

animate! do |p|
  RGBA[1 - p.x, p.y, p.x, 0]
end

Anima is a Ruby domain specific language for animation. Images are defined as a function from a point in continuous space to a color, that is a floating point quadruple representing channels red, green, blue and alpha. Images can be viewed with the animate method, which opens a window for viewing.

Currently, there is only support for static images that are defined using floating point arithmetic. Future versions will support interactivity and possibly define semantics for working with time.

Anima is a functional, JIT compiled DSL, inspired by Elliott et. al. <conal.net/papers/jfp-saig/>. Its design is comparable to Pan's <conal.net/papers/bridges2001/>, but Anima JIT compiles its image processers instead of “going via C”.

Requirements

Something went wrong with that request. Please try again.