Next Level Vanilla JavaScript UI Animations @Frankslaboratory
Next Level Vanilla JavaScript UI Animations  @Frankslaboratory
Uploaded July 2021 | Updated September 2026, 1 week ago
Vanilla JavaScript is a powerful tool. Let me show you how you can use it on your website to create new and unique effects. It's time for creative coding experiments! :) In this tutorial we will build next level vanilla JavaScript UI animations. Let's create fire, liquid and constellations particle effects and attach them to buttons on hover. This purely front end codebase will be built with plain vanilla JavaScript, HTML, CSS and HTML5 canvas element. I feel like people don't take advantage of powerful visual tools HTML5 canvas offers, let me show you how to create a couple of beautiful 2D particle effects and practice vanilla JavaScript techniques at the same time.

โญ๏ธTABLE OF CONTENT โญ๏ธ
00:00 Vanilla JavaScript animation and effect examples
01:25 Create basic webpage with HTML
02:49 CSS styles
03:56 How to animate CSS3 ::before pseudo elements
07:40 HTML canvas setup
08:15 How to use .getBoundingClientRectangle() method
10:19 Create animated particles using JavaScript class
12:16 Mouse event listeners
13:09 HTML data attribute and dataset keyword explained
14:34 Handle particles function
15:56 Create particle function
19:50 Animation loop with requestAnimationFrame
20:46 Positioning particles
22:36 Fire effect with CSS3 filters
23:16 Resize event listener
24:14 Experiments with fire effect
25:05 Constellations effect experiment

In this video we will learn how to create fire effect using CSS3 filters and constellations effect that was made popular by Particles js library, but we will write the code ourselves. No frameworks and no libraries.

๐Ÿ”ฅ I really like these FRONT END WEB DEVELOPMENT courses on Udemy ๐Ÿ”ฅ
โ˜• Next Level CSS Creative Hover & Animation Effects bit.ly/3jEkzju
โ˜• HTML/CSS Bootcamp - Learn HTML, CSS, Flexbox, and CSS Grid bit.ly/3tu9ghD
โ˜• Demystifying Parallax: Learn to Create Interactive Web Pages bit.ly/3uueECP
โ˜• JavaScript Basics for Beginners (Mosh Hamedani) bit.ly/32Tn5wq
โ˜• Modern JavaScript From The Beginning bit.ly/3fWJgWk

โค Related Links โค
Follow Online Tutorials YouTube channel for unique and creative front end content youtube.com/channel/UCbwXnUipZsLfUckBPsC7Jog
Next Level CSS And JavaScript Animation And Hover Effects | Course Trailer: youtu.be/1Ai3gcsiK70
Online Tutorials Udemy course: bit.ly/3jEkzju

๐ŸŒˆ Other PARTICLE EFFECTS that could be combined with this codebase:
Fibonacci flower effect youtu.be/ymmtEgp0Tuc
Rainbow constellations effect youtu.be/Yvz_axxWG4Y
Rotating image particles youtu.be/TBXjWsR7XDA
Liquid text trail effect youtu.be/EMJ9T7zStYY
Generative roots effect youtu.be/vDnsnsozSBo
4 bouncing mouse trails youtu.be/j_BgnpMPxzM

๐Ÿ–ฑ HTML and CSS button animation effects:
Liquid buttons with SVG filters youtu.be/qtc_tevOYZ4
Distortion effect with turbulence SVG filter youtu.be/lisZT8JIeKk
Ripple effect on buttons youtu.be/64NUjdMjEyw
Vertical waves effect on buttons youtu.be/yQWuN2GjSnw
SVG path button animation youtu.be/mdcwm69QXdk
Popping bubble effect on buttons youtu.be/V09dh-6E_p4
Simple button animation for beginners youtu.be/GAda7CsMrTE

๐ŸŽจ Get Adobe creative suite apps (Photoshop, Illustrator etc.) bit.ly/3e60cI0

๐Ÿ”ฅ One Month FREE Trial of Skillshare Premium! ๐Ÿ”ฅ (access to all courses, cancel anytime) skillshare.eqcm.net/c/2793559/1085653/4650

๐Ÿ”ฅ My favourite computer screen for coding amzn.to/3xccARd

๐ŸŽฎ More HTML5 canvas and JavaScript game tutorials:
youtube.com/playlist?list=PLYElE_rzEw_sowQGjRdvwh9eAEt62d_Eu

If you are a BEGINNER you can still create beautiful animations, here is a selection of my beginner friendly projects, where I go slower and take time to explain things:
youtube.com/playlist?list=PLYElE_rzEw_v8TXJ_ITSSBP_ypUKfQ7K-

If you feel more confident in your coding skills, check out some more ADVANCED ANIMATIONS with vanilla JavaScript & HTML5 canvas:
youtube.com/playlist?list=PLYElE_rzEw_siuo-kkHh5h7Sk--6IPYNh

Let's be friends
๐Ÿ‘ You can message me on TWITTER twitter.com/code_laboratory
๐Ÿ‘ Check out some of my source code on CODEPEN codepen.io/franksLaboratory

Music: (YouTube audio library) Vacay In Fiji Riddim - Konrad OldMoney
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
Next Level Vanilla JavaScript UI AnimationsCSS Filters - SVG Turbulence Filter Animation [ CSS3 Creative Menu Hover Effects ] SquigglevisionCSS Login Form Animation With Wave Placeholder Text Effect - CSS3 & HTML5 Tutorial for BeginnersJavaScript Game Tutorial - Many Different EnemiesAnimated CSS Button Hover Tutorial | SVG Icons Drawing EffectJavaScript Game Tutorial - 2D Tower Defense PART 2JavaScript project tutorial for beginners [HTML Canvas Particles]JavaScript RETRO Games: Super WeaponsCSS Animation Tutorial for Beginners [Animated Background Effect]JavaScript RETRO Games: Armored EnemiesHandling Audio & Art in JavaScript GamesJavaScript Game Development: One Codebase - Many 2D Games
Franks laboratory |

Next Level Vanilla JavaScript UI Animations

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER