-
Notifications
You must be signed in to change notification settings - Fork 53
feat: add buzzer element #25
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
Conversation
This is lovely @gfeun! What other names can we have for the attribute that controls the music animation? |
Also, I'm thinking it'd be cool to have two short wires or leads, possibly red and black, come out of the speaker body. When you search google images for "arduino speaker buzzer", most models that look like this one have red/blue wires coming out of them. This is a bit similar to the LED elements, which also have short leads sticking out of the LED body |
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.
Great job!
I've added some comments / suggestions
I tried to add more details to the buzzer design but the contrast seems to make them undiscernible. |
I think it's great the way it is. Do you happen to have a twitter account, btw? |
Hey Uri,
This is my attempt to implement a simple buzzer web component.
I followed your video tutorial to design it with Inkscape.
I wanted the component to display music notes when in use so i implemented a css animation when the attribute "value" is true (similar to the led element on/off). It uses a MIT licensed music note icon
This is very raw since i'm not experienced with css. I am not aware of css animations browser compatibility so this could be a problem too.