Closed oskay closed 11 years ago
Possible approach:
Add a new tool:
[tools.water0Dip]
x = 0
y = 0
wiggleAxis = y
wiggleTravel = 5
wiggleIterations = 2
I like it! Though I think my "wiggle" attachment tools is a bit weird. Ah well, I'll do some experimentation and see if I can achieve the desired effect.
Working pretty well so far, over here!
Demo in video, showing quick dip in the water for re-inking. http://www.kickstarter.com/projects/1894919479/super-awesome-sylvias-watercolorbot-0/posts/543539
Also changed for each color: wiggleTravel = 250 wiggleIterations = 4
Curious, how exactly did you manage the quick dip without code changes? I haven't looked, but I'd imagine that would require some tweaking.
Well, minor code changes. :)
In cncserver.client.wcb.js, I changed the function getMorePaint at line 68:
cncserver.api.tools.change('water0Dip', function(d){
Then in watercolorbot.ini, added
[tools.water0Dip]
x = 0
y = 0
wiggleAxis = y
wiggleTravel = 5
wiggleIterations = 2
Ha! look at you, JavaScript hacker! Very good work. I should have you use this experience and submit your change as a pull request! But... It might just be easier for me to make the change ;)
Please do add these changes. I'm going to file a separate issue to request the addition of a few more "tools".
For expediency when brush is already inked with the correct color, but running dry:
Do not swish in the water, just dip, twice, quickly. Do a single swirl around the paint dish.