Implements simpler 2d rendering.