Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

R2D: A Ruby 2D Graphics Interface

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.

Contributing to R2D

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.

Installing

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

A Simple R2D Application

require 'r2d'

window width: 640, height: 480

r = Rectangle.new(0, 0, 100, 100, "blue")
r.add

window :show

About

A Ruby 2D graphics interface.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors