A music toy that paints

音乐画师

Place walls. Release the light.
Every bounce is a note and a brushstroke.

光路作曲室 · 写 MIDI

Headphones recommended · press Enter to begin

How to play

Draw walls, then release the light. Every bounce plays a note and leaves paint, so every run is a song and a painting. There's no timer and no way to lose.

The music

  • Wall length sets the note. Short walls sing high, long walls sing low, like strings.
  • Angle sets the volume. A head-on hit is loud, a glancing hit is soft.
  • Tempo sets the ball's speed. Snap makes each note wait for the next beat.
  • The canvas edge bounces the light silently.

Materials

  • Glass soft bell · watercolour blooms
  • Wood marimba · dry-brush dabs
  • Metal bright chime · sparks
  • String plucked string · long ink lines
  • Drum soft tom · stippled rings (unlock it)

Controls

Mouse / keyboardTouch
Draw a wallDrag on empty spaceDrag on empty space
Move a wallDrag its middleDrag its middle
Rotate or resizeDrag an endDrag an end
Change materialClick the wall, or 1–5Tap the wall, then pick
Delete a wallRight-click or DeleteLong-press
Aim the emitterDrag its arrowDrag its arrow
Play / pauseSpacePlay button
Undo / redoCtrl+Z / Ctrl+Shift+ZUndo button
Clear the paintCClear button
Save pictureSSave button
Gallery viewGGallery button
Restart · SoundR · MButtons

Hold Shift while drawing to snap walls to 15° steps.

Echo Challenges

Puzzles with a goal and only a few walls. Solving them unlocks new scales, colours and a material.

Your pieces

Saved in this browser. Opening one replaces the canvas; Undo brings yours back.

Share this piece

The whole piece lives inside the link: walls, scale, colours and tempo. Whoever opens it hears the same song and watches the same painting appear.

音乐画师 needs a tiny web server

Browsers block game modules opened straight from a file. In this folder, run npx serve . (or any static server) and open the address it prints.