Coding a 3D Audio Waveform Visualizer with JavaScript +
In this game dev experiment, we go over building a 3D audio waveform visualizer using React Web Audio API. We start off by setting up the React project with Tailwind CSS. Then we get audio frequency data from the HTML element using the Web Audio API and send that to the Three JS shader material. Finally, we update our vertex and fragment shaders for every frame and display the audio waveform in 3D.
📖 Code -
🐦 Twitter -
💻 GitHub -
🌎 Website -
== [ Resources ] ==
Docs -
Book of Shaders -
Three JS Guide -
== [ Timestamps ] ==
00:00 React Setup Guide
01:44 Connect HTML Web Audio API
03:45 Shader Material
04:46 Vertex Shaders Explained
07:57 Waveform Vertex Shader
08:43 Fragment Shaders Explained
10:01 Rainbow Fragment Shader
10:52 Demo
== [ Tags ] ==
#suboptimal #metaverse #threejs
1 view
17
2
4 weeks ago 00:20:33 1
Movie “Wicked” Sign of the End Time
4 weeks ago 01:07:30 1
MICHEL DOURTHE : Médium
4 weeks ago 00:03:37 1
Админы Актуального Курска и другие куряне, покажите общественные туалеты Курска .?!) #курскиймайор
4 weeks ago 00:03:01 1
Ivy from MRLsexdoll
1 month ago 00:33:07 1
Le Parquet a frappé fort : 5 ans de prison, 300 000 euros d’amende et une inéligibilité automatique