master
Ruben van de Ven 4 years ago
parent 895e12c034
commit 5212e3aab2

@ -570,12 +570,13 @@ while True:
diffT = min(1, t - lastRunTime)
lastRunTime = t
# animDuration = 1
# factor = animDuration
metrics = metrics + newMetrics*diffT
newMetrics *= (1-diffT)
print('MAXES', np.max(metrics), np.max(newMetrics), diffT)
print('MAXES', np.max(metrics), np.max(newMetrics), diffT, t - lastRunTime)
# smooth impact of first hits by having at least 0.05
normalisedMetrics = metrics / (max(255*7 ,np.max(metrics)))

Loading…
Cancel
Save