This is a simple editor with preview and export functionality around the Pikchr language written in Rust.
The program has a split main screen with some basic functionality.
A main editor presented at the left side of the screen. Showing line numbers.
A preview area where the rendered SVG is shown as soon as the button for rendering is clicked.
A button to render the graphic is at the bottom. And the result can be exported as a PNG.
Following libraries are used to enable the main functionalities.
Floem is an UI library written in Rust originating from the Lapce Editor. Although the library is under heavy development I decided to use it, because it offers seamless integratione accross different platforms and operations modes. So far one of the best libraries I found.
This is a simple wrapper around the official Pikchr library. Documented under https://docs.rs/pikchr/latest/pikchr/.