Ruby2D is a simple and elegant 2D graphics library for the Ruby programming language, designed to make it easy to build games, simulations, and interactive applications. Built atop SDL2 and OpenGL, Ruby2D abstracts away the complexity of low-level graphics programming while exposing enough control for performance and flexibility. It supports images, text, sounds, and basic geometric shapes, making it ideal for learning graphics or quickly prototyping ideas with Ruby. The library is cross-platform and lightweight, staying true to Ruby’s principle of developer happiness.
Features
- Simple Ruby API for drawing 2D shapes and images
- Supports OpenGL and SDL2 for fast, hardware-accelerated rendering
- Audio playback for WAV, MP3, and OGG formats
- Built-in support for displaying text using TTF fonts
- Window management and input handling for mouse and keyboard
- Cross-platform support for Windows, macOS, Linux, and Raspberry Pi
- Animation and update loops for real-time apps and games
- Image and sprite rendering with transparency
- Optional integration with Ruby gems like Gosu and FFI
Categories
Build ToolsLicense
MIT LicenseFollow Ruby 2D
Other Useful Business Software
Paessler: Easy to Use With Enterprise Power. Free Trial
You shouldn't have to choose between a monitoring tool that's easy to use and one that's powerful enough for a complex environment. PRTG's low-code interface lets any admin build dashboards, set alerts and monitor devices without scripting, while custom sensors and full API access are there when your team needs deeper control. One platform, no compromise. Download a free 30-day trial now.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Ruby 2D!