The template, live ↓

Your Name

A minimal homepage with an endless soundtrack. Press play, then move the mouse up and down. The two stems below are synthesized in the browser so this example needs no audio files. Swap them for your own { url: 'stem.mp3', loopSeconds: 9.6 }.

Step 3 of 3 · copy this

Homepage starter

A complete homepage in about 75 lines on top of src/endless-loop.js. Everything outside this panel is the template itself, exactly what a visitor sees. The dot on the right edge follows your mouse height, which sets the pitch bend.

How to take it

  1. Copy the .tpl styles, the main block and the module script from examples/homepage.html.
  2. Put src/endless-loop.js on your site.
  3. Or paste the prompt on the overview page into your AI tool.
← Step 2 · Mouse bendDone · Add it to your homepage →