Notes:
A 'tiling' of TwoTonedSquares in the plane. The peppermints are rotated randomly in [0, 360] and the 'type' of peppermint (there are 4 'types' of TNTTwoTonedSquares) is chosen using the "modulus operator."
Reload the page to see the peppermints redistribute.
Features:
| Comments: | var rotn = Math.floor(Math.random() * 360); |
|---|---|
| Even More: |
type += 1;
type = type % 5;
if (type == 0) type = 1;
|
