[javascript]
i have 2 variables named, density & pixelSize
i want to link these 2 variables such that, when one changes, other changes.
catch is, i need to manually link the values.
for example -
density | pixelSize
1 1
2 .8
3 .5
and so on.
there is no order/logic behind the conversion.
how do I solve this?