4.1: Variables - Processing Tutorial

  Рет қаралды 197,323

The Coding Train

The Coding Train

Күн бұрын

Пікірлер: 132
@onlyphotoshop9766
@onlyphotoshop9766 5 жыл бұрын
I am so happy no one has cut out those funny parts of the video. Those 3-4 minutes more of fun are totally worth it
@tetlib116
@tetlib116 5 жыл бұрын
I've never thought that I would be so excited to see coding tutorials on KZbin. Most of them are ending for me on the second videos, but I've watched a ton of yours and it gets only more interesting! Thanks
@seankellogg7884
@seankellogg7884 6 жыл бұрын
I saw the ball go right into the corner of the window and it was really satisfying
@GermanLoLGam3r
@GermanLoLGam3r 8 жыл бұрын
"If a variable is declared and initialized in the forest but isn't used, does it make a pixel on the screen?" - Daniel 2015
@nusrayusuf9174
@nusrayusuf9174 4 жыл бұрын
No it doesnt. There u have your answer after 3 years
@Dirt_Wizard
@Dirt_Wizard 8 жыл бұрын
You're amazing man, I'm struggling through an assignment in processing for Uni and the best thing about this is your excitement in these videos.
@nahidav1860
@nahidav1860 8 жыл бұрын
I just realized you are the author of the book I have next to me
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
+nahidav hope you are enjoying watching!
@nahidav1860
@nahidav1860 8 жыл бұрын
+Daniel Shiffman yes definitely, you're videos and book are really helpful and helped me learn a lot
@MahadKhaliq
@MahadKhaliq 6 жыл бұрын
Book's name?
@deeblite
@deeblite 2 жыл бұрын
Your enthusiasm and energy level for this stuff is absolutely infectious.
@cintialandaver4450
@cintialandaver4450 8 жыл бұрын
Daniel!!! You seriously kick ass!! I'm learning soooo much and your fun as hell to watch! Thank you for being you! Processing is so much fun =D!!!
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
Thank you so much!
@newmagicfilms
@newmagicfilms 8 жыл бұрын
Daniel you're awesome , you like what you do , i love what you do , you have a new way to explain things...and for the first time i m happy someone show his face ... you use that advantage ... you DRAW , you show so much by moving hands , making jokes ... you are so happy when you start a new video. SUBBED ,LIKED EVERY VIDEO I'VE WATCHED!
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
Thank you!
@kuskus_th13
@kuskus_th13 8 жыл бұрын
I agree and I've been watching Daniel for like 1 day :D He deserves the 100K he's coming to
@newmagicfilms
@newmagicfilms 8 жыл бұрын
2 days ago he had 80k now he has 99... is growing FAST!
@worthlesshacks6364
@worthlesshacks6364 4 жыл бұрын
I'm currently doing my final year project on path-finding algorithms using processing and I'm literally binge-watching your tutorials. I absolutely love it
@annabacheva
@annabacheva 8 жыл бұрын
This is how I'm going to look like after I learn Processing! Extremely happy!
@hansschipperijn
@hansschipperijn 9 жыл бұрын
I love your enthusiasm for code. Together with Sal Khan the best teachers on the web!
@ragnaboy6746
@ragnaboy6746 4 жыл бұрын
The " RAWNESS" of the video made it more prices and onpoint.
@Saiintx
@Saiintx 2 жыл бұрын
I LOVE YOUR CHANNEL!! You are singlehandedly going to get me through this coding class that is giving me endless stress. Thank you so much, you are an amazing teacher!
@SimonTiger
@SimonTiger 5 жыл бұрын
9:58 Little clarification: There are _some_ constraints for the name of a variable: - It can only contain Uppercase and lowercase letters, numbers, and underscores. - It cannot start with a number. But still, _pretty much_ anything that your heart imagines.
@zeinaissa6975
@zeinaissa6975 4 жыл бұрын
im literally just binge-watching your videos at 4 am because you're literally amazing
@MrPixifan
@MrPixifan 8 жыл бұрын
this is much more than just a processing course, you really make programming logic easy to understand, thanks so much for your videos
@jusaggoldcow1125
@jusaggoldcow1125 7 жыл бұрын
i've had many false starts learning processing, with long periods of inactivity in between. but i feel like i finally am starting out well cos of these videos and your book. thanks for your energy daniel
@marjoleinb3525
@marjoleinb3525 7 жыл бұрын
I just started with js, and stumbled across this channel. It's supper helpful and love how enthusiastic and happy you are. It just brightens up my day.
@marvashwaiki7980
@marvashwaiki7980 6 жыл бұрын
I like your energy Daniel , thank you so much for your time and effort
@adsoyad2607
@adsoyad2607 7 жыл бұрын
You're the best code teacher I've ever seen. Explanations are so clear. :)
@gusgus1330
@gusgus1330 Жыл бұрын
Working through these along your book Learning Processing! Both still incredibly fun despite their age and still (so far) work using P4. Looking forward to what you cover in the new series on Processing you discussed doing in one of you recent videos!
@faraazsaeed5505
@faraazsaeed5505 7 жыл бұрын
Daniel thank you so much for what you have done... I learn so much from you and you made me like processing so much that I started using this program every day. Not only this... You made me happy in other ways too.
@rowanandthewildthings5680
@rowanandthewildthings5680 3 жыл бұрын
Thanks so much for these tutorials. I haven't coded since using basic in about 1991 and you are so easy to follow and fun to watch.
@isaacmijangos
@isaacmijangos 7 жыл бұрын
This guy is has the right attitude! makes learning this so much more fun :)
@ekehchioma3104
@ekehchioma3104 4 жыл бұрын
You are simply a sweet man. I am happy I found you. Great teacher. 😂😂😂❤️ @Chioma from Nigeria.
@AlexCio
@AlexCio 4 жыл бұрын
this was a quiet long explanation for a variable. love it 😁👌🏿
@Anarchivist343
@Anarchivist343 8 жыл бұрын
This makes so much more sense than my professor who also worked on this book but goes way too fast.
@mikeroot9702
@mikeroot9702 8 жыл бұрын
After watching your videos I was inspired to get the book (Learning Processing, 2nd Ed.). Now I'm re-watching the videos; learning even more than the first time around. You rock. Thanks for making programming fun! #zoog #incrementaldevelopment
@stephenkrus
@stephenkrus 2 жыл бұрын
This is THE Greatest, simple explanation of what a #Variable is. As noobie coder... that breakdown is so clear and awesome! 💎✨👍
@davidrodriguezcodina7491
@davidrodriguezcodina7491 8 жыл бұрын
Man! watching you is better than a movie. You're hilarious and you are an awesome teacher. Un saludo y gracias!!
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
+David Rodriguez Codina thank you!!
@MOS6582
@MOS6582 4 жыл бұрын
This guy is great. I will watch all of his videos.
@Rubenjr005
@Rubenjr005 7 жыл бұрын
Before this video I had no clue what a Variable is and thanks to you now I know. thank you,.
@rairsolis1555
@rairsolis1555 3 жыл бұрын
Eres un chingón. You are a crack. Regreats from México, i´m studyn a Master Degree about water distribution networks and belive me, this is so helpfull, is amazing. Really thank you man! From Guanajuato University
@fabriziopizarro3014
@fabriziopizarro3014 8 жыл бұрын
My best teacher ever!!! You´re amazing Daniel.... I just have one question, do you have where i can find exercices for processing? Thanks
@RobberDoDoro
@RobberDoDoro 8 жыл бұрын
I really like your teaching style!! I am your fans ~
@LUCAMARTINEZ-u3z
@LUCAMARTINEZ-u3z Жыл бұрын
I love how nerdy this guy is
@kripTK
@kripTK 8 жыл бұрын
Grazie mille Daniel le tue lezioni mi stanno aiutando tantissimo !
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
+Menufius Katcher so glad to hear, thank you!
@zizimouad8291
@zizimouad8291 2 жыл бұрын
you man love what you are doing and it is very clear how passionate you are ! you are amazing thank you for this ! i strongly believe this is not as much as proftable as it should and you are doing this out of love more than income .
@ayjis0000
@ayjis0000 7 жыл бұрын
Love your tutorials Daniel. You're a brilliant teacher
@TheCodingTrain
@TheCodingTrain 7 жыл бұрын
Thanks for the nice feedback!
@BKDREAM09
@BKDREAM09 4 жыл бұрын
these videos are saving my life Im in a Processing class and.....
@danielwatson6529
@danielwatson6529 5 жыл бұрын
Im a bit all over the place at the moment.... im doing pretty well but my learning path is a mess, i hope you don't mind adding to my mess, but i would like to get to this point using swift, i think if i just knew the difference here i could figure out the rest on my own AND understand the differences better between these languages, and possibly other languages.
@bernaners4417
@bernaners4417 5 жыл бұрын
Thank you this is very fun I liek, Thank you for teaching me processing
@schema.mp4616
@schema.mp4616 8 жыл бұрын
Thank you so much for all your videos! I really couldn't learn this without ur int help;
@DianaKot-z7f
@DianaKot-z7f Жыл бұрын
love your videos and your energy!❤ thanks for your work!:)
@zhihongh6415
@zhihongh6415 4 жыл бұрын
So Great Series!
@ghjfghj8318
@ghjfghj8318 7 жыл бұрын
That sigh at 12:30 was glorious haha!
@mialadefoged6914
@mialadefoged6914 3 жыл бұрын
This is still so useful - thanks!
@yashdangat7018
@yashdangat7018 5 жыл бұрын
Amazing teacher i achullay see first videos and then i think it is not nice doing time pass but after time passed i was like magic going around 🤙🤙🤙🤙😇😇😇 please make more toturials on prosseing and please an humbble request from veiwer that make toturial on ardunio also 😇😇 Great teacher i am fan of your teaching super 🙏🙏🙏😎😎😎😎
@tsmupdatertsm7633
@tsmupdatertsm7633 7 жыл бұрын
Global Variable = you can use the variable at any point in the Programm. Local Variable = you can use the variable only in the "code block" ( it get lost after you leave the code block ). maybe you can add this to your video. Because its really important to know.
@TheCodingTrain
@TheCodingTrain 7 жыл бұрын
Thanks for the comment!
@lucaliberato
@lucaliberato 2 жыл бұрын
Hellooo Daniel! Maybe i lost a video but i miss an importan information... Where can i start to code? I mean the space where i can write and excute my code. I have a windows. Thank you!!
@giancarlodaravina
@giancarlodaravina 6 жыл бұрын
Daniel you are the BEST!
3 жыл бұрын
That name can be absolutely anything your heart desires. Aww.
@gabsauvage
@gabsauvage 3 жыл бұрын
When a tutorial is way better than your actual teacher, lol
@quinxx12
@quinxx12 4 жыл бұрын
yooo that spehere on your shirt is sick! How was that made?
@juanignacioruiz1775
@juanignacioruiz1775 4 жыл бұрын
I really love learn with you! So fun hahahahaha
@sabinefafa1250
@sabinefafa1250 3 жыл бұрын
If we combined 1 and 2 , where should we write it in the setup part or in the void part ?
@ZodakZach
@ZodakZach 3 жыл бұрын
So in something like P5 do u not need to to declare the type of variable it is because I notice that when u are coding in P5 you just declare the variable by typing “var “
@ketanx66
@ketanx66 8 жыл бұрын
I'm curious... do you like Bob Ross? because every little variable like CircleX is one little variable full of smiles and happines just like colors in Ross paintings
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
i LOVE bob ross.
@ketanx66
@ketanx66 8 жыл бұрын
+Daniel Shiffman I knew it! yeah Bob Ross and his point of view on life is really great. oh and btw this tutorial is awesome! Watching your videos and learning is just a pure pleasure, no jokes. Fast and nice way to learn not only processing but things like way of thinking about the code. Thanks for making them and looking forward for more challenges!
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
thanks for the nice feedback!
@Matias-nr6rm
@Matias-nr6rm 7 жыл бұрын
I dont want a lot for christmas, there is just one thing i need. I don't care about the presents, underneath the cristmas tree, all i want for christmas is allmyprofesorstobemoredaniel
@frankied2640
@frankied2640 2 жыл бұрын
Thanks!
@TheCodingTrain
@TheCodingTrain 2 жыл бұрын
Thank you for the support!
@jaylegoninjago5615
@jaylegoninjago5615 4 жыл бұрын
function setup() { size(100,100); } //You are soooooo cool function draw() { fill(10,0,40,50); ellipse(10,10,10,10); }
@hlalanathiqhash3897
@hlalanathiqhash3897 7 жыл бұрын
i am given an assignment on objects ,functions and arrays to draw ten cars show should all of them appear where i click the mouse and also follow the the mouse when i move it. thanks please help guys
@---xp7yw
@---xp7yw 6 жыл бұрын
i don't get the use of userdefined variable, why do we have to create a variable that is equal to 50 if we can just simply type 50?is it a sort of shortcut or what?
@parvathinenikalpana6888
@parvathinenikalpana6888 6 жыл бұрын
Really very nice video Is it possible to download processing in my personal computer
@TheCodingTrain
@TheCodingTrain 6 жыл бұрын
Yes, go to: processing.org/download/ If you have trouble try asking for help at forum.processing.org.
@ellbevlogsfilms7469
@ellbevlogsfilms7469 2 жыл бұрын
this guy is way too motivated
@hariharank2363
@hariharank2363 2 ай бұрын
Very nice video
@AvinashKumar-yk3vb
@AvinashKumar-yk3vb 6 жыл бұрын
How to solve problems in programming ? Is it any approach to do it.
@eugeniawong249
@eugeniawong249 6 жыл бұрын
can you make the circle go towards to corners?
@Unsurger
@Unsurger 7 жыл бұрын
Thank you so much!
@TheAdam6161
@TheAdam6161 5 жыл бұрын
value 50, what does that mean , is it the length and width?
@FluidFishy
@FluidFishy 5 жыл бұрын
How are you doing this without starting with: Include using namespace std; Int main() { } ????
@SimonTiger
@SimonTiger 5 жыл бұрын
#1. This is not Arduino or C, this is Processing or Java. #2. Processing makes it easy to start programming, and so inserts the "required" code for you.
@FluidFishy
@FluidFishy 5 жыл бұрын
Simon Tiger I feel stupid for asking that question now that I’m looking at that 2 weeks later. I’ve learned a lot more.
@soulstream1333
@soulstream1333 4 жыл бұрын
Nice video
@sr.machine1793
@sr.machine1793 7 жыл бұрын
Qué lenguaje de programación es éste?
@jonassx100
@jonassx100 7 жыл бұрын
u sir coding in which language
@khanhnguyenta3031
@khanhnguyenta3031 6 жыл бұрын
I like your videos, very cool
@houba1263
@houba1263 6 жыл бұрын
You're awesome !!!!!!!!!!!!!!!!!!!!!!!!!!! thank youuuuuuu
@mohammadrashid369
@mohammadrashid369 8 жыл бұрын
i need help in processing which is similar to java script, can someone type me a code for when mouse pressed the button up the temperature increases and when button down pressed the temperature decrease.. similar thing for key pressed "u" to increase the temp and D to decrease the temp..
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
+Mohammad Rashid Did you try asking at forum.processing.org?
@ezangrobotsvideos9286
@ezangrobotsvideos9286 4 жыл бұрын
great teaching, look at my robots
@apprenticedtopicbookcritic101i
@apprenticedtopicbookcritic101i Жыл бұрын
شا'طر اوى very witty
@StealthWorkx
@StealthWorkx 7 жыл бұрын
This guy is so cool
@luisnannini
@luisnannini 8 жыл бұрын
17:44 you say "circle move" and your body moves haha, did you actually edited the video ?
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
a magic glitch!
@KotatsuInUnova
@KotatsuInUnova 4 жыл бұрын
Daniel
@shridhar1286
@shridhar1286 6 жыл бұрын
teaching code in on his on way sumthing like bob ross
@ΛεωνίδαςΓκώγκος
@ΛεωνίδαςΓκώγκος 5 жыл бұрын
1:42 what did i just say
@ABD-oo8ik
@ABD-oo8ik 4 жыл бұрын
thank you its
@tariqsamerovic7214
@tariqsamerovic7214 8 жыл бұрын
wow man u just sooo funny I don't have anything to do with this but agine u r hilarious
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
+TARIQ SAMEROVIC heh, thank you!
@marriedbeaN
@marriedbeaN 3 жыл бұрын
Why don't you put "int circleX" in the void setup? Or, put circleX=50 with the variable deceleration at the beginning?
@AndrewB_NNA
@AndrewB_NNA 7 жыл бұрын
Please someone help, I'm pulling my hair here while I'm pretty sure I'm missing something obvious and simple. When I type float x; x = 5/6; println(x); it says x = 0 which is BS but when I type float x; float a = 5; float b = 6; x = a/b; println(x); it suddenly gives the correct result. Also when I type float x; x = 5.1/6; println(x); then it also works just fine. What the hell? :( * Otherwise, I love these videos. I got all the way to functions and managed to write the fractal tree program in Processing which is when I noticed this odd thing :/
@TheCodingTrain
@TheCodingTrain 7 жыл бұрын
This is a quick of Java. If you say 5.0/6, you'll also getting a floating point result. If you use integers only then Java will only give an integer back and so it's *zero* (remainder 5)
@AndrewB_NNA
@AndrewB_NNA 7 жыл бұрын
Daniel Shiffman Thanks! That seems kinda counterintuitive to me but whatever :D
@SimonTiger
@SimonTiger 5 жыл бұрын
Daniel actually makes this mistake sometimes as well!
@alfredzhang9536
@alfredzhang9536 9 жыл бұрын
BEST!
@TheCodingTrain
@TheCodingTrain 9 жыл бұрын
+Alfred Zhang Thank you!
@MeitanteiNoMusume
@MeitanteiNoMusume 5 жыл бұрын
I really want to marry that man. Eh... I mean great teaching method I love it! Thank you so much haha
@hlalanathiqhash3897
@hlalanathiqhash3897 7 жыл бұрын
please help with code
@jaylon1016
@jaylon1016 8 жыл бұрын
nobody edited out 3 minutes out of the video :( haha oh well quirky
@markzero8291
@markzero8291 6 жыл бұрын
16:43 cowbel
@sunnymann9639
@sunnymann9639 Жыл бұрын
he looks like professor from money heist
@brystet6642
@brystet6642 5 жыл бұрын
who the hecky are the twelve people who disliked the video
@noureldinehab2686
@noureldinehab2686 5 жыл бұрын
thanks(2019)
@angelcaru
@angelcaru 3 жыл бұрын
Syntax Error: Maybe a missing semicolon?
@AngelDeFranganillo
@AngelDeFranganillo 5 жыл бұрын
I love you!
@joesmith9330
@joesmith9330 7 жыл бұрын
i just payed a programmer 100 bucks to finish my program ( theres no information on processing to complete a program).
@NARUHOTEL
@NARUHOTEL 8 жыл бұрын
Dude, your hilarious. haha
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
+NARUHOTEL thanks for watching!
4.2: Incrementing a Variable - Processing Tutorial
11:10
The Coding Train
Рет қаралды 117 М.
3.2: Built-in Variables (mouseX, mouseY) - Processing Tutorial
13:35
The Coding Train
Рет қаралды 147 М.
Каха и лужа  #непосредственнокаха
00:15
МЕНЯ УКУСИЛ ПАУК #shorts
00:23
Паша Осадчий
Рет қаралды 4,6 МЛН
Ice Cream or Surprise Trip Around the World?
00:31
Hungry FAM
Рет қаралды 19 МЛН
Amazing remote control#devil  #lilith #funny #shorts
00:30
Devil Lilith
Рет қаралды 16 МЛН
Coding Challenge 180: Falling Sand
23:00
The Coding Train
Рет қаралды 1 МЛН
2.1: How to use Processing - Processing Tutorial
14:38
The Coding Train
Рет қаралды 300 М.
4.3: Using random() - Processing Tutorial
11:51
The Coding Train
Рет қаралды 165 М.
5.1: Boolean Expressions - Processing Tutorial
12:14
The Coding Train
Рет қаралды 162 М.
CNC Engraving Made Easy Using G47 - Part 1 - Haas Automation Tip of the Day
4:05
Haas Automation, Inc.
Рет қаралды 184 М.
Variables in Java ✘【12 minutes】
12:32
Bro Code
Рет қаралды 221 М.
7.2: Functions Basics - Processing Tutorial
9:18
The Coding Train
Рет қаралды 112 М.
3.1: Flow (setup and draw) - Processing Tutorial
15:44
The Coding Train
Рет қаралды 183 М.
Каха и лужа  #непосредственнокаха
00:15