Visualization tool for 2D problems (C++)

Revision en1, by kalinov, 2019-10-05 21:16:16

Hey everybody, I wrote an easy-to-use C++ library to visualize or debug problems in the 2D plane. It was written specifically for usage in and around competitive programming, so I though I'd promote here and maybe some of you find it useful.

To get started you download and #include a single file "geodeb.h", and then use simple functions to draw points, lines, circles, etc. When you run the program it generates an html file that displays what your code has drawn, and you can trace the program in an interactive UI through your web browser.

You can watch this demo video to see it in action, or look at the README over at the github page that includes some simple examples. If you're feeling really adventurous, you can take a look at some complex visualizations in the Museum of 2D art.

Let me know what you think, or if anything is broken on your platform or browser. Cheers!


  Rev. Lang. By When Δ Comment
en1 English kalinov 2019-10-05 21:16:16 1050 Initial revision (published)