1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-11-22 14:33:51 +00:00
8bitworkshop/tools/sintbl.py
2017-04-15 18:24:27 -04:00

16 lines
168 B
Python

import math
#n = 8
#m = 127
n = 64
m = 127
n=32
for i in range(0,n*4):
print '%d,' % int(round(math.sin(i*math.pi/2/n)*m)),
if i % 16 == 15:
print