diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2022-09-04 23:32:55 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2022-09-04 23:44:33 -0700 |
commit | b4c9935b5d167ca2ef69b5a6a81ae207f462b45c (patch) | |
tree | da526ecfbd90215d70420d2dce75d5eed0adfb9b /src/drm_fb.c | |
parent | b5a2667f6c94d5a275251bf6cc359480100a651c (diff) |
modules/strobe: add rudimentary strobe light module
After reading about the Dreamachine[0], I wanted to experience
this phenomenon. The javascript-based web implementations
struggled to hold a steady 10Hz rate and would flicker like
crazy, so here we are.
Only setting right now is period=float_seconds, defaults to .1
for 10Hz.
One limitation in the current implementation is when the frame
rate can't keep up with the period the strobe will just stick on
without ever going off, because the period will always be
expired. There should probably be a setting to force turning off
for at least one frame when it can't keep up.
[0] https://en.wikipedia.org/wiki/Dreamachine
Diffstat (limited to 'src/drm_fb.c')
0 files changed, 0 insertions, 0 deletions