Synthia
Generic and flexible data structure generator
examples.hypersphere.Variation1 Class Reference

Detailed Description

Generates two-dimensional points lying along two concentric circles.

The points are generated by composing pickers as in the following diagram:

Diagram

For each point, a radius of either 1 or 2 is selected. A random floating point x between 0 and 1 is also selected, to which the affine transform 2πx+0 is then applied. The end result is that each point lies at any angle between 0 and 2π on the circle of radius 1 or 2. The two plots at the bottom represent the possible values one could obtain by starting from a different random seed.

Definition at line 42 of file Variation1.java.

Static Public Member Functions

static void main (String[] args)
 

Member Function Documentation

◆ main()

static void examples.hypersphere.Variation1.main ( String[]  args)
static

Definition at line 46 of file Variation1.java.


The documentation for this class was generated from the following file: