# Interactive Number Simulation

## Created from Three Simple Rules

- Each number
**N** creates a circle with Radius = **N**.
- The Circumference of each circle is divided by
**N**, creating an Arc of Length = Circumference / **N**.
- Each arc makes a complete rotation in
**N** iterations.

Each arc represents its number

**spacially** by its length, and

**temporally** by the number of iterations required to make a complete rotation.
For example, the number 2 arc is

**half** its circle in length, and takes

**2** iterations to make a complete rotation.
The number 3 arc is a

**third** its circle in length, and takes

**3** iterations to complete a rotation, and so on for all numbers.
Each arc is the same length since:

Length = Circumference / N, and Circumference = 2 * PI * N

Length = 2 * PI * N / N

**Length = 2 * PI**
The simulation starts with all arcs in horizontal alignment.

**When an arc comes back into horizontal alignment, that
means it is a divisor of the current number of iterations**. Iteration numbers with no arcs in
alignment are

prime numbers, and are marked in Red. Iteration numbers with factors, are

composite numbers, and are marked in White.

The observed

spiral pattern is a direct consequence of only the above three rules
, and is in no way forced, or coerced to fit that shape.