This is a simple virtual drum created using JavaScript, CSS, and HTML. You can use your mouse or keyboard to play different drum sounds.
You don't need to install anything to use this virtual drum, just open the index.html
file in your browser.
To play the drum, simply click or tap on the corresponding drum pad with your mouse or touch screen. You can also use your computer keyboard to play the drum:
Key | Drum Sound |
---|---|
w | tom1 |
a | tom2 |
s | tom3 |
d | tom4 |
j | crash |
k | kick |
l | snare |
You can also use the arrow keys to switch between different drum kits.
This virtual drum was created by Mohd Ammar using [JavaScript/CSS/HTML]. Feel free to use and modify this code for your own projects.