Trim paths controlling stroke size.
I'm making a trim paths to show a line and on the tip I have 2 circles that I also making with trim paths that are linked to the main line.
So the position and shapes are already as I want.

Now, is there a way to make the size of those balls start at Zero on the beggining and in the end and increase to the defined stroke size in the middle?
If I'd make a graph with its size it would be something like this:

Where the red area would be the stroke increasing/decreasing and the grey it would be the number defined on the stroke value.
It will aways start at 0 but, sometimes the trim path will stop at 40 or 60. Is there a way to account for its final value?
Is there a way to have this kind of result using expressions? I'd like to automate this part bc there's a lot of lines to do this.
