Coder Social home page Coder Social logo

marishibata / 3d-audio-visualizer-starter Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 6.95 MB

Boilerplate code for a 3D audio / music visualizer built with React-Three-Fiber and TypeScript

Home Page: https://3d-audio-visualizer-starter.vercel.app

HTML 2.89% CSS 17.46% TypeScript 79.65%
react react-three-fiber threejs typescript zustand

3d-audio-visualizer-starter's Introduction

3D Audio / Music Visualizer - Starter Boilerplate Code

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).

mari-shibata-3d-javascript-audio-visualzer-starter

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.

Current Features

  • 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

A work-in-progress - Next Steps

  • 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

Getting Started

These instructions will help you setup a local development instance of the app.

Get the repo

git clone https://github.com/marishibata/3d-audio-visualizer-starter.git

Navigate to the folder

cd 3d-audio-visualizer-starter

Install the dependencies

yarn install

Run client to start app

yarn dev

3d-audio-visualizer-starter's People

Contributors

marishibata avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.