Define two points; call one the reference and one the interactor. On the reference define a vertical line: the result.
The length of the result is given by any two argument function that increases as its distance between the reference and its interactor shrinks, for
example 1/(Distance(interactor, reference)+0.1). The small amount of 0.1 that is added to the Distance function result prevents the line from becoming
infinitely long as the distance between the points approaches zero. The Mapping pattern gives several better, but more complex functions that can be used
here.
... more on Design Patterns CA
ReacLift Manipulations
ReacLift Manipulations
ReacLift Manipulations