<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;">Hello,<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>I have been thinking lately about the future of the dynamic brush, and how to improve its UI, and I have come to the logical conclusion that it needs to disappear. But some parts of it would need to survive:<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>* kis_dynamic_sensor : this is a class that allow to choose which input events change a value (between "pressure, tilt, time, random, speed....")<br>
* kis_dynamic_coloring : this is a class that allow to manipulate the color painted by the painting op (current choice: plain color, gradient (the color change depending on a sensor following a gradient), uniform random color (the color is changed at each stroke), random color (each pixel is random) ), it also allow have four options: mix (which color of the gradient is selected), hue, saturation and value<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>As a first step, I would move those class (and their kids) to libpaintop. Then at the top of kis_curve_option.h, I would add the selector of kis_dynamic_sensor, then in each kis_pressure_*_option I would make use of the sensor.<br>
The second step would be to include the coloring options to the brush op and pen op.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>What do you think ?<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>-- <br>
Cyrille Berger</p></body></html>