added refresh interval in ms for animations

This commit is contained in:
peterc-s
2024-10-22 02:03:21 +01:00
parent e125d8f1aa
commit 020f27b203
5 changed files with 111 additions and 67 deletions

View File

@@ -35,6 +35,14 @@
# matrix -> CMatrix
animation = none
# The minimum time between animation frames
# 32 -> ~30fps
# 16 -> ~60fps
# 8 -> ~120fps
# 6 -> ~144fps
# 4 -> ~240fps
animation_refresh_ms = 16
# Stop the animation after some time
# 0 -> Run forever
# 1..2e12 -> Stop the animation after this many seconds