Lets you write WebGL2 rendering code entirely in Ruby, running under ruby.wasm in the browser. Resolves uniform/attribute locations from a glslkit reflection manifest instead of calling getActiveUniform, and surfaces shader compile errors as Ruby exceptions pointing at the original file and line. REQUIRES a ruby.wasm runtime (the `js` gem) to run — it installs under a normal CRuby/JRuby/TruffleRuby, but raises a clear LoadError instead of working there. This gem is meant to be bundled into a ruby.wasm build (see README), not required from a regular Ruby process.

Required Ruby Version

>= 3.1

Authors

kyubey1228

Versions

  1. 0.1.0
    1. source

      1. 0.1.0 source August 24, 2026 (32.5 KB)
  2. 0.1.0.pre
    1. source

      1. 0.1.0.pre source August 24, 2026 (30.5 KB)

Pushed by

SHA 256 checksum