How to write portable WebGL

Feb. 22, 2013
comments

When programming WebGL you need to be careful to make it portable. The following post will explain how to make WebGL portable across many devices, what to look out for and techniques to work around the limitations you face.

NO to DRM in HTML and broken audio/video

Feb. 16, 2013
comments

The W3C is taking input from Netflix, Microsoft, Google, Apple and BBC to add DRM to HTML. This is a really bad idea on so many levels it's hard to pick any one aspect to start.

Soft Shadow Mapping

Feb. 15, 2013
comments

Shadow mapping is one of those things that a lot of people struggle with. It is also a very old shadowing technique that has been improved in a variety of ways. I'd like to make a brief trip trough the history of shadow mapping hopefully shedding some light on the topic and introduce you to some very nice techniques.

High Performance JS heatmaps

Feb. 04, 2013
comments

You might have encountered heatmaps for data visualization before. There is a fabulous library, heatmap.js, which brings that capability to draw them to javascript. There is only one problem, it is not exactly fast. Sometimes that doesn't matter. But if you have hundreds of thousands of data points to plot, or need realtime performance, it gets tricky. To solve that I've written a little engine using WebGL for drawing heatmaps.

Why you should use WebGL

Feb. 02, 2013
comments

There is (among graphics enthusiasts) a lot of debate what API/version of something to use with a bunch of hotly contested alternatives. I would like to convince you to give WebGL a try, and this blog post explains why. It will also quickly summarize a few things people usually ask about WebGL. There are many gotchas (like with anything) as well, and I am aware of a lot more of them than you can imagine. I will perhaps talk about them in another blog post.