r/IPython • • Jun 25 '13

The Magic Triangle

http://nbviewer.ipython.org/url/jakevdp.github.io/downloads/notebooks/MagicTriangle.ipynb
9 Upvotes

1 comment sorted by

0

u/[deleted] Jun 26 '13

If you look at the code, he has patches[0].set_xy(P1 + (8 - 8 * f, 3 - 3 * f + 0.5 * np.sin(f * np.pi))). The outside of his triangle is a little bulged in the start and not the end.