Black and White only
hyaym20 opened this issue · 7 comments
hyaym20 commented
I have tried a BW image but the algorithm still using other colores (i.e. yellow, green, ...)
Is there a coming update to use only black thread?
i-make-robots commented
line ~100: lines.add(addLine(color(255,255,255),"white"));
you'll see lines for white, black, yellow, etc. remove all except black and run again.
hyaym20 commented
i-make-robots commented
Share the pic? Let me try with your source material, please.
…On Tue, Oct 13, 2020 at 10:34 AM hyaym20 ***@***.***> wrote:
I tried that before, but the issue is it only subtract the other colores
from the portrait, i.e. if the program will add 1000 lines of all colores,
if I use black it will add only 200 lines for black.
See the image, it stops at that point. it should draw 5000 lines. but only
600 were used.
[image: image]
<https://user-images.githubusercontent.com/45494464/95895457-5c033600-0d93-11eb-8c66-e938a05c480b.png>
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AALFRBWL6QP4KZAJ6EWDO6DSKSFSXANCNFSM4SHU7FSQ>
.
--
Dan Royer
Owner
------------------------------
1 (604) 259 9564 <16042599564> dan@marginallyclever.com
www.marginallyclever.com <https://www.facebook.com/MarginallyClever/>
<https://www.instagram.com/imakerobots/>
<https://www.youtube.com/channel/UCfbRxqjuOgE2EzRKxcePArw>
<https://twitter.com/MarginallyC> <https://github.com/MarginallyClever/>
hyaym20 commented
i-make-robots commented
[image: b.PNG]
On a white background it performs much better.
By default all colors are averaged in setup() to set the background color.
change dest.background(255,255,255); to get all white.
…On Wed, Oct 14, 2020 at 11:10 AM hyaym20 ***@***.***> wrote:
[image: marlin]
<https://user-images.githubusercontent.com/45494464/96028090-858a9300-0e61-11eb-8270-5db73783e052.jpg>
this is the pic that I used for the example above, but it's the same issue
for any image.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AALFRBXCLTEWUDL5PNXDUI3SKXSQLANCNFSM4SHU7FSQ>
.
--
Dan Royer
Owner
------------------------------
1 (604) 259 9564 <16042599564> dan@marginallyclever.com
www.marginallyclever.com <https://www.facebook.com/MarginallyClever/>
<https://www.instagram.com/imakerobots/>
<https://www.youtube.com/channel/UCfbRxqjuOgE2EzRKxcePArw>
<https://twitter.com/MarginallyC> <https://github.com/MarginallyClever/>
i-make-robots commented
Here again with white and black thread, 32 opacity instead of the usual 64.
[image: a.PNG]
…On Wed, Oct 14, 2020 at 12:07 PM Dan Royer ***@***.***> wrote:
[image: b.PNG]
On a white background it performs much better.
By default all colors are averaged in setup() to set the background
color. change dest.background(255,255,255); to get all white.
On Wed, Oct 14, 2020 at 11:10 AM hyaym20 ***@***.***> wrote:
> [image: marlin]
> <https://user-images.githubusercontent.com/45494464/96028090-858a9300-0e61-11eb-8270-5db73783e052.jpg>
> this is the pic that I used for the example above, but it's the same
> issue for any image.
>
> —
> You are receiving this because you modified the open/close state.
> Reply to this email directly, view it on GitHub
> <#8 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AALFRBXCLTEWUDL5PNXDUI3SKXSQLANCNFSM4SHU7FSQ>
> .
>
--
Dan Royer
Owner
------------------------------
1 (604) 259 9564 <16042599564> ***@***.***
www.marginallyclever.com <https://www.facebook.com/MarginallyClever/>
<https://www.instagram.com/imakerobots/>
<https://www.youtube.com/channel/UCfbRxqjuOgE2EzRKxcePArw>
<https://twitter.com/MarginallyC> <https://github.com/MarginallyClever/>
--
Dan Royer
Owner
------------------------------
1 (604) 259 9564 <16042599564> dan@marginallyclever.com
www.marginallyclever.com <https://www.facebook.com/MarginallyClever/>
<https://www.instagram.com/imakerobots/>
<https://www.youtube.com/channel/UCfbRxqjuOgE2EzRKxcePArw>
<https://twitter.com/MarginallyC> <https://github.com/MarginallyClever/>
hyaym20 commented
for some reason, your images are not shown to me, but you are saying U used B & W thread, what I want is only black with white background.