Hieroglyph renderer written in PHP