A Rubyist's Guide to the Canvas API by H. Dean Hudson

325 views · Published 7 August 2012 · 32:59 · Indexed 22 September 2026

Channel: Confreaks · 2012 · Science & Technology

Watch on YouTube

Have you ever wanted to get into 2D graphics programming without leaving the comfort of the open web? The 2D context in Canvas is supported in all modern desktop and mobile browsers, providing a rich set of primitives for data visualization, games, animations, and more.

This talk aims to get you up to speed on some of the basics for building Canvas-based games and apps that can integrate with a simple Ruby backend. We'll walk through render loops, double buffering, sprite sheets, caching (and other performance tips), pixel filters, and mouse interactivity. My goal is to give practicing rubyists the tools they need to build 2D graphic applications (ahem, GAMES!) in the browser.

Help us caption & translate this video!

http://amara.org/v/FGim/

More from this channel