IBM TJ Watson Research

IBMLayer2DScaling

IBMLayer2DScaling.mp4

Description

A Layer2D, of size 200x200 (one half of preferred screen dimensions), contains two Rectangles, two Circles and an IndexedFaceSet2D. The circles are positioned such that they appear to be clipped in half by the Layer2D. The Layer2D is under a Transform2D that is scaled by routing a PositionInterpolator2D to its scale field. Scale is varied from 1.0 1.0 up to a max of 2.0 2.0 (so that the Layer2D boundary meets the edges of the preferred screen dimension) and to other values inbetween (minimum value being 0.05)

Screenshot

Snapshot taken before Layer2D started dynamically scaling.

Snapshot taken whilst Layer2D was dynamically scaling.



Back to main index