5.3: Logical Operators: AND, OR - Processing Tutorial

preview_player
Показать описание
This video covers logical operators: && (logical AND) and II (logical OR) in the context of boolean expressions and conditional statements.

For More Processing Tutorials:

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

You're literally saving my butt this semester man, and you're really entertaining too

jonaichi_
Автор

"One simpe topic" ... "really short 2-3 minutes" .... and i see on the flash player 9:45 .... i like it.

tsmupdatertsm
Автор

I feel like I'm watching an unfiction series about a man who is slowly driven mad making tutorials. I feel like I've seen this somewhere before.

That being said this series has been a great introduction to processing and the tangents are at least entertaining.

funwithforkz
Автор

I love how every video he's like it will be short but then it ends up being twice the length he wanted

nuriway
Автор

4:00 - The number I came up with is "s" or Schrodinger's Number. Until it is observed, it is simultaneously both greater than 100 AND less than 50.

CapComMDb
Автор

I was struggling so hard with that last example because I did not know && yet. Maybe you can add a pop-up comment on the last video to have people directed to this next video and not try the 4 colored quadrants till they see this. I couldn't figure out how to control my Y axis so this && is really helpful for that.

ayagss
Автор

I am watching this 7 years late its so useful thank you very much

electrodido
Автор

4:03 That time I remember what you said at the beggining "I'm not going to get sidetracked", but whatever it's cool. And Hello! from the future.

LFPaiser
Автор

Your videos are saving my life thank you so much!

gabrielczartoryski
Автор

Hi. I wrote the exact same code that you suggested. But, the else if code shows error each time. Also, the first code in background (0) isn’t working. Is there anyone facing the same problem ? Can someone help me please ?

ankita-mishikar
Автор

3:55 how about root(10201) since it equals 101 and -101

domjanabi
Автор

I'm a somewhat savvy coder in Python, so I know most of this basic stuff, but I continue watching your videos anyway. I figure this will be a good way to learn Processing and some Java. I wrote a pretty awesome fractal program [script?] in Python, I'm looking forward to doing similar cool things in Processing. Thanks for the great videos!

coreyp
Автор

Thankyou so much The Coding Train - you're videos are the best!

rhyscoombes
Автор

I really watch your videos on 2x so it gets 4mins tots. Fulfilling your

kugelblitz
Автор

graciaaas brother, me ayudaste mucho al desarrollo de mi programa 😭😭

ambrosioescobardominicyael
Автор

Hey!!!! Thanks for explaining it so easy!!!
Can you make more processing tutorial!?

NICOSSSSSSSSSSSSSSSS
Автор

Order of operations is key here. Like PEMDAS for numbers, the order of operations for logical operators is (well, I could have said NAO or !&|, but that wouldn't have made any sense here)


Anyway, the order of operations for logical operators is: First Not (!), then And (&) then Or (|).

SimonTiger
Автор

These videos are THE BEST! I love them.

bendanielspercussion
Автор

So logical operators can be logical connectives/ quantifiers which express relationships between separate statements?

valerieman
Автор

so for the mouse > 100 and mouse < 200 my code is exactly the same as yours and it works but the colours arent changing when I move my mouse.

sunnymann