kopia lustrzana https://github.com/corrscope/corrscope
Print current time once a second (to check progress)
rodzic
19c0909752
commit
2928af9b01
|
@ -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:
|
||||
|
|
Ładowanie…
Reference in New Issue