Minimum ellipse

How to use Generator Demo

Main Functionality

- Reset application
- Creating a new window
- Print
- Close the current window
- Quit the application

Generating points

- In disc
- In square
- On circle
- On square
- On square grid

Reset application

Press Ctrl+N combination keys or go to File menu and choose "New". The points list will be erased, the window's visible area will be set to default. (-1, 1, -1, 1)

Create a new window

Press Ctrl+W combination keys or go to File menu and choose "New Window". A new window will appear, modifying the visible area to make the points list fit in the new window.

Print

Press Ctrl+P combination keys or go to File menu and choose "Print". The visible area on the screen will be outputed to the print device of your choice.

Close the current window

Press Ctrl+X combination keys or go to File menu and choose "Close". You may do it for any window other than the initial one, this operation will close only the one you have choosen. If you do this for the initial parent window, it will close the others too.

Quit the application

Press Ctrl+Q combination keys or go to File menu and choose "Quit". When you quit the application, all the windows you have created will be destroyed.

Generate points in disc

To generate points, go to Generate menu and choose "Points in disc" or press Ctrl+D combination keys. This action will generate random points uniformly distributed in the open disc with radius 1. Each time you do this action, new points will be added to the list, the old set of points being updated and not erased.

Generate points in square

To generate points, go to Generate menu and choose "Points in square" or press Ctrl+S combination keys. This action will generate random points uniformly distributed in the half-open square with side length 2, centered at the origin. Each time you do this action, new points will be added to the list, the old set of points being updated and not erased.

Generate points on circle

To generate points, go to Generate menu and choose "Points on circle" or press Ctrl+C combination keys. This action will generate random points uniformly distributed on the circle with radius 1, centered at the origin. Each time you do this action, new points will be added to the list, the old set of points being updated and not erased.

Generate points on square

To generate points, go to Generate menu and choose "Points on square" or press Ctrl+E combination keys. This action will generate random points uniformly distributed on the boundary of the square with side length 2, centered at the origin. Each time you do this action, new points will be added to the list, the old set of points being updated and not erased.

Generate points on square grid

To generate points, go to Generate menu and choose "Points on square grid" or press Ctrl+G combination keys. This action will generate random points uniformly distributed on the grid whose size is determined by the number of points to be generated (here is 100), centered at the origin. Each time you do this action, new points will be added to the list, the old set of points being updated and not erased.

Last modified: Fri May 16 11:37:45 MEST 2003