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

Pulse animation #72

Merged
merged 4 commits into from
Aug 18, 2024
Merged

Pulse animation #72

merged 4 commits into from
Aug 18, 2024

Conversation

Protectator
Copy link
Collaborator

Beaucoup de params, très modulable. 😄

explorer_EPxSAnvryo.mp4


public animate(t, display, options) {
const [color1, color2, branches, speed, pulses, rotationSpeed, topLedNb] = options;
const realSpeed = speed / 10;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should change proportionally with LAMP_FPS

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

];

public animate(t, display, options) {
const [color1, color2, branches, speed, pulses, rotationSpeed, topLedNb] = options;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Colors should be stored on dots (if possible) to be compatible with Random Colors and future features.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Voilà : #77

@BinaryBrain BinaryBrain merged commit 1a98d3f into master Aug 18, 2024
3 checks passed
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