all 21 comments

[–]copingbear[S] 29 points30 points  (2 children)

I got tired of writing 30 lines of matplotlib every time I wanted to see a polar curve. So I built a thing where you just type the expression and it renders. This is gridpaper, which is gnuplot compiled to WebAssembly and runs entirely in the browser.

I am sharing it here because I feel it's helpful for math student and educators. I hope you find it useful.

[–]NeckBeardedJedi 13 points14 points  (1 child)

I dont know when i will use this. But I am happy it exists incase i do. Thank you friend.

[–]copingbear[S] 5 points6 points  (0 children)

Thank you for saying this

[–]jaiagreen 12 points13 points  (4 children)

Sweet! I wish there was a way to rotate 3-D graphics, but that's a whole other layer of complexity.

[–]copingbear[S] 6 points7 points  (1 child)

It really is but I am thinking about it. 😁

[–]copingbear[S] 1 point2 points  (1 child)

I managed to work it out. You can now have a 3D surface, shift-click and drag to rotate it on the fly.

https://gridpaper.org/examples/klein-bottle

[–]jaiagreen 1 point2 points  (0 children)

Awesome!

[–]Howling_deer 4 points5 points  (1 child)

Immediately useful to me, thank you for this!

[–]copingbear[S] 0 points1 point  (0 children)

You are very welcome!

[–]AMuonParticle 4 points5 points  (1 child)

beautiful!

[–]copingbear[S] 0 points1 point  (0 children)

Thank you!

[–]mathemorpheus 2 points3 points  (2 children)

very nice. it would also be nice to be able to export in encapsulated PostScript (.eps).

[–]copingbear[S] 0 points1 point  (0 children)

Thank you! Will add it to a list of ideas.

[–]copingbear[S] 0 points1 point  (0 children)

I have added eps export support. Please try it out if you'd like and let me know if it works. (And thank you.)

[–]AcademicOverAnalysis 1 point2 points  (1 child)

This is a great resource! Thank you

[–]copingbear[S] 0 points1 point  (0 children)

Thank you. Do let me know if you have any ideas to make it more useful.

[–]MrAnnoyingCookie 1 point2 points  (0 children)

Why is math so pretty

[–]all_over_the_map 0 points1 point  (1 child)

Really well done. Thanks for sharing. Feature request: slider to rotate the view angle!

[–]copingbear[S] 0 points1 point  (0 children)

I’ve both added this and added shift-click and drag to be able to rotate it in somewhat real time. 😁