I've done a talk at Gamelier last Monday about how to think the rendering in a more functional way.
Abstract
Most of today 2D graphics libraries restrict us to a set of primitive procedures (drawRect
, drawCircle
, drawImage
,...) but when it comes to bring more interesting features you tends to be stuck with it. Let's see how we can just do things with a function of (Vec2 => Color)
.
This is the way (WebGL) GLSL has already took and the presentation examples will be built on it. Let's see what are the multiple benefits of taking that paradigm of rendering.