Frank's Laboratory Creative coding tutorials, vanilla JavaScript, HTML canvas, CSS experiments, no frameworks, no libraries

Hi. My name is Frank, I do creative coding tutorials using vanilla JavaScript and HTML canvas. Sometimes I also experiment with CSS.

Check out my YouTube channel, where you can find tutorials for beginners as well as advanced vanilla JavaScript projects. Lately I have been doing a lot of generative art, particle systems effects, JavaScript animations and game development

You can also follow me on Twitter if you want to contact me or see previews of my upcoming tutorials

Advanced Animated Website Backgrounds with Vanilla JavaScript and HTML5 Canvas

Added at 12:32 pm on October 25, 2020

Today I will show you something you might not have seen before. Join me for this advanced JavaScript project tutorial and take your creative coding to the next level. I will code everything completely from scratch and explain what every single line of code does, as I always do. I gave you a choice between Read More…

How to rotate particles and images on HTML canvas

Added at 1:02 pm on October 12, 2020

In today’s front end web development project tutorial we will talk about rotating shapes, images and particles with plain vanilla JavaScript on HTML canvas. It can be tricky for beginners, because the concept of how it works is completely different from rotating elements with just CSS. It is very simple if explained properly so that’s Read More…

How to animate SVG filters

Added at 12:54 pm on

Here is another different way to create liquid buttons effect. In this HTML, CSS and JavaScript tutorial I will show you to get complete granular control of inline SVG turbulence filter, we will learn how to animate it’s vertical frequency attribute and how to create our own custom animation timeline. All from scratch, no frameworks Read More…

JavaScript Game Development Tutorial [How to use Local Storage]

Added at 7:22 pm on September 11, 2020

Have you ever built an ad-don? Let’s start simple and learn how to use local storage in the process. In today’s JavaScript game development tutorial for beginners we will create a plugin that tracks, updates and stores high score. We will also talk about logical operators in JavaScript (OR/AND/NOT) and other fundamental vanilla JavaScript techniques Read More…

HTML Canvas Particles – JavaScript project tutorial for beginners

Added at 4:05 pm on September 4, 2020

Do you want to bring your website to life? In today’s JavaScript project tutorial for beginners I will take you through a step by step process on how to create your first particle system on HTML canvas element. We will give particles physics (wind and gravity) and we will learn how to make particles bounce. Read More…

Star Wars Whack-A-Mole [JavaScript Game Tutorial for Beginners]

Added at 12:48 pm on August 28, 2020

In this JavaScript game tutorial for beginners I will take you step by step though a complete game development process. We will improve our front end web development coding skills and learn about ES6 syntax, event listeners, how to control CSS styles and classes with JavaScript, what’s the difference between setTimeout and setInterval, how to Read More…

Optical illusions with CSS [Project Tutorial for Beginners]

Added at 10:33 pm on August 21, 2020

Welcome to another CSS animation tutorial for beginners. Today we will build animated background effect together. In this series I help you to learn front end web development by taking you step by step through all different kinds of creative HTML and CSS projects. This tutorial is part of a series – CSS 3 Creative Read More…

How to Draw Shapes with JavaScript [HTML5 Canvas Tutorial for Beginners]

Added at 1:40 pm on August 16, 2020

Let’s learn how to draw shapes with JavaScript and create fabulous Fibonacci flowers all from scratch with just plain vanilla JavaScript. In this HTML5 Canvas Tutorial for Beginners we will take a look under the hood to see how canvas 2D API draws shapes and then we use that knowledge to create colorful flowers and Read More…

Particles.js text effect with Vanilla JavaScript (no libraries)

Added at 5:34 pm on August 12, 2020

Let’s take any letter, word or a sentence and in three steps convert it into interactive particles effect. All in Vanilla JavaScript, no frameworks and no libraries. In today’s vanilla JavaScript text animation tutorial we will learn how to give particles some motion physics and apply forces such as friction and acceleration, then we will Read More…

Frogger Game with Vanilla JavaScript

Added at 8:22 pm on July 24, 2020

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 Read More…

HTML Canvas Draw Image Animation with JavaScript

Added at 10:32 pm on July 7, 2020

In this tutorial for beginners we will build 2 projects and practice image animation with JavaScript using built in HTML canvas draw image method. Did you know that in any generative art project you can replace particles with images? In this tutorial for beginners we will build 2 projects and practice image animation with JavaScript Read More…

Splash Letters [Vanilla JavaScript Project Tutorial]

Added at 3:02 pm on June 30, 2020

HTML Canvas Mouse Move Animation Some of you asked for more generative art so today we will build a particle system algorithm and turn in into mouse trail effect that switches into autopilot whenever user stops moving the mouse or leaves the canvas. This tutorial is part of a series – Creative coding with vanilla Read More…

Flappy Bird Game from scratch – Vanilla JavaScript Coding Tutorial

Added at 9:12 pm on June 29, 2020

Flappy Bird is one of the most beginner friendly coding projects. In this HTML canvas game tutorial we will build it from scratch with plain vanilla JavaScript and I will show you how to add particle effects and sprites to make it stand out. No frameworks and no libraries. First we will start with a Read More…

‘Surprise under the box’ 3D menu animation

Added at 9:14 pm on August 7, 2019

Working example inside, tutorial coming soon …

First letter & background creative button animation

Added at 2:56 pm on June 20, 2019

Quick and easy creative typography animation tutorial

Image hover effect – breaking into pieces

Added at 10:53 am on May 6, 2019

In this guide I’ll show you how to use background-size and background-position CSS properties to break image into pieces and put it back together

3D layered animation with CSS transforms

Added at 6:26 pm on April 27, 2019

There are many effects we can create with CSS transforms. In this guide I will show how to create illusion of 3D space with transform:translate()

Liquid effect in CSS with SVG filters

Added at 4:41 pm on March 1, 2019

Everything in the DOM is a square and developers go to great lengths to give their CSS animations round or assymetric features. SVG filters introduced in CSS3 give us so many new options, I will show you how to create so called ‘sticky/liquid’ effect in few easy steps.

Honeycomb navigation bar with CSS clip-path

Added at 11:11 am on February 26, 2019

This time I will show you how to use CSS3 clip-path property and .not() selector for animations

CSS animations on social media buttons

Added at 7:13 am on January 21, 2019

In this series I will show you how to create few of my favourite CSS button animations. Each guide will contain simple step by step process and I will highlight new less known CSS properties as we use them.