In this video I will teach you how to recreate the Google Thanos easter egg in under 40 lines of code. We will use the html2canvas and JavaScript libraries to make the Thanos snap effect. The video will cover how to setup all the dependencies for the project as well as how to configure to create a custom particle effect. On top of covering we will also focus on covering how to build rectangles using canvas for the particles and how to create smooth animations using JavaScript and a bit of math. 📚 Materials/References: : Html2canvas: GitHub Code: Code Pen Code: 🧠 Concepts Covered: - - How to build rectangles in canvas - Custom particle systems in - How to be Thanos 😜 - How to make cats disappear 😿 🌎 Find Me Here: Twitter: GitHub: CodePen: #Thanos #JavaScript #ThanosSnap
Hide player controls
Hide resume playing