This commit is contained in:
Luca Conte 2024-07-11 10:09:09 +02:00
parent d8e76a0420
commit 56bb9e08b1

View file

@ -125,6 +125,7 @@ def genframes(ctx,width, height,preset, seed, framestart, framestop, audiofile,
for frame in range(framestart, framestop):
try:
speed=abs(mean - float(format(trms[frame], '.3f')))
#speed=float(format(trms[frame], '.3f'))
#print(f"(speed: {speed}) (trms: {trms[frame]}) )")
time = (float)((frame % time_dividend)/time_dividend)
filename = out_dir+ '/' + preset + "_" + str(seed)+ "_" + str(frame).zfill(10) +".png"