-
Notifications
You must be signed in to change notification settings - Fork 0
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
Pulse animation #72
Conversation
server/lamp/pulse.ts
Outdated
|
||
public animate(t, display, options) { | ||
const [color1, color2, branches, speed, pulses, rotationSpeed, topLedNb] = options; | ||
const realSpeed = speed / 10; |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Voilà : #77
Beaucoup de params, très modulable. 😄
explorer_EPxSAnvryo.mp4