Page 1 of 1

Smoothness controller?

PostPosted: 22 Sep 2016, 20:40
by simeon
I need to make pen that thickens inward on turns.
Like this:
Image


Its like several simple pens with different smoothness value in one....

I guess its done by attaching Smoothness value to Sinus...But i cant find controller that affects smoothness.


Any other way?

Re: Smoothness controller?

PostPosted: 23 Sep 2016, 07:59
by u2bleank
You're right you can't plug a controller to the smoothness :??:
So we have to add it ! :relief:

Anyway perhaps you can trick this effect by changing the Size with a Controller according to the Speed
OR according to the current stroke Direction : You can make a dot product between a Smoothed 2D direction vector and the current 2D direction, then it will given you a Bend value which can control the size like in your example.
If it's too complicated for you I will try to make a little sample.