Skip to content

Commit

Permalink
TAU does not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
mwufi committed Jan 14, 2023
1 parent e88bcdc commit 3d71666
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analogchessV4.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def getpolygon(origin, radius, N, start=0, end=None):
x, y = origin
Nf = float(N)
if end is None:
end = TAU
end = math.pi * 2
for i in range(N):
xp = x + radius * math.sin(end * i / Nf + start)
yp = y - radius * math.cos(end * i / Nf + start)
Expand Down

0 comments on commit 3d71666

Please sign in to comment.