Mastering HTML5 Canvas

Course

Online

£ 100 + VAT

Description

  • Type

    Course

  • Methodology

    Online

  • Start date

    Different dates available

Revolutionize web visualizations with the power of HTML5 canvas.Web development is an exciting, ever-changing world that is getting progressively dynamic. What web developers need in this fast-paced world is the power of controlling visualizations on the fly-and in comes HTML5 canvas to the rescue! Powered by JavaScript, this powerful 2D API helps developers create graphics and animations directly in the browser. It offers great portability and works on almost all modern browsers, making it accessible just about anywhere.Mastering HTML5 Canvas walks you through the fascinating arena of web development, covering all the critical concepts of drawing and manipulating pixels in the canvas through tons of examples and designs. We start the course off by introducing the foundations of the canvas API. You’ll learn how to create canvas elements dynamically and draw basic shapes, and you’ll get familiar with the work environment. Then we shift our focus on to drawing, where you will draw lines, original shapes, paths, and even multiple pointed shapes.Next, we’ll then leverage the logic that stands behind the cosine and sine functions and through them, create more complicated shapes. This new insight will enable you to create more complex and advanced shape combinations. We will continue our journey by getting to grips with the various types of curves, images, and gradient colors. Finally, we will deal with manipulation of the canvas itself.By the end of this course, you will know how to draw in HTML5 canvas, create complex shapes, and use angles, arcs, and curves to create your own art work. You will be a master of the HTML5 2D canvas API.About the Author
.
Ben Fhala discovered his passion for data visualization seven years ago while he was working at Parsons in New York, in their data visualization department, PIIM. He is the owner of the online video training school, 02geek.com, and an Adobe ACP

Facilities

Location

Start date

Online

Start date

Different dates availableEnrolment now open

About this course

Familiarize yourself with the foundations of working with the canvas 2D API
Control and regulate shapes with the help of quadratic and bezier curves
Explore interesting canvas methods to create paths, arcs, shapes, text, and images
Work with the beginPath and closePath methods to create your own geometric shapes
Use math-based interactions, such as sine and cosine, to build complex shapes and animations with ease
Get creative using the canvas features that control curves, colors, images, and gradients 
Fetch pixel data and manipulate it on the bitmap level with the canvas API
Enhance the look and feel of your text using transformation effects such as scale, translate, and rotate

Questions & Answers

Add your question

Our advisors and other users will be able to reply to you

Who would you like to address this question to?

Fill in your details to get a reply

We will only publish your name and question

Emagister S.L. (data controller) will process your data to carry out promotional activities (via email and/or phone), publish reviews, or manage incidents. You can learn about your rights and manage your preferences in the privacy policy.

Reviews

This centre's achievements

2021

All courses are up to date

The average rating is higher than 3.7

More than 50 reviews in the last 12 months

This centre has featured on Emagister for 6 years

Subjects

  • Javascript training
  • HTML
  • Javascript
  • Drawing
  • Web
  • Web Development

Course programme

Getting Started with HTML5 Canvas 5 lectures 29:35 The Course Overview This video will offer an overview of the course. Preparing Our JavaScript for Canvas Although most modern browsers support Canvas, not all of them do so. While we won't create an optimal experience for users without the HTML5 Canvas support, we want to create a graceful fallback experience. So, before we start our journey into Canvas, we will prepare our source files to accommodate failures.
  • Learn the basics of browser compatibility tests
  • Create a Canvas fallback
  • Work with ternary operators
Canvas Hello World We start our canvas journey by creating a simple rectangle in the process. We will learn how to define the Canvas size, a fill style, and how to fill it up using the fillRect method.
  • Let's create our first Canvas drawing
  • Next, we'll create a rectangle
  • Then, we'll define a style using fillStyle
The Palau Flag and the Perfect Circle In this video, we will continue working with the flag creation we started in the last video. By the end of this video, we will have created the complete flag of Palau along with a perfect arc—more commonly known as a circle.
  • We'll work with the arc method
  • Then, let's create a perfect circle
  • Finally, we'll create the Palau Flag
Creating Canvas Elements Dynamically Up until now, we worked with the Canvas element that we added onto the stage manually. We will now learn how to dynamically add new Canvas elements into our HTML.
  • Add multiple types of Canvas onto our page
  • Create a Canvas generator
  • Work with the DOM to create new Canvas elements
Getting Started with HTML5 Canvas 5 lectures 29:35 The Course Overview This video will offer an overview of the course. Preparing Our JavaScript for Canvas Although most modern browsers support Canvas, not all of them do so. While we won't create an optimal experience for users without the HTML5 Canvas support, we want to create a graceful fallback experience. So, before we start our journey into Canvas, we will prepare our source files to accommodate failures.
  • Learn the basics of browser compatibility tests
  • Create a Canvas fallback
  • Work with ternary operators
Canvas Hello World We start our canvas journey by creating a simple rectangle in the process. We will learn how to define the Canvas size, a fill style, and how to fill it up using the fillRect method.
  • Let's create our first Canvas drawing
  • Next, we'll create a rectangle
  • Then, we'll define a style using fillStyle
The Palau Flag and the Perfect Circle In this video, we will continue working with the flag creation we started in the last video. By the end of this video, we will have created the complete flag of Palau along with a perfect arc—more commonly known as a circle.
  • We'll work with the arc method
  • Then, let's create a perfect circle
  • Finally, we'll create the Palau Flag
Creating Canvas Elements Dynamically Up until now, we worked with the Canvas element that we added onto the stage manually. We will now learn how to dynamically add new Canvas elements into our HTML.
  • Add multiple types of Canvas onto our page
  • Create a Canvas generator
  • Work with the DOM to create new Canvas elements
The Course Overview This video will offer an overview of the course. The Course Overview This video will offer an overview of the course. The Course Overview This video will offer an overview of the course. The Course Overview This video will offer an overview of the course. This video will offer an overview of the course. This video will offer an overview of the course. Preparing Our JavaScript for Canvas Although most modern browsers support Canvas, not all of them do so. While we won't create an optimal experience for users without the HTML5 Canvas support, we want to create a graceful fallback experience. So, before we start our journey into Canvas, we will prepare our source files to accommodate failures.
  • Learn the basics of browser compatibility tests
  • Create a Canvas fallback
  • Work with ternary operators
Preparing Our JavaScript for Canvas Although most modern browsers support Canvas, not all of them do so. While we won't create an optimal experience for users without the HTML5 Canvas support, we want to create a graceful fallback experience. So, before we start our journey into Canvas, we will prepare our source files to accommodate failures.
  • Learn the basics of browser compatibility tests
  • Create a Canvas fallback
  • Work with ternary operators
Preparing Our JavaScript for Canvas Although most modern browsers support Canvas, not all of them do so. While we won't create an optimal experience for users without the HTML5 Canvas support, we want to create a graceful fallback experience. So, before we start our journey into Canvas, we will prepare our source files to accommodate failures.
  • Learn the basics of browser compatibility tests
  • Create a Canvas fallback
  • Work with ternary operators
Preparing Our JavaScript for Canvas Although most modern browsers support Canvas, not all of them do so. While we won't create an optimal experience for users without the HTML5 Canvas support, we want to create a graceful fallback experience. So, before we start our journey into Canvas, we will prepare our source files to accommodate failures.
  • Learn the basics of browser compatibility tests
  • Create a Canvas fallback
  • Work with ternary operators
Although most modern browsers support Canvas, not all of them do so. While we won't create an optimal experience for users without the HTML5 Canvas support, we want to create a graceful fallback experience. So, before we start our journey into Canvas, we will prepare our source files to accommodate failures.
  • Learn the basics of browser compatibility tests
  • Create a Canvas fallback
  • Work with ternary operators
Although most modern browsers support Canvas, not all of them do so. While we won't create an optimal experience for users without the HTML5 Canvas support, we want to create a graceful fallback experience. So, before we start our journey into Canvas, we will prepare our source files to accommodate failures.
  • Learn the basics of browser compatibility tests
  • Create a Canvas fallback
  • Work with ternary operators
Canvas Hello World We start our canvas journey by creating a simple rectangle in the process. We will learn how to define the Canvas size, a fill style, and how to fill it up using the fillRect method.
  • Let's create our first Canvas drawing
  • Next, we'll create a rectangle
  • Then, we'll define a style using fillStyle
Canvas Hello World We start our canvas journey by creating a simple rectangle in the process. We will learn how to define the Canvas size, a fill style, and how to fill it up using the fillRect method.
  • Let's create our first Canvas drawing
  • Next, we'll create a rectangle
  • Then, we'll define a style using fillStyle
Canvas Hello World We start our canvas journey by creating a simple rectangle in the process. We will learn how to define the Canvas size, a fill style, and how to fill it up using the fillRect method.
  • Let's create our first Canvas drawing
  • Next, we'll create a rectangle
  • Then, we'll define a style using fillStyle
Canvas Hello World We start our canvas journey by creating a simple rectangle in the process. We will learn how to define the Canvas size, a fill style, and how to fill it up using the fillRect method.
  • Let's create our first Canvas drawing
  • Next, we'll create a rectangle
  • Then, we'll define a style using fillStyle
We start our canvas journey by creating a simple rectangle in the process. We will learn how to define the Canvas size, a fill style, and how to fill it up using the fillRect method.
  • Let's create our first Canvas drawing
  • Next, we'll create a rectangle
  • Then, we'll define a style using fillStyle
We start our canvas journey by creating a simple rectangle in the process. We will learn how to define the Canvas size, a fill style, and how to fill it up using the fillRect method.
  • Let's create our first Canvas drawing
  • Next, we'll create a rectangle
  • Then, we'll define a style using fillStyle
The Palau Flag and the Perfect Circle In this video, we will continue working with the flag creation we started in the last video. By the end of this video, we will have created the complete flag of Palau along with a perfect arc—more commonly known as a circle.
  • We'll work with the arc method
  • Then, let's create a perfect circle
  • Finally, we'll create the Palau Flag
The Palau Flag and the Perfect Circle In this video, we will continue working with the flag creation we started in the last video. By the end of this video, we will have created the complete flag of Palau along with a perfect arc—more commonly known as a circle.
  • We'll work with the arc method
  • Then, let's create a perfect circle
  • Finally, we'll create the Palau Flag
The Palau Flag and the Perfect Circle In this video, we will continue working with the flag creation we started in the last video. By the end of this video, we will have created the complete flag of Palau along with a perfect arc—more commonly known as a circle.
  • We'll work with the arc method
  • Then, let's create a perfect circle
  • Finally, we'll create the Palau Flag
The Palau Flag and the Perfect Circle In this video, we will continue working with the flag creation we started in the last video. By the end of this video, we will have created the complete flag of Palau along with a perfect arc—more commonly known as a circle.
  • We'll work with the arc method
  • Then, let's create a perfect circle
  • Finally, we'll create the Palau Flag
In this video, we will continue working with the flag creation we started in the last video. By the end of this video, we will have created the complete flag of Palau along with a perfect arc—more commonly known as a circle.
  • We'll work with the arc method
  • Then, let's create a perfect circle
  • Finally, we'll create the Palau Flag
In this video, we will continue working with the flag creation we started in the last video. By the end of this video, we will have created the complete flag of Palau along with a perfect arc—more commonly known as a circle.
  • We'll work with the arc method
  • Then, let's create a perfect circle
  • Finally, we'll create the Palau Flag
Creating Canvas Elements Dynamically Up until now, we worked with the Canvas element that we added onto the stage manually. We will now learn how to dynamically add new Canvas elements into our HTML.
  • Add multiple types of Canvas onto our page
  • Create a Canvas generator
  • Work with the DOM to create new Canvas elements
Creating Canvas Elements Dynamically Up until now, we worked with the Canvas element that we added onto the stage manually. We will now learn how to dynamically add new Canvas elements into our HTML.
  • Add multiple types of Canvas onto our page
  • Create a Canvas generator
  • Work with the DOM to create new Canvas elements
Creating Canvas Elements Dynamically Up until now, we worked with the Canvas element that we added onto the stage manually. We will now learn how to dynamically add new Canvas elements into our HTML.
  • Add multiple types of Canvas onto our page
  • Create a Canvas generator
  • Work with the DOM to create new Canvas elements
Creating Canvas Elements Dynamically Up until now, we worked with the Canvas element that we added onto the stage manually. We will now learn how to dynamically add new Canvas elements into our HTML.
  • Add multiple types of Canvas onto our page
  • Create a Canvas generator
  • Work with the DOM to create new Canvas elements
Up until now, we worked with the Canvas element that we added onto the stage manually. We will now learn how to dynamically add new Canvas elements into our HTML.
  • Add multiple types of Canvas onto our page
  • Create a Canvas generator
  • Work with the DOM to create new Canvas elements
Up until now, we worked with the Canvas element that we added onto the stage manually. We will now learn how to dynamically add new Canvas elements into our HTML.
  • Add multiple types of Canvas onto our page
  • Create a Canvas generator
  • Work with the DOM to create new Canvas elements
Creating Shapes Using Paths 5 lectures 44:16 Drawing Our First Canvas Lines We learned as we created the flag for Palau that when we create a circle using the arc method, we have to trigger a request separately to fill the shape. This is true for all shapes that we create from scratch, and it is true for the creation of lines as well. In this video, we shift our attention to lines.
  • We'll move our mouse pointer with the moveTo method
  • Draw a line with the lineTo method
  • Here, you'll see the difference between fill and stroke
Meeting Canvas Paths In the previous video we, started to create the flag of Greece. We are still short on a few lines of code to complete this flag, but before we can complete creating the flag, we'll encounter another new concept—paths. By the end of this video, you will understand how to work with paths in HTML5 Canvas.
  • Move from standalone lines to paths
  • Explicitly define the start point of a shape
  • Draw the flag of Greece
Drawing Triangles with Paths In this video, we will take advantage of the new method we were introduced to in the previous video, beginPath, to define a path. Only this time, we will define this path as a closed path. By the end of this video, you will know how to work with the beginPath and closePath methods and create your own geometric shapes.
  • Work with the beginPath and closePath methods
  • Create a utility function
  • Draw a triangle in Canvas
Creating the Flag of Guyana In this video, we will take advantage of the new utility function that we created in the previous video to create the flag of Guyana. In the process, we will learn how to create relative designs that can easily scale.
  • Create relative resizable designs
  • Utilize our new fillTriangle function
  • Create the flag of Guyana
Creating Multipoint Shapes In this video, we continue down the road while creating a multishaped object. By the end of this video, you will have a deep understanding of how to work with paths to create complex shapes.
  • Create multipoint shapes
  • Use loops to create patterns
  • Create the flag of Bahrain
Creating Shapes Using Paths e are many flags that...

Additional information

Basic knowledge of HTML and HTML5 is required

Mastering HTML5 Canvas

£ 100 + VAT