2017-04-12 16:23:24 +00:00
|
|
|
|
|
|
|
import math
|
|
|
|
|
|
|
|
#n = 8
|
|
|
|
#m = 127
|
|
|
|
|
|
|
|
n = 64
|
|
|
|
m = 127
|
|
|
|
|
2017-04-15 04:12:21 +00:00
|
|
|
n=32
|
2017-04-14 22:43:07 +00:00
|
|
|
|
2017-04-12 16:23:24 +00:00
|
|
|
for i in range(0,n*4):
|
|
|
|
print '%d,' % int(round(math.sin(i*math.pi/2/n)*m)),
|
|
|
|
if i % 16 == 15:
|
|
|
|
print
|