Reactor    Example Index: |  1  |  2  |  3  |  4  |  5  |

02: ReacCirclesRadius

ReacCirclesRadius Definition    download .ghx

Perhaps the simplest definition of a circle requires just its centre and radius. The centre (a point) is the reference and the radius is the result. The free point is the interactor. Making the radius a function of the distance between the centre and the controlling point completes this instance of the Reactor pattern. In this case, the function is a direct relationship--its value shrinks as distance shrinks. As the interactor moves closer to the circle, the circle gets smaller.

Replicating the reference causes all of the circles to react to the movement of the interactor. Hiding the reference, creates an illusion of direct control from interactor to result.      ... more on Design Patterns CA


ReacCirclesRadius Manipulations


ReacCirclesRadius Manipulations


ReacCirclesRadius Manipulations