gb_test2

view gensine @ 6:6a7eb418caec

even better chessboard
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 12 Jan 2019 00:05:14 +0200
parents
children
line source
1 #!/usr/bin/python
3 import math
5 def main():
6 s = 16
7 x = 0.0
8 dx = 2.0 * math.pi / 256.0
9 for i in range(256):
10 sx = math.sin(x) * s# + s
11 print "\tdb ", int(sx)
12 x += dx
14 main()