Skip to content

jvoorhis/Anima

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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”.

About

Anima: a functional, JIT-compiled DSL for Animation in Ruby

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors