a simple renderer for fun