p5js Polyrhythm Step Sequencer

A circular music sequencer creating evolving rhythmic and melodic patterns through toggleable dots.

Introduction

This project is an interactive circular music sequencer built with p5.js and p5.sound. Users can activate dots across two concentric rings, with each color representing a different pitch ratio. As the playhead moves around each ring, active dots trigger sine-wave tones, creating evolving rhythmic and melodic patterns.

The interface allows users to adjust the number of steps and playback speed, start or stop the sequence, and automatically randomize the pattern. Smooth color, size, opacity, and ripple animations provide visual feedback, connecting each musical event with a corresponding visual response.