~/talk

Joy of painting with Ruby and OpenGL

Talkat RubyConfBY 2020 Online · 2020-07-18..07-19· [ruby, creative-coding]
slides:none on file

Uses Ruby with the opengl-bindings gem and GLFW to open a resizable window, register callbacks, and render GPU-driven geometry. Code builds low-level primitives (points, lines, triangles), a box class from 8 vertices, and an animated umbrella approximated by triangles; animation toggles angle between min/max and shows 8, 16, 116 segments to demonstrate smoothing via triangulation. Demo runs (escape closes window); Ruby adds CPU/memory overhead versus C but rendering runs on the GPU.

AI-written summary · about

  1. 0:00Intro
  2. 4:00Drawing Linear Geometry
  3. 7:18Rotating
  4. 8:57Applying colors
  5. 12:06Drawing sun umbrella
  6. 13:33Drawing box
  7. 16:01Adding rotation
  8. 16:47Triangles
  9. 19:45Control
  10. 20:42Angle
  11. 24:48Production examples
  12. 27:13Opengl to Ruby
  13. 28:18Opengl vs Ruby
  14. 29:40Game engines in Ruby
  15. 31:10Can you use OpenGL to make something difficult
  16. 33:13OpenGL Vulkan API
  17. 34:01Interactive drawings
  18. 34:38Dragon Ruby
  19. 35:33Outro
~/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.