vkottler / svgen

A tool for working with scalable vector graphics.
MIT License
7 stars 0 forks source link

Transition to using Javascript / working from a GUI #8

Open vkottler opened 2 years ago

vkottler commented 2 years ago

See also: https://github.com/vkottler/workspace/issues/5

It's nice to have a Python data model for SVG entities, and lots of the mathematical conversions implemented for various things. It would help a lot to have a GUI to work from within this package, and we should figure out how we want to go about that

vkottler commented 2 years ago

We should follow through on what this package is/was supposed to be for: generating SVG

We can make the script interface better by allowing scripts to be specified in the optional config, also allow specifying multiple scripts in order on command-line

Allow height and width to be set on command-line for default values, change the dictionary to be a custom UserDict that consumes keys when the value is referenced (check if something like this already exists?)

vkottler commented 2 years ago

With the external script interface we have now, we could probably replace the SVG generator infrastructure

for color themes and actual configuration data, we can use datazen to compile that into a single config that can be loaded by the tool, we can use make (or datazen) to use dependency-resolution rules to re-generate

vkottler commented 8 months ago

We just added svgen as a dependency to runtimepy here: https://github.com/vkottler/runtimepy/pull/165.

This is the perfect opportunity to further integrate svgen with actual Python web services!