rough-stuff / rough

Create graphics with a hand-drawn, sketchy, appearance
http://roughjs.com
MIT License
19.88k stars 615 forks source link

Feature Request #202

Open 9kartik opened 2 years ago

9kartik commented 2 years ago

Cross hatch style sketchy linear gradient.

image

This is the sketch style shading, currently we can look at linear gradients only which will just utilise hatching at different angles to mimic shading.

One other variation would be stippling.

image

Let me know if this would be a good feature to have, I'll be happy to contribute.

pshihn commented 2 years ago

Nice idea for sure. especially if it's done gradually rather than in blocks. I am a bit hesitant to add another shader right now because I am envisioning that next major release will make shaders pluggable. So instead of having lots of shaders built in, people can use a specific shader as a separate module that plugs in.

9kartik commented 2 years ago

Yeah, of course, the final implementation wouldn't be in blocks but based on length and angle user has selected.

Just want to know if the pluggable shaders are they going to be external libraries?

perseveringman commented 5 months ago

Is there any progress on support for gradient fills?