IBM TJ Watson Research

IBMCurve2DScaling

IBMCurve2DScaling.mp4

Description

Curve2D that is scaled by routing a PositionInterpolator2D to the scale field of a Transform2D that has the Curve2D as a child. Scale is varied from 1.0 1.0 up to a max of 2.0 2.0 (so that the shape meets the edges of the preferred screen dimension) and to other values inbetween (minimum value being 0.05)

Filled=TRUE to make filled curve. The first and last control points are at the bottom center and hence that point never moves.

Screenshot

Snapshot taken whilst Curve2D was dynamically scaling.



Back to main index