Rename offset to delay
Add constant anim, and brightness parameter
Avoid importing math in global scope, in case someone tries to set the anim to math