R2D is a graphics interface for drawing 2D graphics, animations, playing audio, capturing input, and more.
The API spec is currently being rewritten and reimplemented. Things will not work in the meantime.
This library is in very early development, which means the design direction, implementation, and final API spec is still in flux. Please contact me or open an issue before sending a pull request.
Until a v0.1.0 release, this gem will only be available locally. To build and install the gem, use:
$ gem build r2d.gemspec
$ gem install r2d-0.0.0.gem
require 'r2d'
window width: 640, height: 480
r = Rectangle.new(0, 0, 100, 100, "blue")
r.add
window :show