I'd use a vertex shader.