I used Sass which compiles away the variables: https://github.com/starzonmyarmz/gamedevjs-jam-2021/tree/main/sass
Ah that’s make sense now. I see a bunch of animation properties inside @for and @if loop.
Thanks for sharing the code. New tricks I learn from scss+nunjucks combo.