Functions and more Canvas - JavaScript Programming Basics p.2

preview_player
Показать описание
Welcome to part 2 of the JavaScript basics tutorials. In this tutorial, we're going to continue working with the canvas as well as learning how to use functions.

Рекомендации по теме
Комментарии
Автор

If you wanna just draw things on the screen you should try P5.js which is a simple drawing library for JavaScript

egenethebest
Автор

For a moment I thought you're teaching js in python

benokankafkas
Автор

Slowly but surely we will get there, #conqueringJS...

bryancann
Автор

I tried calling blob function multiple times as in the video but the function was bring called by the first bolb call only the remaining 2 weren't being called.
Can any anyone help me out please!

techtonic
Автор

I found you on reddit, searching for beginner coding info, dipping my toes in as an electrician, thank you.

insignia
Автор

function print(str){
            console.log(str)
        }
now this feels better

mli
Автор

Glad there were no Tornado warnings today on your cellphone 😂

TheDistractionStudio
Автор

Will i be able to make a website better than my university website?

indranilkarmakar
Автор

If you use my editor it would all be in the same tab 🌝

Salehalanazi-
Автор

ways to defeine functions :
1. (...vars)=>{...}
2. element => element.test (= (element)=>{return element.test;})
3. function <name>(...vars){...}
ways to call functions:
1.

3 function <name> (...vars){...}; <name>(...vars);

for functions where you need a function as parameter using lamda functions is sometimes a better idea : mostly dependent on how often it is used
setTimeout(()=>{...}, 1000);
otherwise:
setTimeout(<name>, 1000)


since the context ('this') in javascript changes for events a sometimes useful structure is this:
(useful if you create a bunch of elements in a for loop for example which reassigns the reference after the loop)
function customOnload(){...}

jonathan-._.-
Автор

Please sentdex am New in python, can you please tell me on which playlist of your channel could i start learning python

MULTICODE
Автор

I'm dissapointed in the lack of IDE trolls in the comments.

jasonclement
Автор

You have me chuckling up a storm with the editor jokes. Thanks for making it fun 🤙🏽

livecoderepeat
Автор

Sir will you please help me with a problem I am facing with the deep learning commenter on video 5 on the playlist

neophyte
Автор

I had to "program" a moving picture (wind arrow with some buttons to configure wind speed etc.) in canvas for my Web-programming class ... i tell you, this stuff is straight cancer if not taught correctly - thank you for doing these videos (even when i would have needed them a few weeks earlier :) )

mnl
Автор

you still failed to explain what a context is

Tolstoievsky
Автор

Thank you for the upload. I just started web development but two years ago i started programming in Python first with the help of you channel.

southgecko
Автор

oh man i did the node canvas for a stupid discord basically copy pasting from examples thanks now i can do some nice art

_yuri
Автор

Just found out you can also draw multiple lines and shapes under the same stroke command. Cleans up the coding a little if you don't need to bring them in individually.

SuperEngineered
Автор

can you please make series of videos of how to put keras models on android phone ??

girish