Skip to content

Add CSV for Firefly animation#59

Open
hagman wants to merge 3 commits intostandupmaths:mainfrom
hagman:main
Open

Add CSV for Firefly animation#59
hagman wants to merge 3 commits intostandupmaths:mainfrom
hagman:main

Conversation

@hagman
Copy link

@hagman hagman commented Jan 6, 2022

An animation that is awfully long (some 4000 frames!), so hopefully, the tree ultimately runs at 60 fps rather than 30 fps. If not, feel free to double-speed it by averaging pairs of consecutive lines.

hagman added 2 commits January 6, 2022 17:44
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 :)
Add CSV file for firefly animation
@d-albrecht
Copy link
Contributor

I think the length is almost bearable: "only" 2.5 mins with 30fps. I just feel that starting around frame 1000 or so, I'd argue that there isn't much more going on than before, It appears to just repeat the same 30 frames (that is the frequency with which all LEDs turn off approximately) over and over. Or the changes to before are too little to be noticeable.

Don't know if the current runner code permits this, but last year Matt just interrupted animations when he had enough. So, he might just end the animation after the first half a minute or so.

@hagman
Copy link
Author

hagman commented Jan 6, 2022 via email

regenerated with new insights:
- better periodicity detection
- end after a few final periods, hence no longer unbearably long
- shift the R, G, B populations for nicer colour effects(?)
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.

2 participants