0

This website www.mathcha.io converts mathematical drawings to code. Is there one for tikz? I would like to draw this figure somewhere then have the tikz code for it with e.g. example-image-a.

enter image description here

Kong
  • 2,313
  • Converting a bitmap graphic to TikZ would require several steps: You'd need to trace the edges first to generate paths and get a vector graphic which you can then convert to TikZ format (e.g. using Inkscape). For simple images like the one you show, it might really be quicker (at least for someone who is somewhat familiar with TikZ) to draw this from scratch. It would probably also be more exact and require less code. – Jasper Habicht Apr 12 '23 at 17:26
  • Mathcha can export to tikz code, it'll compile ok but the code it generates isn't particularly good tikz source. – Dai Bowen Apr 12 '23 at 17:39

0 Answers0