mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2024-06-26 06:29:29 +00:00
14 lines
162 B
Python
14 lines
162 B
Python
|
|
||
|
import math
|
||
|
|
||
|
#n = 8
|
||
|
#m = 127
|
||
|
|
||
|
n = 64
|
||
|
m = 127
|
||
|
|
||
|
for i in range(0,n*4):
|
||
|
print '%d,' % int(round(math.sin(i*math.pi/2/n)*m)),
|
||
|
if i % 16 == 15:
|
||
|
print
|