Uploaded December 2025 | Updated November 2026, 4 hours ago
Do you want more? Let's turn fractals into night MOTHS ๐ฆ and horror BATS ๐ฆ. In the extended class we dive deep into dark magic udemy.com/course/javascript-magic-academy-procedural-creatures/?referralCode=DFE88FBA720A27276154
Craft your own spells with vanilla JavaScript and HTML Canvas. In this course, you'll learn to draw recursive shapes, apply transformations, create multiple draw modes, and build a flexible fractal engine using classes. Explore randomization, color, and geometry to generate complex digital art while gaining hands-on experience with fundamental canvas techniques and object-oriented JavaScript. Master procedural fractal art with vanilla JavaScript and HTML Canvas.
Download the source code and start experimenting with your own procedural generation projects today: code-laboratory.kit.com/0b22007bce
๐ Continue Learning (Creative Coding Courses)
๐ Next Level Flow Fields udemy.com/course/creative-coding-deep-dive-for-beginners/?referralCode=F43E8FCE60957A64DF4A
๐ง Advanced Text & Particle Effects udemy.com/course/learn-html-canvas-advanced-text-effects/?referralCode=4C5821D2D04048CC4A01
โ๏ธ Pixels, Particles & Physics udemy.com/course/learn-html-canvas-pixels-particles-physics/?referralCode=F7977062A4BC964A1F5E
Thank you to everyone who left a 5-star review on any of my classes, it massively helps to make my work sustainable and lets me create more free projects for everyone here on YouTube
Lessons:
01:04 Make Art with Code: Drawing with JavaScript & HTML Canvas
Learn how to create stunning digital art using vanilla JavaScript and HTML Canvas, from basic shapes to dynamic compositions.
09:22 Fun with Fractals: Drawing Recursive Shapes
Discover the magic of recursion by generating fractal patterns and repeating shapes programmatically.
00:16:22 Twist it! Bend it! Break it!: Canvas Transformations
Master canvas transformations like rotate, scale, and translate to manipulate shapes in creative ways.
27:10 Potion Mixing: Procedural Properties & Randomization
Experiment with random values and procedural properties to make each generated fractal unique.
34:21 Source Code (Fractal_laboratory_P1.html)
Access the complete source code for the lessons covered so far to follow along or modify.
34:37 Runic Geometry: Fractal Formulas & Shape Distribution
Dive deeper into fractal mathematics, formulas, and distributing shapes to create complex designs.
39:05 Better Spell Engine: Refactoring to Classes
Refactor your code into a class-based structure to make your fractal engine modular and reusable.
44:47 Source Code (Fractal_laboratory_P2.html)
Download the updated source code for the advanced fractal formulas and patterns.
45:20 Opening the Portal: Fullscreen Canvas & Resize Handling
Learn to make your canvas responsive, full-screen, and handle window resizing seamlessly.
48:17 The First Transmutation: Alternative Draw Modes
Experiment with different draw modes to replace lines with circles or other shapes in your fractals.
52:23 Draw Mode: Sparks
Add dynamic spark effects to your fractals using procedural shapes and canvas transformations.
56:37 Draw Mode: Electricity
Bring energy to your fractals with jagged, glowing electricity effects using canvas shadows and lines.
Learn how to create stunning fractals and procedural art using vanilla JavaScript and HTML Canvas! In this coding tutorial, we explore recursive shapes, dynamic draw modes like sparks and electricity, and procedural properties to bring your creative ideas to life.
Follow along to learn techniques for canvas transformations, class-based code structure, and controlling your fractals with randomness, light, and color. Perfect for beginners and intermediate developers who want to turn code into visual magic.
#JavaScript #VanillaJavaScript #HTMLCanvas #CreativeCoding #CodingArt #GenerativeArt #CanvasAPI #WebDevelopment #LearnToCode #CodingTutorial #ProgrammingForArtists #CodeArt #RecursiveShapes #WebDev #FrontEndDevelopment #VisualCoding #frankslaboratory
Do you want more? Let's turn fractals into night MOTHS ๐ฆ and horror BATS ๐ฆ. In the extended class we dive deep into dark magic udemy.com/course/javascript-magic-academy-procedural-creatures/?referralCode=DFE88FBA720A27276154
Craft your own spells with vanilla JavaScript and HTML Canvas. In this course, you'll learn to draw recursive shapes, apply transformations, create multiple draw modes, and build a flexible fractal engine using classes. Explore randomization, color, and geometry to generate complex digital art while gaining hands-on experience with fundamental canvas techniques and object-oriented JavaScript. Master procedural fractal art with vanilla JavaScript and HTML Canvas.
Download the source code and start experimenting with your own procedural generation projects today: code-laboratory.kit.com/0b22007bce
๐ Continue Learning (Creative Coding Courses)
๐ Next Level Flow Fields udemy.com/course/creative-coding-deep-dive-for-beginners/?referralCode=F43E8FCE60957A64DF4A
๐ง Advanced Text & Particle Effects udemy.com/course/learn-html-canvas-advanced-text-effects/?referralCode=4C5821D2D04048CC4A01
โ๏ธ Pixels, Particles & Physics udemy.com/course/learn-html-canvas-pixels-particles-physics/?referralCode=F7977062A4BC964A1F5E
Thank you to everyone who left a 5-star review on any of my classes, it massively helps to make my work sustainable and lets me create more free projects for everyone here on YouTube
Lessons:
01:04 Make Art with Code: Drawing with JavaScript & HTML Canvas
Learn how to create stunning digital art using vanilla JavaScript and HTML Canvas, from basic shapes to dynamic compositions.
09:22 Fun with Fractals: Drawing Recursive Shapes
Discover the magic of recursion by generating fractal patterns and repeating shapes programmatically.
00:16:22 Twist it! Bend it! Break it!: Canvas Transformations
Master canvas transformations like rotate, scale, and translate to manipulate shapes in creative ways.
27:10 Potion Mixing: Procedural Properties & Randomization
Experiment with random values and procedural properties to make each generated fractal unique.
34:21 Source Code (Fractal_laboratory_P1.html)
Access the complete source code for the lessons covered so far to follow along or modify.
34:37 Runic Geometry: Fractal Formulas & Shape Distribution
Dive deeper into fractal mathematics, formulas, and distributing shapes to create complex designs.
39:05 Better Spell Engine: Refactoring to Classes
Refactor your code into a class-based structure to make your fractal engine modular and reusable.
44:47 Source Code (Fractal_laboratory_P2.html)
Download the updated source code for the advanced fractal formulas and patterns.
45:20 Opening the Portal: Fullscreen Canvas & Resize Handling
Learn to make your canvas responsive, full-screen, and handle window resizing seamlessly.
48:17 The First Transmutation: Alternative Draw Modes
Experiment with different draw modes to replace lines with circles or other shapes in your fractals.
52:23 Draw Mode: Sparks
Add dynamic spark effects to your fractals using procedural shapes and canvas transformations.
56:37 Draw Mode: Electricity
Bring energy to your fractals with jagged, glowing electricity effects using canvas shadows and lines.
Learn how to create stunning fractals and procedural art using vanilla JavaScript and HTML Canvas! In this coding tutorial, we explore recursive shapes, dynamic draw modes like sparks and electricity, and procedural properties to bring your creative ideas to life.
Follow along to learn techniques for canvas transformations, class-based code structure, and controlling your fractals with randomness, light, and color. Perfect for beginners and intermediate developers who want to turn code into visual magic.
#JavaScript #VanillaJavaScript #HTMLCanvas #CreativeCoding #CodingArt #GenerativeArt #CanvasAPI #WebDevelopment #LearnToCode #CodingTutorial #ProgrammingForArtists #CodeArt #RecursiveShapes #WebDev #FrontEndDevelopment #VisualCoding #frankslaboratory


![How to Make a Game with JavaScript and HTML Canvas | Keyboard Input & Sprite Animation [Vanilla JS]
Do you like pixel art? In this episode of my game development series I will show you how to make a game with JavaScript and HTML canvas from scratch with no libraries. We will learn more about sprite animation, keyboard input and we will build custom algorithm to control how often request animation frame method serves frames of animation loop using Data.now() JavaScript method. All with vanilla JS.
We will practice JavaScript techniques that are useful for web development in general, not just for games. We are front end web developers and these exercises are here to help up us to improve our skill set and learn new things. We will focus on event listeners, array manipulation and pulling and handling data stored in an object and while doing that will learn how to create a player character and move it around canvas with keyboard.
If you want source code to my tutorials I have made some of my videos available on live coding platform Eversparked. You can watch my videos with LIVE browser preview and live code that can be copied and adjusted at any stage. I really like the project idea, I wish I had a tool like that when learning hot to code. Let me know what you think https://bit.ly/3djMrF6
You can message me on TWITTER https://twitter.com/code_laboratory
Check out some of my source code on CODEPEN https://codepen.io/franksLaboratory
Sprite sheets:
http://untamed.wild-refuge.net/rmxpresources.php?characters
ALTERNATIVE BACK UP FILES since the original site is down, let me know when the site is back up please
https://www.frankslaboratory.co.uk/downloads/chewie.png
https://www.frankslaboratory.co.uk/downloads/starwarssprites.zip
Backup link: https://ibb.co/Pj24jSz
Background image:
https://pixeldra.in/u/ZhZrYLJR
https://www.frankslaboratory.co.uk/downloads/tattooine_game_background.png
https://ibb.co/jzY654g
In the previous episode I just placed the background image in our game using CSS, this time we will do it properly and draw game background on canvas. Since we are using simple pixel art sprites we want to be able to set custom fps to request animation frame method, by default the animation will be extremely fast on most modern computers and characters will be zooming across the screen and especially sprites will be animating way too fast. There is a way to throttle sprite animation with algorithm.
We could also simply slow down our game by using custom set interval instead of using request animation frame, but lets do it the proper way and employ the best practices, I will show you an algorithm that will allow us to set FPS for our game in milliseconds, which will be consistent across all machines regardless of how strong users computer is using data.now JavaScript method.
I have pure vanilla JavaScript animation series, in each tutorial we create all different kinds of interactive animated effects from scratch. No plugins, no libraries, no frameworks. Every line of code is explained to give you hands on experience and teach you as much JavaScript as possible. If you want more creative JavaScript tutorials, HTML canvas animations, interactive animated effects to code along, video guides for beginners as well as advanced pure vanilla JavaScript, check out the playlist here:
https://www.youtube.com/watch?v=afdHgwn1XCY&list=PLYElE_rzEw_siuo-kkHh5h7Sk 6IPYNh
For more creative vanilla JavaScript tutorials, CSS tricks, HTML canvas animations, front end web development and web design guides, subscribe to the channel and click the bell icon to get notified when I release a new video.
If you want to improve your Front End Web Developmnent skills, check out my CSS tutorial series where we explore animations and effects that can be done with modern CSS3 techniques:
https://www.youtube.com/watch?v=loKyT99W2s8&list=PLYElE_rzEw_t2O2DvfopIoq-diTgefVzV
#javascript #html5canvas #frankslaboratory
The description of this video may contain affiliate links, which means that if you buy one of the products that I recommend, Ill receive a small commision 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! How to Make a Game with JavaScript and HTML Canvas | Keyboard Input & Sprite Animation [Vanilla JS]](https://i.ytimg.com/vi/EYf_JwzwTlQ/mqdefault.jpg)




![Learn JavaScript By Building Games | How To Make A Game With Vanilla JS [Frogger]
In todays creative coding tutorial we will learn JavaScript by building games. I will teach you how to make a game with vanilla JS and HTML canvas element all from scratch with no libraries. We will focus on collision detection, keyboard input, frame-rate optimization and sprite animation, but every technique we learn can be used for other web development projects as well, not just for games. The skills and techniques I am about to teach you today will help you build your own unique games faster, but you can also apply them in any other JavaScript project, we are using pure vanilla JavaScript so everything we learn here are transferable skills.
LIKE the video please if youre getting value out of my tutorials and SUBSCRIBE if you want to learn more vanilla JavaScript!
Some of my favorite UDEMY courses:
*** Creative coding ***
How to Program Games: Tile Classics in JS for HTML5 Canvas https://bit.ly/2ZUfKuG
Next Level CSS Creative Hover & Animation Effects https://bit.ly/3jEkzju
*** CSS / Front-end web development ***
The Web Developer Bootcamp (Older but still very relevant) https://bit.ly/2ZZJM0d
Modern HTML & CSS From The Beginning (Including Sass) https://bit.ly/2Ec6Cch
Advanced CSS and Sass: Flexbox, Grid, Animations and More! https://bit.ly/3g0uqxT
*** Vanilla JavaScript from beginner to advanced ***
JavaScript Basics for Beginners https://bit.ly/32Tn5wq
JavaScript: Understanding the Weird Parts https://bit.ly/2WVe0zn
The Complete JavaScript Course 2020: Build Real Projects! https://bit.ly/3fXGwaZ
Modern JavaScript From The Beginning https://bit.ly/3fWJgWk
Object-oriented Programming in JavaScript https://bit.ly/3f4Otu0
Recommended book: Game Programming Patterns https://amzn.to/2ZlnplB (Amazon)
If you are really interested in game development check out this book. Its written in pseudo-code so it can be used for any programming language, if you are able to follow this video you will be able to use this book. It covers game development concepts that will eventually help you how to create much more complicated games, frogger game we are building today is very basic, but it is a nice project for beginners to practice JavaScript on.
Sprites & background images:
Project files:
All files zip: https://www.frankslaboratory.co.uk/downloads/Frogger/Frogger.zip
Individual files:
Background https://www.frankslaboratory.co.uk/downloads/Frogger/background.png
Background 2 https://www.frankslaboratory.co.uk/downloads/Frogger/background_lvl2.png
Background 3 https://www.frankslaboratory.co.uk/downloads/Frogger/river_bank.png
Background 4 https://www.frankslaboratory.co.uk/downloads/Frogger/grass.png
Frogger spritesheet https://www.frankslaboratory.co.uk/downloads/Frogger/frog_spritesheet.png
Cars https://www.frankslaboratory.co.uk/downloads/Frogger/cars.png
Collisions https://www.frankslaboratory.co.uk/downloads/Frogger/collisions.png
Turtles https://www.frankslaboratory.co.uk/downloads/Frogger/turtles.png
Log https://www.frankslaboratory.co.uk/downloads/Frogger/log.png
This tutorial is part of a series - COMPLETE PLAYLIST:
https://www.youtube.com/watch?v=lGJ9i6CYKyQ&list=PLYElE_rzEw_siuo-kkHh5h7Sk 6IPYNh
Today we are going to take things we have have learned in this series so far - and create a bigger polished game you can show off on your coding portfolio or personal website. It is a remake of classic Konami arcade game released in 1981, it received a popular sequel for PC and PlayStation 1 in 1997 and there are multiple clones for this game concept like go chicken go. Lets build FROGGER! :)
Tools I use:
Adobe Creative Cloud https://bit.ly/3e60cI0 (official Adobe website to buy Creative Suite applications)
Recommended channel: Ania Kubรณw #JavaScriptGames
https://www.youtube.com/channel/UC5DNytAJ6_FISueUfzZCVsw
You can message me on TWITTER https://twitter.com/code_laboratory
Check out some of my source code on CODEPEN https://codepen.io/franksLaboratory
#javascript #htmlcanvas #frankslaboratory
Music:
Business / Corporate by Mixaund | https://mixaund.bandcamp.com
Music promoted by https://www.free-stock-music.com
The description of this video may contain affiliate links, which means that if you buy one of the products that I recommend, Ill 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! Learn JavaScript By Building Games | How To Make A Game With Vanilla JS [Frogger]](https://i.ytimg.com/vi/GXvNEwu9cgM/mqdefault.jpg)

![CSS Parallax Tutorial for Beginners [ Creative Web Design Ideas ] Animated CSS3 Card Hover Effects
Hi coders, I have couple more creative web design ideas for you today, in this CSS parallax tutorial for beginners I want to talk about parallax effect and its implementation in web development and web design with nothing but CSS & HTML. We will build a project as usual, this time in will include really cool animated CSS3 card hover effects, I really hope you like it. In general definition parallax is the perceived change in position of an object from two different places. It occurs when an object is viewed from different positions. In animation and web design - parallax is a technique in computer graphics where background images move past the camera slower and foreground images move faster, tricking our brain into creating an illusion of depth in a 2D scene. We will use it to create animated cards. There are multiple ways to implement parallax with CSS, we will do it the proper way, with CSS3 transforms, and we will learn about not commonly used translateZ CSS3 function. In todays beginner level tutorial we will also take a look at CSS perspective property and I will show you exactly how to use it and what it does.
Inspired by:
https://codepen.io/cobra_winfrey/pen/mdeWpZZ
https://twitter.com/cobra_winfrey
IMAGES
balloon:
https://imgur.com/1sufh5R
https://ibb.co/DzDs5P0
https://pixeldra.in/u/U5XucH5Z
clown:
https://imgur.com/a/ybcVjrI
https://ibb.co/nLS5jXq
https://pixeldra.in/u/9mJgWdRY
town:
https://imgur.com/a/c1uM1k2
https://ibb.co/JrFGg5V
https://pixeldra.in/u/mb9CFMod
all 3 images in zip archive:
https://we.tl/t-VnAdT4cHwi
*** Creative Web Design Ideas CSS Parallax Tutorial for Beginners Animated CSS3 Card Hover Effects ***
For more creative CSS animation tutorials for beginners as well as advanced HTML & CSS guides, hover animation and transition examples from scratch with pure vanilla CSS, new experimental animations on buttons, menus, forms and other web elements, CSS animation examples, creative ideas for web design, advanced CSS selectors and the best CSS tricks of 2019, check out my CSS3 & HTML5 playlist:
https://www.youtube.com/watch?v=TbI7TFjlDbU&list=PLYElE_rzEw_t2O2DvfopIoq-diTgefVzV
I also have pure vanilla JavaScript animation series, in each tutorial we create all different kinds of interactive animated effects from scratch. No plugins, no libraries, no frameworks. Every line of code is explained to give you hands on experience and teach you as much JavaScript as possible. If you want more creative JavaScript tutorials, HTML canvas animations, interactive animated effects, code alongs, video guides for beginners as well as advanced pure vanilla JavaScript, check out the playlist here:
https://www.youtube.com/watch?v=afdHgwn1XCY&list=PLYElE_rzEw_siuo-kkHh5h7Sk 6IPYNh
If you liked this advanced CSS3 tutorial Im sure you will enjoy other videos on my channel. You can find HTML Canvas Animation Tutorials, JavaScript tutorials, animated effects and step by step animation guides, each video shows many examples of the final effect. I will help you learn modern web development techniques by building real projects you can show off on your personal website or GitHub. Code along with me and gain skills to get your first job in the industry. If I could do it you can do it too. If you decide to code along and modify the effects, share your Codepen/JS Fiddle in the comments, I want to see what you came up with.
For more creative vanilla JavaScript tutorials, CSS tricks, HTML canvas animations, front end web development and web design guides, subscribe to the channel and click the bell icon to get notified when I release a new animation tutorial.
#css3 #html5 #frankslaboratory
Music:
Business / Corporate by Mixaund | https://mixaund.bandcamp.com
Music promoted by https://www.free-stock-music.com CSS Parallax Tutorial for Beginners [ Creative Web Design Ideas ] Animated CSS3 Card Hover Effects](https://i.ytimg.com/vi/Hx2R1GbVwr0/mqdefault.jpg)
