Created by: portnov
This node "paints" a wave pattern on either faces or vertices of the given mesh.
The pattern is drawn by the following algorithm (see https://en.wikipedia.org/wiki/Lee_algorithm):
- First, the selected faces (or vertices) are marked with the number of 1.
- Then the faces (vertices), that are neighbour to faces marked with 1, which were not marked yet, are marked with the number 2.
- Faces (vertices), that are neighbour to faces marked with 2, whcih were not marked yet, are marked with the number 3.
- This continues until all faces / vertices of the mesh are painted.
Preflight checklist
Put an x letter in each brackets when you're done this item:
-
Code changes complete. -
Code documentation complete. -
Documentation for users complete (or not required, if user never sees these changes). -
Manual testing done. -
Unit-tests implemented. -
Ready for merge.