Render engine in erlang