Giter Club home page Giter Club logo

webgl-music-visualizer's Introduction

Music Visualizer in WebGL

Overview

Live Demo (Hit "Play Music" to start the visualizer)

Teaser

This project implements a neon-themed music visualizer using noise functions. There are three spheres that are noised using fractal brownian motion with different settings. Global settings that can control all three spheres are also exposed to the GUI.

All three spheres are rendered with lines for composing visual complexity. In order to achieve the glow look, a bloom effect post process pipeline is implemented.

Audio is loaded using WebAudio API and the audio spectrum is used to drive the amplitude of the noise.

Toolbox Functions

Toolbox functions that are used:

  • Ease In (Quadratic) is used to amplify the audio signal to exaggerate peaks.
  • Impulse is used on the amplitude to give a smoother fall-off.
  • Bias is used such that when lerping between black and the neon color, it is biased towards the neon color.
  • Smootherstep is used for quintic interpolation for Perlin noise.
  • Gain is used in shading to cut off regions of the sphere based on light intensity.

webgl-music-visualizer's People

Contributors

austineng avatar imyself avatar rahwang avatar wayne-wu avatar

Stargazers

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