library tester for painting methods
These are the first and second parts of a library to create the image generators for the
Commentary project. The first part are the basic function to create lines, straight and circular ones.
The second part are the painting methods.
In the third script section of the page this is tested.
Note: the thrird part of the library is not included in the code above.
It will be compiled from the files mentioned below.
- pastel like, the animation variations are
- straight line
- curve, circle
- brushstrokes, the animation directions are
- linear rotated,
- circular,
- vertical/horizontal (most simple)
comments_2.html contains vertical/horizontal method
- dripdrop
dripdrop_scribble7struct.html contains this painting method - scratch layers **
- ...
- sketch "pencil" **
All painting methods can be animated. They are not "static" functions, like the prior used oilpaint filter (or pencil sketch filter).
Simple point based ones and the more complex and special one namely the brushstroke method.
The first group draws a sinple particle, dripdrop, or line, which are animated on the point aka in one frame. Whereas the brushstroke is an object with in itself, that needs to be animated along the stroke line in multiple frames. The simplification here is to animate along the main orientation of the figure in many frames, so the mask has not to be rotated.
Brushstrokes need to be collected in groups to fill shapes like rectangles. The other paint methods fill those shapes with particles instead.
The third part of the library, the figures to paint, are structures in
- dripdrop_scribble7struct.html, (blocks)
- formal-in-formal, (blocks)
- gallery.html, (linear pattern variations)
- bezierLeaf_g2.html (bezierLeaf variations), (circular, round, layers)
- hesse-variations, (circular, round)bezier-leaf and hesse-variants can be viewed here
- nay-variations (circular, round, waves)
** not needed/implemented | *** optional