Disable snow on prefers-reduced-motion
Maingron opened this issue · comments
Maingron commented
DIsable the script / Don't even run it when the users requests reduced motion.
This can help people that get nausea or anxious from the snow, especially from the jittering.
This should be possible through CSS @media screen and (prefers-reduced-motion: reduce) { }
or maybe even through Javascript. If it's possible to get three values (no motion; less motion; normal), maybe disable the jitter on less motion and disable the snow entirely on no motion.
Maingron commented
Added in Version 1.2.0. Also added a notice in example.html.