{"id":80505,"library":"ruby-opengl","title":"Ruby OpenGL","description":"OpenGL Interface for Ruby, providing bindings to the OpenGL graphics library.","status":"active","version":"0.61.0","language":"ruby","source_language":null,"source_url":"https://github.com/larskanis/ruby-opengl","tags":["opengl","graphics","3d","gamedev"],"install":[{"cmd":"gem install ruby-opengl","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'ruby-opengl', '~> 0.61.0'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"OpenGL","correct":"require 'opengl'"}],"quickstart":{"code":"require 'opengl'\n\ninclude Gl\n\nGl.glClear(GL_COLOR_BUFFER_BIT)\nGl.glBegin(GL_TRIANGLES)\nGl.glVertex3f(0.0, 1.0, 0.0)\nGl.glVertex3f(-1.0, -1.0, 0.0)\nGl.glVertex3f(1.0, -1.0, 0.0)\nGl.glEnd()","lang":"ruby","description":"Render a simple triangle using OpenGL."},"warnings":[{"fix":"Install OpenGL libraries (e.g., libgl1-mesa-dev on Linux) or use a virtual framebuffer like Xvfb.","message":"Requires OpenGL drivers and may not work in headless environments.","severity":"gotcha","affected_versions":">= 0.61.0"}],"env_vars":null,"search_vec":"'3d':16 'bind':8 'gamedev':17 'graphic':12,15 'interfac':4 'librari':13 'opengl':2,3,11,14 'provid':7 'rubi':1,6","created_at":"2026-06-18T05:25:38.771414+00:00","updated_at":"2026-06-18T05:25:38.771414+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"http://ruby-opengl.rubyforge.org","github":"https://github.com/larskanis/ruby-opengl","docs":"http://www.rubydoc.info/gems/ruby-opengl/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-18","next_check":"2026-12-15","install_tag":null}}