{"id":26650994,"url":"https://github.com/helloprkr/sphere-audio-context","last_synced_at":"2026-02-17T16:01:30.363Z","repository":{"id":279499581,"uuid":"938579443","full_name":"helloprkr/sphere-audio-context","owner":"helloprkr","description":"Created with StackBlitz ⚡️","archived":false,"fork":false,"pushed_at":"2025-02-25T21:33:46.000Z","size":48,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-24T00:43:42.839Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://stackblitz.com/edit/sb1-9ss4dulu","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/helloprkr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2025-02-25T07:11:55.000Z","updated_at":"2025-02-26T18:31:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"c41f1b3c-0ca6-48fd-a2b6-c0d4016fbdbc","html_url":"https://github.com/helloprkr/sphere-audio-context","commit_stats":null,"previous_names":["helloprkr/sphere-audio-context"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/helloprkr/sphere-audio-context","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helloprkr%2Fsphere-audio-context","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helloprkr%2Fsphere-audio-context/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helloprkr%2Fsphere-audio-context/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helloprkr%2Fsphere-audio-context/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/helloprkr","download_url":"https://codeload.github.com/helloprkr/sphere-audio-context/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helloprkr%2Fsphere-audio-context/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29549205,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T14:33:00.708Z","status":"ssl_error","status_checked_at":"2026-02-17T14:32:58.657Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2025-03-25T02:49:24.182Z","updated_at":"2026-02-17T16:01:30.358Z","avatar_url":"https://github.com/helloprkr.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sphere-audio-context\n\n# 🎵 Three.js Audio Visualization Framework\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n[![React](https://img.shields.io/badge/React-18.3.1-blue.svg)](https://reactjs.org/)\n[![Three.js](https://img.shields.io/badge/Three.js-0.162.0-green.svg)](https://threejs.org/)\n[![TypeScript](https://img.shields.io/badge/TypeScript-5.5.3-blue.svg)](https://www.typescriptlang.org/)\n[![Vite](https://img.shields.io/badge/Vite-5.4.2-purple.svg)](https://vitejs.dev/)\n\u003cimg width=\"899\" alt=\"Screenshot 2025-02-25 at 3 33 00 PM\" src=\"https://github.com/user-attachments/assets/4648d3bb-df7b-43f0-b722-9d4257476c7b\" /\u003e\n\nA robust boilerplate for building audio-reactive 3D visualizations with Three.js, Web Audio API, and React.\n\nCreated by [@HelloPrkr](https://github.com/helloprkr).\n\n## 🚀 Quick Start\n\n```bash\nnpm install\nnpm run dev\n```\n\n## 🎯 Core Features\n\n- **WebGL Rendering**: Three.js with custom GLSL shaders\n- **Audio Processing**: Real-time FFT analysis (20Hz-20kHz)\n- **React Integration**: Type-safe components with hot reload\n- **Performance**: Optimized for 60+ FPS\n\n## 🛠️ Technical Stack\n\n- **Frontend**: React 18.3 + TypeScript 5.5\n- **3D Graphics**: Three.js 0.162\n- **Build System**: Vite 5.4\n- **Audio**: Web Audio API\n- **Styling**: Tailwind CSS\n\n## 📦 Installation\n\n```bash\ngit clone https://github.com/yourusername/threejs-audio-viz.git\ncd threejs-audio-viz\nnpm install\n```\n\n## 💻 Usage\n\n```typescript\nimport { ThreeScene } from './components/ThreeScene';\nimport { AnimationConfig } from './config/animationConfig';\n\nconst config: Partial\u003cAnimationConfig\u003e = {\n  sphere: { size: 1.0, segments: 64 },\n  audio: { sensitivity: 1.0, attackSpeed: 0.5 }\n};\n\nfunction App() {\n  return \u003cThreeScene config={config} /\u003e;\n}\n```\n\n## ⚙️ Configuration\n\n### Visual Settings\n```typescript\ninterface VisualConfig {\n  gradient: {\n    type: 'linear' | 'radial' | 'angular';\n    points: GradientPoint[];\n    direction: number;\n  };\n  effects: {\n    swirlingStrength: number;\n    energyThreshold: number;\n    transparency: number;\n  };\n}\n```\n\n### Audio Settings\n```typescript\ninterface AudioConfig {\n  sensitivity: number;\n  minFrequency: number;\n  maxFrequency: number;\n  attackSpeed: number;\n  decaySpeed: number;\n  effectType: 'scale' | 'color' | 'displacement' | 'particles' | 'deformation';\n}\n```\n\n## 🏗️ Architecture\n\n```\nsrc/\n├── components/\n│   ├── ThreeScene.tsx    # WebGL renderer\n│   ├── Controls.tsx      # UI controls\n│   └── AudioEffects.tsx  # Audio processing\n├── config/\n│   ├── animationConfig.ts\n│   └── audioEffects.ts\n└── App.tsx\n```\n\n## 🔧 Development\n\n```bash\n# Development\nnpm run dev\n\n# Type checking\nnpm run typecheck\n\n# Production build\nnpm run build\n```\n\n## 🎨 Features\n\n### Visualization\n- 6-point gradient system\n- 10k particle starfield\n- Orbital camera controls\n- Real-time shader effects\n\n### Audio\n- Microphone input handling\n- FFT frequency analysis\n- Attack/decay controls\n- Multiple effect modes\n\n\u003c/div\u003e\n\n\n[Edit in StackBlitz next generation editor ⚡️](https://stackblitz.com/~/github.com/helloprkr/sphere-audio-context)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelloprkr%2Fsphere-audio-context","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhelloprkr%2Fsphere-audio-context","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelloprkr%2Fsphere-audio-context/lists"}