-
Notifications
You must be signed in to change notification settings - Fork 96
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
Functional animation #20
base: main
Are you sure you want to change the base?
Conversation
import from sim vscode launch
Gravitational time dilation
Now supports gravitational time dilation. Also, running with "--sim" will activate simulation. Otherwise should light the actual tree. |
some more transformations and examples
Hey @qt1! As mentioned - love the addition of a much needed extra dimension (and some gravitational time dilation too 👀 ). I've decided to create an examples folder where we can add contributions like this one - you can find some more information in the README. Would you be up for updating your PR, to move your effect sequence in to a single file in the examples folder? If you want to share some of the extra work, linking to your repository in the "Further Work" section of this repo's README may be a good option. |
This is super cool |
Calculation of pixel color calculated by a function that accepts 4d space+time coordinates of current LED and current time.
Animation is stateless - no state is kept between calls to the animation function or between animation loops. Animation rate and form are determined only by the color function.
The color functions also uses parameters extensively so many aspects of the animation can be set without re-writing the math.
Several samples are provided, starting from a simple blink to a few more complex ones.
Visualization using matplotlib - many thanks to @DutChen18 ! #5
Intended to fix #18