Sections:

1

2

3

4

5

6

7

8

9

10

11

12

spinner = 0 (slider from 0 to (laps * 360) + EX, step 0.1)
A = Intersect(xAxis, yAxis)
Sections = 12 (slider from 2 to 12, step 1)
angle: 360 / Sections
Rad: (angle * π / 180)
B: (cos(Rad), sin(Rad))
c = Circle(A, 1)
C: (cos((2 * Rad)), sin((2 * Rad)))
D: (cos((3 * Rad)), sin((3 * Rad)))
E: (cos((4 * Rad)), sin((4 * Rad)))
F: (cos((5 * Rad)), sin((5 * Rad)))
G: (cos((6 * Rad)), sin((6 * Rad)))
H: (cos((7 * Rad)), sin((7 * Rad)))
I: (cos((8 * Rad)), sin((8 * Rad)))
J: (cos((9 * Rad)), sin((9 * Rad)))
K: (cos((10 * Rad)), sin((10 * Rad)))
L: (cos((11 * Rad)), sin((11 * Rad)))
M: (cos((12 * Rad)), sin((12 * Rad)))
d = CircleSector(A, B, C)
e = CircleSector(A, C, D)
f = CircleSector(A, D, E)
g = CircleSector(A, E, F)
h = CircleSector(A, F, G)
k = CircleSector(A, G, H)
p = CircleSector(A, H, I)
q = CircleSector(A, I, J)
r = CircleSector(A, J, K)
EX: (Random[0, 359] * spinner)
s = CircleSector(A, K, L)
t = CircleSector(A, L, M)
c_1 = CircleSector(A, M, B)
Value: round(EX / (360 / Sections) + 0.5)
result = Text(Value)
spintip: (cos((spinner * π / 180)), sin((spinner * π / 180)))
laps = Random(1, 2)
arrow: 0
N = (0.8321444354029752, -0.013641614667937431)
d_1 = Circle(A, N)