Exercises for Two Dimensional Geometric Transformations
Author: Kasun Ranga Wijeweera
Email: krw19870829@gmail.com
Date: 20150521
1) Following figure shows a snapshot of your program. Each of the squares should rotate
around their centroids in clockwise order. And the system should stay as a single unit. Design
and implement an appropriate program.
2) A star is created using two similar triangles. The triangles in the star shown in following
figure should rotate in opposite directions around the centroid of the star. And meanwhile the
star should rotate around an outer point.
3) Random values in the range from 0 to 100 are generated with fixed amount of delay between
them. Generate a wave by considering time for the x-axis and random values for the y-axis.
(E.g. ECG wave)

Exercises for Two Dimensional Geometric Transformations

  • 1.
    Exercises for TwoDimensional Geometric Transformations Author: Kasun Ranga Wijeweera Email: krw19870829@gmail.com Date: 20150521 1) Following figure shows a snapshot of your program. Each of the squares should rotate around their centroids in clockwise order. And the system should stay as a single unit. Design and implement an appropriate program. 2) A star is created using two similar triangles. The triangles in the star shown in following figure should rotate in opposite directions around the centroid of the star. And meanwhile the star should rotate around an outer point.
  • 2.
    3) Random valuesin the range from 0 to 100 are generated with fixed amount of delay between them. Generate a wave by considering time for the x-axis and random values for the y-axis. (E.g. ECG wave)