RubyCube is an extension library for Ruby that provides a simple and effecient graphics and animation system. The current release only supports Microsoft Windows and provides basic shapes, animation, input and timers. RubyCube aims to make programming graphics with Ruby easy, fast and fun.
Until ruby forge hosting is ready I am hosting the distribution and documentation locally.
Download RubyCube 0.1.1 src+bin (win32) Distribution
RubyDoc documenation for RubyCube 0.1.1
Please let me know if you have any issues getting this to run, have feature requests or comments.
RubyCube 0.1.1 Features
- 2d and 3d rendering modes (defaults to 2D).
- Effecient rendering and animation in a background thread using OpenGL.
- Windowing platform support via OpenGL makes porting simple.
- Shape objects can be created with simple methods such as square, rect and circle.
- Custom shapes can be created using 3D graphics primitives.
- Simple animation over time is avaible with methods such as move, moveto and movecircle.
- Alpha blending is availble, all objects can have custom colors for entire object or individual points.
- Currently only supported under windows but more platform support is under way.
- No support currently for sprites or textures.






