{"id":27630414,"url":"https://github.com/sanjaysah101/pi-loom","last_synced_at":"2026-07-14T23:31:42.623Z","repository":{"id":285053132,"uuid":"956927429","full_name":"sanjaysah101/pi-loom","owner":"sanjaysah101","description":"Pi Loom is an AI-powered music composer that transforms the digits of π into harmonious musical patterns. This project was created for the π-Day AI Hackathon 2025.","archived":false,"fork":false,"pushed_at":"2026-01-20T12:18:39.000Z","size":620,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-20T21:20:03.432Z","etag":null,"topics":["audio-visualizer","hackathon","next15","shadcn-ui"],"latest_commit_sha":null,"homepage":"https://pi-loom.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sanjaysah101.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-29T06:18:36.000Z","updated_at":"2026-01-20T12:18:44.000Z","dependencies_parsed_at":"2025-04-23T16:59:01.626Z","dependency_job_id":null,"html_url":"https://github.com/sanjaysah101/pi-loom","commit_stats":null,"previous_names":["sanjaysah101/pi-loom"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sanjaysah101/pi-loom","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanjaysah101%2Fpi-loom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanjaysah101%2Fpi-loom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanjaysah101%2Fpi-loom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanjaysah101%2Fpi-loom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sanjaysah101","download_url":"https://codeload.github.com/sanjaysah101/pi-loom/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanjaysah101%2Fpi-loom/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35483857,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-14T02:00:06.603Z","response_time":114,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["audio-visualizer","hackathon","next15","shadcn-ui"],"created_at":"2025-04-23T16:41:56.009Z","updated_at":"2026-07-14T23:31:42.606Z","avatar_url":"https://github.com/sanjaysah101.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pi Loom - AI Music Composer\n\nPi Loom is an AI-powered music composer that transforms the digits of π into harmonious musical patterns. This project was created for the π-Day AI Hackathon 2025.\n\n![Pi Loom Screenshot](public/pi-loom-home-page.png)\n![Pi Loom Screenshot](public/pi-composer.png)\n\n## Features\n\n- **π-Based Composition**: Converts π's digits into musical notes based on scales and keys\n- **AI Pattern Recognition**: Detects and highlights patterns within π's sequence\n- **Harmony Generation**: Creates complementary harmonies based on the main melody\n- **Interactive Visualization**: Visualizes the note frequencies and detected patterns\n- **Customizable Parameters**: Adjust tempo, key, scale, and AI enhancement settings\n- **3D Visualization**: Interactive 3D representation of π on the landing page\n\n## How It Works\n\n1. **Digit to Note Conversion**: Each digit of π is mapped to a note in the selected musical scale\n2. **Pattern Detection**: The AI analyzes the sequence to find repeating patterns\n3. **Melody Enhancement**: Based on detected patterns, the AI can enhance the melody\n4. **Harmony Generation**: Optional harmonies can be generated to complement the main melody\n5. **Interactive Playback**: Users can play the composition with various waveforms and tempos\n\n## Technical Implementation\n\nPi Loom uses several technologies:\n\n- **Next.js**: React framework for the user interface\n- **Web Audio API**: For generating and playing musical notes\n- **Chart.js**: For visualizing note frequencies\n- **AI Pattern Recognition**: Custom algorithm to detect patterns in π's digits\n- **Framer Motion**: For smooth animations\n- **Three.js**: For 3D visualization of π on the landing page\n\n## Getting Started\n\nFirst, run the development server:\n\n```bash\nnpm run dev\n# or\nyarn dev\n# or\npnpm dev\n# or\nbun dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\n## Usage\n\n1. Adjust the composition settings (number of digits, key, scale, tempo)\n2. Enable AI enhancement if desired\n3. Click the Play button to hear the π-based composition\n4. Experiment with different waveforms and harmony options\n5. Observe the patterns detected by the AI\n\n## Future Enhancements\n\n- More advanced musical scales and modes\n- Machine learning for more sophisticated pattern recognition\n- Downloadable MIDI export\n- Visual representation of π's digits alongside the music\n- Collaborative composition features\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanjaysah101%2Fpi-loom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsanjaysah101%2Fpi-loom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanjaysah101%2Fpi-loom/lists"}