kalinov's blog

By kalinov, history, 6 months ago, In English,

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!

Read more »

 
 
 
 
  • Vote: I like it
  • +271
  • Vote: I do not like it