Тэги:
#processing.org #boolean #icm #conditionals #Boolean_Data_Type #Processing_(Programming_Language) #Variable #boolean_processing #processing_boolean #boolean_variable #boolean_variables #processing #processing_tutorial #processing_tutorial_boolean #conditional #boolean_in_processing #java_(programming_language) #processing_3 #boolean_variable_processing #bool_variable #boolean_variables_processingКомментарии:
Brilliant. Thank you for your video explanation.
Ответить🎉🎉🎉 from myanmar. thanks teacher
Ответитьrip headphone users
ОтветитьBoo or Lean
ОтветитьI thought because mousePressed() is a pre-defined function in order for: going =!going to the boolean value - true ???
ОтветитьUp next 3 min rest
Ответитьamazing useful video.
Ответитьi love you thank you
ОтветитьYou are explaining stuff in a great way, thank you!
ОтветитьI looked on about 20 websites, 8 videos, and 5 papers. They didn’t explain it as well as you
Ответитьboolean rightsideaudio = false;
Ответить"going = !going" is code for a flip-flop. 😂
ОтветитьWhich platform he coded on ??
Ответитьfloat circlex = random(width);
float circley = random(height);
boolean going = false;
void setup() {
size(640, 360);
}
void draw() {
background(0);
circle(circlex, circley, 30);
if (going) {
circlex = circlex + 2;
}
}
void mousePressed() {
going = !going;
}
there is no audio???!!?!?!?!?!
ОтветитьAmazing explanation!! Got hooked up to the end of video
ОтветитьThere is no audio :(
Ответитьnot sure what i will need it for since i just startet programming but i will remember this ^^ i saw it in one of the circular linked lists i looked into and it should be like my regular next->next->next !startpoint and just move it forward reading and printing :D anyway now i understand this code thanks
Ответитьenjoyed 'your going' in the end. :-D
ОтветитьI know this was 2015 man but I love the energy here. This was a fun watch in 2021, thank you!
ОтветитьI'm not sure why but I typed exactly what you did and it gave me an error. x cannot be resolved. When I added in a line that says int x = 20; above the ellipse line, I get a dot on the screen but when I click the mouse, in any of the examples, it does not move. Is there a mistake that I am not seeing in this?
boolean going = false;
void setup() {
size (400, 300);
}
void draw () {
background(0);
fill(255);
//I added the next line in to fix the can not resolve for x problem.
int x = 20;
//then I continue with what was shown in the tutorial
ellipse(x, 150, 24, 24);
if (going) {
x = x + 2;
}
}
void mousePressed () {
going = !going;
}
hi Dan, are you still alive?
we need some help over here,
i got this message while trying this Booleanification in a method of an object
"
cannot convert from void to boolean "
since void cannot return a Boolean value, i tried the "going" technique but i got
this "
cannot convert from void to boolean"
Can you help me with this one Asks the user to input four numbers
Subtract the first number by the second number
Multiplying the third number by the fourth number
"my going is true" love that part at the end xD this entire video helped me so much. Your energy is so awesome, its contagious! So eager and excited to show people how awesome this is! You just seemed so happy teaching that to us (the watchers and listeners) and had such a small window in your personal life but wanted to take the time to get this video out. So much appreciation. Thank you, please make more! Will be looking through your content for answers now.
ОтветитьMan I love your tutorials. I have been binge watching it all morning.
ОтветитьMy headfone is broken and only the rigth side is working. In the beginnig i thought the vidio had a problem kkkkkk well I guess my family knows about booleans too now
ОтветитьI turned my speakers on lul
ОтветитьYour energy is incredible and palpable! Makes me excited to learn more!
Ответитьboolean left ear = true;
boolean right ear = false;
My right ear didn't learn anything.
Ответитьbest tutorials ever!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ОтветитьI got less that 3 hours of sleep and this video woke me up lol Thanks for your enthusiastic teaching!
Ответитьwhat does this Void mean?
Ответитьthis is by the way the lamest thing any programmer would every program the language to do. !going means going = false..
It doesn'T save anytime or effort. It was a horrible to make things complex by using this abbreviation.
One can easily right, if going = true)
or
if (going = false). It is much more readable, easy to understand and work with.
The only reason someone would come up with a twisted idea like !going is that someone had nothing better to do at work place, and his loser mind thought, hey, why not just complex the syntax of javaScript and call variable = false, just equals to !variable. The way people will really have a hard time to understand what is going on in this bolean variable. Let us make life hard and let people discuss on internet, in class-rooms, and waste more time commenting on videos about how stupid this way of expressing a condition is.
Really well done Einstein (to the person who came up with this dumb idea)! Also a salute to his colleagues, who instead of giving some positive criticism, just went on with it by saying! "hey dude! hey braaaa! this look so cuhhhl braoooooo! that is how we programming people spending our lives in a basement, would look really smart - brawwwwwwwww, dudeeeeeeeeeeeee!! "
such a waste of time. the one came up with the idea just got his right to be called a programmer invoked, because programmers make things simple, easy to understand and fast to work with. Not complex, that we have to make videos and have ineficient discussions about it in the classroom, only to be able to understand, that !variable means variable = false.
Well, then why not just right variable = false? wasn't too hard was it? makes life easier!
excellently explained, with practical example!
ОтветитьWhat bank are we going to heist for today professor?😂
Ответитьit started to be complicated to understand%(
ОтветитьMoney heist brought me here
ОтветитьAnyone help me to figure it out why my sketch doesn't work with 'void mousePressed () { going = true; }? it says 'unexpected token: mousePressed.. I can't play the sketch. How did you guys could run the code???? Helppppppppp
ОтветитьThis dude teaches better than my prof lol
He do be running back and forth for us I love it
Awwww you are a cutie pie!
ОтветитьSo who else is just trying to understand how real coding works?
ОтветитьMr Daniel,
This was a very simple and educating video. Thank -you
my going is true XD
Ответить"My going is true"
This is how you round out a lecture <3
Black magic
Ответитьthanks very useful
Ответитьvoid mousePressed () {
play = !play;
}
I've never had that much fun clicking "play" and "pause" feeling that (1) we now have an idea of the type of code available for such function and (2) that Daniel speaking was our moving ball on the screen!
As always, awesome video, Daniel! Thanks ~