A grid based lighting engine for ActionScript 3.