Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The original range is from 0 to the width of the window. The target range is from 1-4. Now radius is transformed from original range to the target range.

Exercise 8

Create a new programme program where a simple car follows the mouse on the screen. The car should be drawn from the side, and include wheels that rotate. You may use the example code to get started.

...