How to use multiples sliders to experiment within a weighted average?

Hi folks!

My project needs some agile experimental frontend to find some factors for an equation, such

# example equation
weight_1 x value_1 + weight_2 x value_2 + weight_3 x value_3 => total

What I need is that each value_X lay between 0.0 and 1.0, but they are related with others.

The constraint is: weight_1 + weight_2 + weight_3 = 1

So, Is there any alternative to use N sliders (1 per weight) as well they sum up 1 ?

the “equation” is a weighted average :grin:

I couldn’t realize how relate all weights.

Thanks!