JavaScript ๐ŸŽต Audio ๐ŸŽต Visualizers @Frankslaboratory
JavaScript ๐ŸŽต Audio ๐ŸŽต Visualizers  @Frankslaboratory
Uploaded November 2021 | Updated September 2026, 1 week ago
HTML canvas offers two ways to draw smooth elastic curves, what's the difference? 'quadraticCurveTo' is used to draw ONE curve and 'bezierCurveTo' can draw TWO curves, let's use it in a project! We will draw animated audio visualizers with JavaScript and learn about CSS3 animations, HTML5 canvas and Web Audio API in the process. Maybe I played too much Pokรฉmon RPGs back in the day, sorry :D

Longer DEEP DIVE version of this tutorial available here:
๐ŸŽต Audio Magic with JavaScript youtu.be/qNEb9of714U

โญ๏ธTABLE OF CONTENT โญ๏ธ
00:00 quadraticCurveTo and bezierCurveTo explained
00:33 Vanilla JavaScript audio visualizers
01:27 SVG images in HTML
02:40 CSS styles, stroke-dasharray, stroke-dashoffset
03:43 HTML canvas setup with JavaScript
04:21 ES6 classes
04:54 Animation loop
06:02 How to use Web Audio API to capture microphone audio
11:09 Connecting audio data and canvas animations
14:15 'Snail shell' circular audio visualizer
24:24 Seahorse visualizer with bezierCurveTo

๐ŸŽจ SVG code: ๐ŸŽจ (feel free to use these for your own art)
SNAIL frankslaboratory.co.uk/downloads/svg/snail.svg
SEAHORSE frankslaboratory.co.uk/downloads/svg/seahorse.svg
BAT frankslaboratory.co.uk/downloads/svg/bat.svg
FOX frankslaboratory.co.uk/downloads/svg/fox.svg
ANGLERFISH frankslaboratory.co.uk/downloads/svg/anglerfish.svg
OWL frankslaboratory.co.uk/downloads/svg/owl.svg
DEER frankslaboratory.co.uk/downloads/svg/deer.svg
DINOSAUR frankslaboratory.co.uk/downloads/svg/dinosaur.svg
MOTH frankslaboratory.co.uk/downloads/svg/moth.svg
CHAMELEON frankslaboratory.co.uk/downloads/svg/chameleon.svg

โค Related Audio Tutorials (Web Audio API) โค
๐ŸŽต JavaScript sound complete course (from basics to visualizers) youtu.be/VXWvfrmpapI
๐ŸŽต 10 audio visualizer experiments youtu.be/f0dwg99EVfo
๐ŸŽต Audio Magic with JavaScript youtu.be/qNEb9of714U
๐ŸŽต Talking Pumpkin Audio Visualizer with Radu youtu.be/plnhFAHEfrM
๐ŸŽต Melody Maker app with Radu youtu.be/JNtuLw2fybo

Recommended Udemy courses (get solid understanding of the basics and then use it to build projects):
โ˜• Object-oriented Programming in JavaScript (Mosh Hamedani) bit.ly/3f4Otu0
โ˜• JavaScript Basics for Beginners (Mosh Hamedani) bit.ly/32Tn5wq
โ˜• Modern JavaScript From The Beginning (Brad Traversy) bit.ly/3fWJgWk
โ˜• JavaScript: Understanding the Weird Parts bit.ly/2WVe0zn
โ˜• Modern HTML & CSS From The Beginning (Including Sass) bit.ly/2Ec6Cch
โ˜• Advanced CSS and Sass: Flexbox, Grid, Animations and More! bit.ly/3g0uqxT
โ˜• JavaScript: The Advanced Concepts (2021) bit.ly/2Uk6Wyk
โ˜• JavaScript - The Complete Guide 2021 (Beginner + Advanced) bit.ly/37Hlxqq
โ˜• The Complete JavaScript Course 2021: From Zero to Expert! bit.ly/3fXGwaZ
โ˜• 20 Web Projects With Vanilla JavaScript bit.ly/3anlCQR
โ˜• HTML/CSS Bootcamp - Learn HTML, CSS, Flexbox, and CSS Grid bit.ly/3tu9ghD
โ˜• Modern HTML & CSS From The Beginning (Including Sass) bit.ly/2Ec6Cch
โ˜• Advanced CSS and Sass: Flexbox, Grid, Animations and More! bit.ly/3g0uqxT

Free good quality courses:
Object-oriented Programming in JavaScript: Made Super Simple | Mosh youtu.be/PFmuCDHHpwk
JavaScript Tutorial for Beginners: Learn JavaScript in 1 Hour youtu.be/W6NZfCO5SIk
JavaScript: Understanding the Weird Parts - The First 3.5 Hours youtu.be/Bv_5Zv5c-Ts

๐ŸŽต Music: (YouTube audio library) Dub Hub - Jimmy Fontanez Media Right Productions
The description of this video may contain affiliate links, which means that if you buy one of the products that I recommend, I'll receive a small commission without any additional cost for you. This helps to support the channel and allows me to continue making videos like this. Thank you for the support!
#frankslaboratory
JavaScript ๐ŸŽต Audio ๐ŸŽต VisualizersLearn Creative Coding: Image EffectsCSS Button Animation Tutorial | Popping Bubbles Hover EffectPlayer-vs-AI Games (JavaScript tutorial)JavaScript Audio CRASH COURSE For BeginnersJavaScript Chain Coding Challenge: Fractal Christmas TreeHTML Canvas Game Development Tutorial | Flappy Bird PART 2 - Animated Sprites & Repeating BackgroundVanilla JavaScript Text Animation Tutorial [Particles & Physics effect]5 Game Dev Weapon Ideas (Simple but Powerful)Blurry Pixel Art? Heres the ONE LINE FIX!HTML5 Canvas CRASH COURSE for BeginnersHow To Code Creatures For JavaScript Games
Franks laboratory |

JavaScript ๐ŸŽต Audio ๐ŸŽต Visualizers

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER