-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
culling question. #97
Comments
I think a better alternative to culling is to use PEmbroiderBooleanGraphics. Culling is done after the whole design is baked into polylines, so it has to make guesses and compromises. It always look nicer if the correct shape is prepared in the first place (with PEmbroiderBooleanGraphics) See: |
Thanks for the advice.
|
HI @stephanschulz , Basically PEmbroiderBooleanGraphics is just a wrapper on PGraphics that's more specialized on binary images. It works exactly like regular PGraphics, and the syntax is also exactly the same, so to draw a PShape on it:
The idea is to just construct a binary image where white part should be stitched and black part is void. Then feed it to PEmbroider's image() function. |
I am doing some Anton Stankowski inspired coding with shapes inside shapes.
When using culling the distribution of the stitches is not as even as it is when not using culling. I guess that due to having different start and stop points for the polylines.
Do you have any tips to counter act that effect and get a nice clean distributed look?
Here two image with and without culling.
thx
The text was updated successfully, but these errors were encountered: