Stripped back version of demos provided in the react-three-fiber
docs (where audio is usually looped). Created for first-timers to study and understand how the core functionality is generated (i.e. with playback control one would expect from a typical music player).
N.B. Current / initial commit a desktop version, mobile responsiveness will be added next - as well as some other core improvements as part of this starter code. A more custom version will be built for this work-in-progress interactive documentary.
-
Basic
react-three-fiber
(THREE.js) canvas setup where a field of 3D geometries animate to a playlist of mp3s -
Audio playback states - including play / pause, previous and next functionalities - managed with
zustand
-
TypeScript
support -
.mp3
audio supplied are old music produced by me ๐ฌ new music will be added as and when
-
Mobile responsiveness
-
Add CSS-in-JS using
styled-components
-
Styling updates for 3D geometry visualizer with basic
WebGL
shader setup -
Toggle to visualizer featuring 3D models
These instructions will help you setup a local development instance of the app.
git clone https://github.com/marishibata/3d-audio-visualizer-starter.git
cd 3d-audio-visualizer-starter
yarn install
yarn dev