IBM TJ Watson Research

IBMShapesWithLinesScaling

IBMShapesWithLinesScaling.mp4

Description

A Circle, an IndexedLineSet2D (colorPerVertex TRUE) and a Rectangle are drawn with different LineProperties and are scaled by routing a PositionInterpolator2D to the scale field of a Transform2D that has the three Shapes as children. Scale is varied from 1.0 1.0 up to a max of 2.0 2.0 (so that the circle meets the edges of the preferred screen dimension) and to other values inbetween (minimum value being 0.05)

Note: the line thickness is not scaled.

Screenshot

Snapshot taken before scaling commenced.



Snapshot taken whilst shapes were dynamically scaling.



Back to main index