plottertools / hatched

Convert images to plotter-friendly hatched patterns
MIT License
99 stars 9 forks source link

New idea for hatched #4

Closed joker999 closed 2 years ago

joker999 commented 3 years ago

I wonder if you can make x,y for circular, not always the middle of the art work. Also CMYK layer? Thanks :)

abey79 commented 3 years ago

I wonder if you can make x,y for circular, not always the middle of the art work.

I'm not sure what you mean exactly. Can you expand?

Also CMYK layer?

This can already be achieved if you separate your input file with another software (gimp, imagemagick, etc.).

Then:

vpype hatched --layer 1 [...] input_cyan.jpg hatched --layer 2 [...] input_magenta.jpg hatched --layer 3 [...] input_yellow.jpg hatched --layer 4 [...] input_black.jpg show
mariana-s-fernandes commented 2 years ago

I wonder if you can make x,y for circular, not always the middle of the art work.

I think what @joker999 meant was to have the center of the circle in an arbitrary position instead of the center of the image. Thanks for the tip on the cmyk!

mariana-s-fernandes commented 2 years ago

I have implemented the changes for the center of the circles locally. Seems quite straightforward. I will open a PR with this.

mariana-s-fernandes commented 2 years ago

Implemented in https://github.com/plottertools/hatched/pull/8