Print current time once a second (to check progress)

pull/357/head
nyanpasu64 2018-07-23 20:39:15 -07:00
rodzic 19c0909752
commit 2928af9b01
1 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -130,9 +130,15 @@ class Ovgen:
begin = time.perf_counter()
# For each frame, render each wave
prev = -1
for frame in range(nframes):
time_seconds = frame / fps
rounded = int(time_seconds)
if rounded != prev:
print(rounded)
prev = rounded
datas = []
# Get data from each wave
for wave in self.waves: