![]() |
Synthia
Generic and flexible data structure generator
|
Generates two-dimensional points lying at right angles along a randomly selected circle.
The points are generated by composing pickers as in the following diagram:
This variation shows the use of the Freeze picker: a random float value between 1 and 3 is picked for the radius, and this radius will then be used for all points produced by the HyperspherePicker. The angle is randomly selected among four values lying at intervals of π/2. As a result, different seeds will produce sets of points lying at a different distance from the origin, but the same distance for each picker instance.
Definition at line 42 of file Variation2.java.
Static Public Member Functions | |
| static void | main (String[] args) |
|
static |
Definition at line 46 of file Variation2.java.