gb_test2

view gensine @ 5:be6f719279b6

better chessboard
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 10 Jan 2019 08:02:38 +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()