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
2 weeks ago 00:21:22 1
Крым. Курортное. А где КУРОРТ?
2 weeks ago 00:14:37 1
🔴 As US Cozies Up To Russia’s Economy, Putin’s Call With China Just Changed Everything
2 weeks ago 00:03:00 18
Architects - “Brain Dead (feat. House of Protection)“
2 weeks ago 00:56:31 2
“Ce détail nous a échappé à tous lors des Jeux Olympiques de Paris.“😱😱
2 weeks ago 00:01:39 14
Opening Credits | Dexter: Original Sin
3 weeks ago 00:23:30 1
Terrifying Truths Learned on Carnivore
3 weeks ago 00:36:51 1
💥 Breaking! Protestant Church ⛪ in England 🇬🇧 on Path to Holy Orthodoxy ☦️
3 weeks ago 00:53:40 31
Lily Phillips Slept With 100 Men In One Day and Doesn’t Regret It
3 weeks ago 01:56:37 1
Les secrets à la vue de tous 1/4 ~ Scott Onstott (Secrets in Plain Sight)