I gave another try to compiling on Win10, and huzzah it worked right away! So now I made my first PR and hope I got this right.
What it does: Adds brush input for 360 degrees.
Why do we need it? The default “Direction” input goes from 0 to 180. If you, eg map this to value you will have 2 “breaks” when drawing a circle. 360 Direction will have 1 “break”: And when using a “peaked” curve that starts and ends at 0, with 360 in the middle AHJUSTLOOKATTHEIMAGEITSHARDTOEXPLAIN:
Doing this with the default direction leads to this, cant have it just on the bottom…:
What to be aware of: The result is different for clockwise vs counter clockwise. So don’t be surprised if your awesome custom brush suddenly misbehaves.
What needs to be changed? I already changed the display name to be a bit clearer and to show the difference to the normal “Direction”. I don’t know if there are any bugs, feel free to fix.
I tested it with the newest state of mypaint from github.
Also, this is compatible with brushes from the tumagonx build.
next up: X&Y&Angular Offsets.