Coding for Visual Learners: Learning JavaScript from Scratch

Coding for Visual Learners: Learning JavaScript from Scratch

English | MP4 | AVC 1280×720 | AAC 44KHz 2ch | 4h 23m | 592 MB

Completely new to coding? This engaging course can help you pick up the popular JavaScript programming language, as well as a programming library called p5.js. As instructor Engin Arslan steps through the basics of JavaScript—discussing everything from operators to arrays—he focuses primarily on programming using JavaScript and p5.js and secondarily on creating visuals. And in contrast to many traditional coding courses, all of the content covered here is presented in a fun, compelling manner that helps visual learners grasp the material. To wrap up the course, Engin shows how to use your new coding skills to build an interactive game that can be deployed online.

Table of Contents

Introduction
1 Introduction
2 Why learn JavaScript
3 Learning JavaScript with p5.js

Getting Started
4 Environment setup
5 Getting started with JavaScript
6 Variables
7 Data types in JavaScript
8 Getting started with p5.js
9 Coordinate system in p5.js

Colors
10 Color functions in p5.js
11 Setting the color of the shapes

Operators and Variables
12 Operator precedence
13 Variables continued
14 Variable scope
15 Predefined variables in p5.js

Conditional Statements and Comparison Operators
16 Frame, frameRate, frameCount
17 Conditionals
18 Else Block

More p5.js Variables
19 MouseIsPressed
20 MouseX and mouseY

Loops
21 For Loop
22 Nested loops
23 Random function
24 Noise function

Functions
25 Creating functions
26 Return keyword

Objects
27 Introduction to JavaScript objects
28 Object methods and ‘this’ keyword
29 Constructor functions

Arrays
30 Working with arrays
31 Array.length property
32 Remainder operator

Events
33 MousePressed event function
34 KeyPressed event function

More p5.js
35 Rotate and translate
36 Push and pop functions

Final Project
37 Let’s build a game
38 Creating a number object
39 Animating text
40 Player interaction
41 Player feedback
42 Restarting the game
43 Improving the player experience
44 Fixing bugs

Conclusion
45 Congratulations

Homepage