This commit is contained in:
Dennis Gunia
2022-07-18 23:25:35 +02:00
parent dd9d2857c9
commit f6e0d0456c
12 changed files with 7600 additions and 7403 deletions

18
Utils/tableGenerator.py Normal file
View File

@@ -0,0 +1,18 @@
import math
num_points = 256
max_val = 255
line_length = 16
points_bump = []
for ix in range(0,num_points):
val = math.ceil(math.sin(math.pi * (ix/num_points)) * max_val)
points_bump.append(val)
c = 0
for val in points_bump:
print (val, end=', ')
c += 1
if c > line_length -1:
print('')
c = 0