Make music with physics!
BeatDrop.mp4
Click on the canvas to spawn bricks which play musical notes when hit, and balls which fall and hit the bricks.
- Click: Place a ball or brick
- Click & drag: Move/pan across the canvas
- Left/Right arrow keys: Switch between ball and brick placement mode
- Scroll up/down: Zoom in/out
- Ctrl + scroll: Change the pitch of the next brick to be placed
- Shift + scroll: Rotate the next brick to be placed
- Number keys (0-9): Skip to playback time
If you're using Nix, enter the development shell with:
nix develop
To set up the development environment with bun, clone the repository and install dependencies:
git clone https://github.com/ThatOtherAndrew/BeatDrop
cd BeatDrop
bun installTo start the development server, run:
bun dev