Open vmadman opened 9 years ago
That's a good question. I don't remember what I need or what the roadmap should be. I wrote it for this
http://webglsamples.org/toon-shading/toon-shading.html
The inspiration is of course the Photoshop one
Off the top of my head:
I'd like the color editor to seem more integrated.
Photoshop works by having the color editor in a different window. I'm not sure which is better.
Option to separate alpha?
Photoshop has the alpha gradient separate from color gradient. I'm not sure how to implement that in terms of the data you get back though. The easiest way would be to generate a stop at the union of both gradients. If that makes sense. In other words if you have
V V V : color stops
-----------------------------------
^ ^ : alpha stops
Then you'd get back a gradient with 5 stops.
Should it support the biasing (not sure what photoshop calls that).
In Photoshop there's a tiny diamond between each stop which you can use to kind of set a midpoint and make the gradient concentrate on one side or the other. Unfortunately I know of no way to actually support that feature except to generate lots of stops.
In the README, you say that you suck at CSS and don't know jQuery, but despite all of that your editor seems pretty nice. Once I read "PLEASE CONTRIBUTE" I started trying to figure out what you needed, but could not.
I may or may not have time to contribute, but if you could provide a roadmap, or create a bunch of issues with some cleverly devised labels, I think the odds of getting help will increase.
Also, good work.