1

I'm used to the artist-mode and though it work decently, i was wondering if it was already possible (with builtin or external library) to draw SVG, either with the mouse, or any other method beside using elisp code to construct it.

I'm aware of a couple project that generate SVG on github, but most if not all construct it with elisp, which isn't really what i want.(while i want to draw it in emacs using either the mouse or keyboard like artist-mode does).

NickD
  • 27,023
  • 3
  • 23
  • 42
Nordine Lotfi
  • 345
  • 2
  • 13

1 Answers1

3

There is an interactive SVG generation demo on GitHub: https://github.com/sabof/svg-thing

Honestly though, I recommend you to use a dedicated vector graphics program for the task. Inkscape hit version 1.0 recently.

wasamasa
  • 21,803
  • 1
  • 65
  • 97
  • yeah, i did try inkscape, but i wanted to be able to do it directly in emacs...mostly because i planned to write text directly in the drawn svg, instead of switching application etc. – Nordine Lotfi May 13 '20 at 16:33
  • funnily enough, i did found [this](https://github.com/jave/inkmacs) but i couldn't make it work. (complain about some of the dbus library being not found) – Nordine Lotfi May 13 '20 at 16:41