~/talk

Ruby + OpenGL = infinite abilities

Talkat NoRuKo 2020 · on Friday, 2020-08-21· [creative-coding, ruby]
slides:none on file

Uses the ruby-opengl gem and the jlfwe library to open a window, handle keyboard input and send vertex arrays to the GPU, builds a rotating scene rendered from triangles, and implements a pyramid primitive from four vertices. Controls map to rotation, translation and a spawn key that adds objects; the demo runs smoothly with about 3,000 pyramids but slows toward 10,000. Code is a single Ruby loop manipulating matrices, colors and per-vertex transforms and it works as shown.

AI-written summary · about

  1. 0:00Intro
  2. 1:20Background
  3. 2:15Code
  4. 3:55OpenGL API
  5. 5:33Graphic programming
  6. 13:10Pyramid programming
  7. 14:42Drawing pyramid
  8. 17:45Rotating scene
  9. 23:05Adding more objects
  10. 25:55Adding 3000 objects
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.