Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CSV file for firefly animation #1

Merged
merged 1 commit into from
Jan 6, 2022
Merged

Conversation

hagman
Copy link
Owner

@hagman hagman commented Jan 6, 2022

Every LED picks ten nearest neighbours and starts to flash at a default period of 30 frames. Light from neighbouring LEDs that is visible during the own dark phase pushes the own cycle forward slightly. This should lead to sync'ed LEDs after a while, but does it? Actually, by separating R, G, B, there are three independent populations of 500 LEDs each (and in each population, the "same" LED may pick a slightly different set of neighbours if there are ties or almost-ties by distance). The three populations were then mixed in such a way that they end with a dark moment as last frame. The CSV is somewhat long, so I hope the tree will make 60 fs rather than 30 fps :)

Every LED picks ten nearest neighbours and starts to flash at a default period of 30 frames. Light from neighbouring LEDs that is visible during the own dark phase pushes the own cycle forward slightly. This should lead to sync'ed LEDs after a while, but does it? Actually, by separating R, G, B, there are three independent populations of 500 LEDs each (and in each population, the "same" LED may pick a slightly different set of neighbours if there are ties or almost-ties by distance). The three populations were then mixed in such a way that they end with a dark moment as last frame. The CSV is somewhat long, so I hope the tree will make 60 fs rather than 30 fps :)
@hagman hagman merged commit caf0865 into main Jan 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant