5.2: If, Else If, Else - Processing Tutorial

preview_player
Показать описание
This video covers how a conditional statement works in Processing with "if", "else if " and "else"

For More Processing Tutorials:

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

Frankly, I think your nervousness and everything is what makes you so fun to watch and learn this with ha ha. It makes everything just more real, like there's an actual person showing us everything and not some monotoned professor with a god complex.

naraugh
Автор

5 years later, these are still brilliant! So glad you never deleted this. Never edit out your charms :)

zerbatuk
Автор

"This is my life now" what a great line for the beginning of a fun and amazing journey that helped a lot of people to introduce them into programmming me included :D

greenin
Автор

Thank you. 7 years later, I am still getting tons of help from this video. Really appreciate it. You are the one I get to focus the most.

dianeonanywhere
Автор

You are so weird and funny and adorable and a really REALLY great teacher, thank you!

makenahawley
Автор

Hope this one is correct...it's my first time in coding...love it. I learned a lot.
void setup(){
size(640, 360);
}

void draw(){
background(0);

if((mouseX>width/2) & (mouseY>height/2)){
fill(0, 255, 0);
rect(320, 180, 320, 180);
}else if(mouseX>width/2 & mouseY<height/2){
fill(255, 0, 0);
rect(320, 0, 320, 180);
}else if(mouseX<width/2 & mouseY>height/2){
fill(0, 0, 255);
rect(0, 180, 320, 180);
}else{
fill(250, 255, 0);
rect(0, 0, 320, 180);
}

stroke(255);
line(0, 180, width, height/2);

stroke(255);
line(320, 0, width/2, height);

}

cyberminato
Автор

Now I can make my own Yandere Simulator!

ancis
Автор

"im going to be redoing these anyway"- Daniel Shiffman, 2015

MolvouX
Автор

I will never go and watch the redone vidoes of this. These uncut vidoes are amazing and make my MAGD class so much easier and entertaining

erinlewis
Автор

⏸️ You know he's a badass when he says this is a disaster and still make it work like a boss. 👌🏽😁 Genius

bdri
Автор

"I evaX, humbly submit: a toast to Nicholas Alexander for successfully managing to pirate Warcraft 3."

fizzie
Автор

I really appreciate these longer videos. I feel like I need long explanations to why things work.

nojusticeanywhere
Автор

I'm doing a processing class at uni at the moment and our lecturer is really awful. I can't thank you enough for these videos + your textbook because they're literally the reason I'm still keeping up in this class. You're such a brilliant teacher and as other people have said, your nervousness and enthusiasm are what make these videos so fun to watch and it's obvious that you genuinely want us to be able to learn. So please don't change!

alliedhero
Автор

6:52 This video helped a TON. Reordering my statements from greatest to least for my valNum was what I was missing. Not gonna lie, the fact that you were all over the place with this video actually is what helped it all make more sense. Haha. exactly what I needed to understand it all. I just finished rewriting a price calculator in JS for my business that I wanted a number of contingencies on .

JohnK
Автор

POV: You're Alex Mahan and you're about to develop a new game

jefecker
Автор

I have to learn Processing very quickly for a new job. I'm so happy that I stumbled upon this video series! You've broken everything into chunks that are small and clear enough to digest while building upon each other. No easy feat. You are an excellent teacher and I can't believe these videos are free. So excited to keep going with this tutorial!

diagram_girl
Автор

you could really notice how tired daniel was in that video but he kept being motivating and it's amazing how well it works! Thanks for all these videos man

weltraumimport
Автор

idk if you see comments posted to videos years later, but in re-watching your older content I have to say how glad I am that you pushed through your early insecurities and self-doubt to develop your content here. It's relatable, inspiring, and endearing. Keep on!

baphnie
Автор

Mr Daniel, you are fantastic. I appreciate that you share your knowledge and experience with us. I enjoy your channel and follow you from Tunisia.

mohamedromdhani
Автор

Omg you are such a saviour, i was struggling with processing had to submit a pong game with no code experience ever. The video lectures given were soo bad i couldnt figure out stuff but this video is a saviour, thankss alot!

Deepyantiadvani