Draw Paley graphs in Python, PostScript, and JavaScript