5.1: Boolean Expressions - Processing Tutorial

  Рет қаралды 162,568

The Coding Train

The Coding Train

Күн бұрын

Пікірлер: 93
@taebyun561
@taebyun561 6 жыл бұрын
This is such an encouraging course. " you can code anything you want from now on". So so happy for that!
@haleemulhassan9158
@haleemulhassan9158 9 жыл бұрын
Thank you so much Mr Daniel. Im just learning processing because i need it as a design student for my senior project which has interactive elements. Im already in the middle of the semester and your videos are giving me an amazing jumpstart to deal with this world of programming. You explain stuff brilliantly, keep it entertaining ALL the time, and constantly challenge your viewers and their imagination as well. You have perfected the art of teaching! :D Big fan here, keep up the great work :)
@TheCodingTrain
@TheCodingTrain 9 жыл бұрын
+Haleem ul Hassan thanks you so much for this very kind feedback!
@Mike-sb3uc
@Mike-sb3uc 6 жыл бұрын
Wow, usually it takes me like 10 times to read something or listen to something so I can understand the problem. When I watch your videos I understand it immidietly .. this is amazing, you are an amazing teacher.
@camiladesa2375
@camiladesa2375 3 жыл бұрын
I suffer a lot trying to understand what my professor does in class, and here I am, doing the programming class again, but now with this HUGE help that made me understand a semester thing in hours. RESPECT FOR THIS MAN.
@ehsanullahakbari644
@ehsanullahakbari644 2 жыл бұрын
first of all, thank you very much from these great videos this what I have learned from these series of videos till this point. // declaring variables float paintball; // setup making void setup() { size(800,400); paintball = 0; // background(50); } // drawing stuffs void draw() { background(50); fill(255,0,0); ellipse(paintball,200,30,30); paintball = paintball + 1; if (paintball>200) { background(255,0,0,127); fill(0,255,0); ellipse(paintball,200,30,30); } if (paintball>400) { background(0,255,0); fill(0,0,255); ellipse(paintball,200,30,30);} if (paintball>600) { background(0,0,255); ellipse(paintball,200,30,30); } if (paintball>=800) {paintball=0; } }
@MahadKhaliq
@MahadKhaliq 6 жыл бұрын
A lot of respect for you Sir! I wish my university teachers could also clear all my concepts like this!
@robiecalong2
@robiecalong2 7 жыл бұрын
Watching your tutorial videos for learning processing has been a great experience. I appreciate that you give coding examples through a visual context, as I myself is more of a visual learner.
@MMOTION7782
@MMOTION7782 8 жыл бұрын
I´m been trying to learn how to code for a long time without any succes until now. Thanks a lot, Daniel!!!! you are a great great teacher!!
@videofreak29101
@videofreak29101 4 жыл бұрын
I love your videos, Daniel. I have decided to study computer science at university this summer, and your videos really have helped learn about the basics of programming. Thank you
@jimins_missing_height
@jimins_missing_height Жыл бұрын
I really love how You teach. You make Learning so Easy and Fun. I enjoy Studying from You very much, and Your Little 'Jokes' Around (Like the pen...) Are very Sweet.
@samuilnikolov4655
@samuilnikolov4655 7 жыл бұрын
AGAIN AMAZING VIDEO DUDE KEEP GOING THE CODE FROM THE LAST FEW SECONDS WHICH WERE TASK float circleX=0; void setup() { size(640,360); } void draw() { background(50); fill(225); ellipse(circleX,180,24,24); circleX=circleX+1; if(circleX>=640) { circleX=0; } }
@hummingmaths2763
@hummingmaths2763 2 жыл бұрын
Your style of Teaching is Amazing Love & Respect from Pakistan 🇵🇰
@paladin1147
@paladin1147 6 жыл бұрын
The only good thing going for me in my life is you, good sir. YOU ARE AMAZING! xD. Never stop these videos. Can you believe that thousands of people literally thousands even more around the globe is benefiting from this .
@headlights-go-up
@headlights-go-up 5 жыл бұрын
I know I'm late to your videos, but you're an excellent teacher. Not only do you explain things very well and are able to show everything, but you're very relatable and charismatic which (obviously) is great for teaching. Thank you for your hard work!
@bernym4047
@bernym4047 2 жыл бұрын
I have jumped ahead early in this course and tried to use a for statement in the draw function with little success. I am beginning to understand the difficulties and found it much easier to use the if statement and managed to get the ball to bounce off each side by creating a variable that changed the increment of circeX from positive to negative (e.g. circleX = circleX + increment (increment changes from 1 to -1 alternatively)). I was a little impatient with this course at the beginning but now appreciate that its structure lends itself to transferring skills to other languages. Many thanks. I struggled with trying to teach myself programming for years but have made rapid progress with your course.
@ArioNouri
@ArioNouri Жыл бұрын
great video!! thank you for your valuable contribution to the research. let me tell you something: you made my day.
@javiermartinezdevelasco8515
@javiermartinezdevelasco8515 9 жыл бұрын
You made it!!!! I started programming with Processing3. Also the videos you have at www.processing.org are wonderful. Great teacher!! Thanks a lot, Daniel!!!! You are the boss!!!!!! I've seen so many videos of you that I can just address you by Daniel and not Mr. Shiffman! hahaha We are buddies now. Thanks a lot, for real.
@TheCodingTrain
@TheCodingTrain 9 жыл бұрын
+Javier Martínez de Velasco thanks so much for watching, of course you can call me Daniel!
@sandipbaidya2839
@sandipbaidya2839 7 жыл бұрын
I really like your lessons, certainly more interactive than the ones they pretend to drag at colleges. Well at mine. Love the way you keep it all unrefined, gives me kind of a comfortable vibe, wish we had teachers like you here. Anyway thanks for uploadin!
@pusji
@pusji 9 жыл бұрын
you're lovely! I've almost started to like coding. clear, simple and entertaining explanations, thank u!
@TheCodingTrain
@TheCodingTrain 9 жыл бұрын
+Valentina Ambrosi thanks for the nice feedback!
@jessicathedoc8569
@jessicathedoc8569 6 жыл бұрын
almost lol
@sosobezhitashvili7896
@sosobezhitashvili7896 9 жыл бұрын
float x=0; void setup () { size(640,360); } void draw () { background(255); fill(255,0,0); ellipse(x,180,30,30); x=x+1; if(x>width-1) { x=0; } }
@jlghfe36
@jlghfe36 7 жыл бұрын
float ballX; float ballY; void setup() { size(700, 500); background(0); ballY = height/2; } void draw() { background(50); ellipse(ballX, ballY, 20, 20); println(ballX); ballX += 5; if (ballX >= width) { ballX = 0; } }
@nickrameau938
@nickrameau938 7 жыл бұрын
float circleX, circleW, circleY; void setup() { size(630, 340); circleX = width / 2; circleY = height / 2; } void draw() { background(150); circleW = 24; fill(255); ellipse(circleX, circleY, circleW, circleW); circleX++; if (circleX + circleW > width + circleW / 2) { circleX = circleW / 2; } }
@pareshpandit
@pareshpandit 3 жыл бұрын
You are a marvellous teacher. So glad to have found your channel! 🙏🏼🙂🌱
@PaulCostanzaplaysdrums
@PaulCostanzaplaysdrums 7 жыл бұрын
float circleX; void setup() { size(640,360); circleX = height/2; } void draw() { background(50); //Drawing stuff fill(255); stroke(255); ellipse(circleX,180,40,40); //Logic circleX += 3; if(circleX > 660) { circleX = -20; } }
@domcyber263
@domcyber263 3 жыл бұрын
I love your work, and I also prefer the squeaky pen; something nostalgic about it. 10/10 more satisfying then non-squeaky pen
@mitchellpincham595
@mitchellpincham595 4 жыл бұрын
I wish that I found this series when I was trying to learn coding!
@aleksamitic8186
@aleksamitic8186 7 жыл бұрын
float circleX = 2; void setup() { size(640, 360); } void draw() { background(50); fill(0, 0, 225); stroke(225, 0, 0); ellipse(circleX, 180, 24, 24); circleX = circleX + 1; if (circleX == width) { circleX = 640 - circleX; } }
@lydericmokoko115
@lydericmokoko115 3 жыл бұрын
Thank you so much, you made my day !!!
@konurozcan5731
@konurozcan5731 9 жыл бұрын
your videos are great keep them up please, saving my grade in university !
@konurozcan5731
@konurozcan5731 9 жыл бұрын
I actually do man ! any way we could hop on a quick private chat ?
@konurozcan5731
@konurozcan5731 9 жыл бұрын
I messaged you on facebook !
@Kta8548i
@Kta8548i 5 жыл бұрын
Thanks for your coding lessons i wish i had a teacher like you
@User-in2mg
@User-in2mg 7 жыл бұрын
void setup() { size(640, 360); } void draw() { background(50); fill (0, 255, 0); ellipse(mx, 180, 24, 24); mx = mx + 5; if (mx > 640) { mx = 1; } }
@michaelrichards4302
@michaelrichards4302 5 жыл бұрын
this is not my first language maybe my 5th or 6th or so (i'm a senior studying csc and they all kind of get blurred after a while) but this video series is one of the most consice video series that i have seen on a programming language so far
@juliansantos6466
@juliansantos6466 9 жыл бұрын
thanks for your videos they are very helpful and extremely entertaining.
@TheCodingTrain
@TheCodingTrain 9 жыл бұрын
+Julian Santos thanks for watching!
@wasiknoor3644
@wasiknoor3644 2 жыл бұрын
great classes .Would recommend .Sir is very ....jumpy
@joaikin
@joaikin 3 жыл бұрын
Daniel...the name of the sign...is Lambda...and Antilambda. Greetings from Mexico
@AryehAmitz
@AryehAmitz 9 жыл бұрын
Thanks for the videos once again. I'm just happy that I've been able to keep up. This is fun. I cant wait till i get much better; i know its a long ways to go... but I'm persistent. Can you do a tutorial on how to make programs into videos?
@TheCodingTrain
@TheCodingTrain 9 жыл бұрын
+Indigo Veilplume yes, this is a good topic! I'll add to my list: gist.github.com/shiffman/b9ab475922f82e8112ff
@AryehAmitz
@AryehAmitz 9 жыл бұрын
I figured out a way to do it with Adobe Premier and Aftereffects. Rendering with either would require some additional considerations that would probably be beyond the parameters of coding. It seems like everyone I've talked to uses ffmpeg- which isn't very user friendly for the beginner. I think that having a clearer pipeline from coding to sharability would improve the attractiveness of programming for individuals who are less savvy with the technical details. Maybe that's something i can lend a helping hand towards when i have improved my understanding of the toolkit. Thanks for your response. I look forward to the winter break so i can simmer with the text book.
@hootpoop123
@hootpoop123 6 жыл бұрын
I'm in a programming class and I was so close to throwing my computer until I found these videos. Thank you for making this 10x more simple for my dumbass mind to comprehend.
@muhammadahsin9513
@muhammadahsin9513 2 жыл бұрын
U r so Cute AND Humorous, don't know WHY..... Love AND Respect from PAKISTAN.......
@miguelmaig
@miguelmaig 5 жыл бұрын
thank you for all your videos!!
@queeniefcharles
@queeniefcharles 3 жыл бұрын
YOU ARE AMAZING
@bincyninan8719
@bincyninan8719 4 жыл бұрын
Thank you for making vid like this would you make a machine learning vid too in processing
@cybilisrani9062
@cybilisrani9062 7 жыл бұрын
know my concept is clear thnx
@renciapolous
@renciapolous 4 жыл бұрын
If you need to program a rollover from scratch, you must first invent the universe. Or that's what Sagan would say. Sorry, I love you Daniel, thank you.
@renciapolous
@renciapolous 4 жыл бұрын
8:13
@mortezashayan5402
@mortezashayan5402 5 жыл бұрын
Thank yo so much, this course is wonderful.
@TheCodingTrain
@TheCodingTrain 5 жыл бұрын
Thank you for the support!!
@apprenticedtopicbookcritic101i
@apprenticedtopicbookcritic101i Жыл бұрын
Good Evening Danilel ☻
@Pusciclark
@Pusciclark Жыл бұрын
Is it okay if the the ellipse from the practice you assigned at the end loops?
@leoming2292
@leoming2292 5 жыл бұрын
Colors are fancy.
@Finestimpression29
@Finestimpression29 3 жыл бұрын
there is more than one right answer? he isn't saying to make it bounce off the right side, correct? Just to make it restart on the left side? float circleX = 0; void setup(){ size(640, 360); } void draw() { background(50); fill(255); ellipse(circleX,180,24,24); circleX = circleX + 5; if (circleX > 600) { circleX =20; } }
@1rafaelespinoza
@1rafaelespinoza 4 жыл бұрын
Tks. Daniel. Kool
@ZeroSSOX
@ZeroSSOX 8 жыл бұрын
Can I ask a question here? I'm currently working on a project that uses ReActivision and I've written a code that if I scan pattern A, I get video A if I scan pattern B, I get video B but if I scan pattern A and B at the same time, they both play simultaneously what I plan to do is scanning pattern A and B at the same time can result in playing a 3rd video in short, how should I implement statement that requires 2/multiple "true" checks (both id 1 and id 2 present at the same time) before it works? this one is for separate: if ( tobj.getSymbolID() == 1) { theMov.play(); player1.play(); println("Play"); } if ( tobj.getSymbolID() == 2) { theMov2.play(); player2.play(); println("Play"); }
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
+Zero SSOX You can use an "AND", which is "&&" if (condition1 && condition2) { } This may be more complex based on your specific scenario, I would suggest asking this at forum.processing.org.
@joaopedrofranco6987
@joaopedrofranco6987 8 жыл бұрын
Nice video dude! ;)
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
+João Gamer PT thank you!
@Quidoute
@Quidoute 3 жыл бұрын
Try this PVector loc; PVector vel; Void setup () { Size (100, 1000); loc = new PVector (width / 2, height / 2); vel = new PVector (4, 5); } Void draw () { Background (255); loc.add (vel); ellipse (loc.x, loc.y, 24, 24); if ((loc.x > width) || (loc.x < 0)) { vel.x *= -1; }else if ((loc.y > height) || (loc.y < 0)) { vel.y *= -1; } }
@brystet6642
@brystet6642 5 жыл бұрын
i tried to make the ball bounce back but i failed miserably haha but instead i made the ball nervous and shake rapidly haha
@apprenticedtopicbookcritic101i
@apprenticedtopicbookcritic101i Жыл бұрын
Let's call it a day
@pppo7910
@pppo7910 5 жыл бұрын
respect
@raymondlumor875
@raymondlumor875 4 жыл бұрын
Sir please, I need help on how to increase player scores
@MichaelGuy
@MichaelGuy Жыл бұрын
in node? java? perl? c? c++? node.js? python?
@javegjajaja5604
@javegjajaja5604 7 жыл бұрын
can you please help me, i need to write an if statement for my values. for example im doing my project i am controlling values through a sensor the values change based on how hard i blow the sensor now all i have to do is add a if statement that if the value goes over 15 for example then it should play this video if it does not move from 15 dont do anyhting please help me
@benjamindragon598
@benjamindragon598 6 жыл бұрын
if(value > 15){ playTheVideo(); }
@alradaideh360
@alradaideh360 6 жыл бұрын
i like the kind of weed u use !!
@apprenticedtopicbookcritic101i
@apprenticedtopicbookcritic101i Жыл бұрын
Yeah I Found the section
@ariacadabra
@ariacadabra 7 жыл бұрын
them pesky squeaky pens...
@tubex1300
@tubex1300 5 жыл бұрын
More please make more vids please Sir
@elorabimohamed3877
@elorabimohamed3877 7 жыл бұрын
oh i'm crying it's sad moment
@zinx5598
@zinx5598 2 жыл бұрын
parenthesis✅ brackets❌ relational operators✅ data types❌ hahaha
@spongefart9586
@spongefart9586 2 жыл бұрын
God i love programming a idea litteraly a stupid dumb idea can be made with peoblem solving
@zanealberts3829
@zanealberts3829 4 жыл бұрын
Daniel
@nelsondelapena7840
@nelsondelapena7840 3 жыл бұрын
if (circleX > width) { circleX = 0; }
@samfield4114
@samfield4114 3 жыл бұрын
circleX = circleX + 1;
@edwingarcia5043
@edwingarcia5043 6 жыл бұрын
I had to put velocity video on 0.75
@paulgarrido8511
@paulgarrido8511 2 жыл бұрын
Hi me. My name is Paul Garrido i'm from Perú, i hace a son in Toronto need your help because he start study Computer system binaria for computer tecnician
@zayedabdulla123
@zayedabdulla123 6 жыл бұрын
Didn't know el professor from la casa de papel did programming.
@Ikpoppy
@Ikpoppy 6 жыл бұрын
What about && and ||?
@samfield4114
@samfield4114 3 жыл бұрын
More complex
@giangtu5329
@giangtu5329 5 жыл бұрын
I feel so sad for the circle :((
@jannikheidemann3805
@jannikheidemann3805 4 жыл бұрын
I wrote a program that ends so that the circle can rest in peace: float circlePosX = 10; float circleDiam = 20; void setup() { size (640, 340); } void draw() { background(50); circle (circlePosX, 170, circleDiam); circlePosX++; if (circlePosX > width - (circleDiam * 0.5)) { circleDiam++; circlePosX = circleDiam * 0.5; if (circlePosX > width - (circleDiam * 0.5)) { finish(); } } } void finish() { delay(5000); exit(); }
@OyesigyeDavin
@OyesigyeDavin 7 жыл бұрын
I think 7 is greater than 7! but hey am not a computer.. HAHA!
@colloidalsilver177
@colloidalsilver177 7 жыл бұрын
Is this js
@samfield4114
@samfield4114 3 жыл бұрын
Java
@capturedevice62
@capturedevice62 2 жыл бұрын
His hands move way too much
5.2: If, Else If, Else - Processing Tutorial
11:16
The Coding Train
Рет қаралды 179 М.
4.1: Variables - Processing Tutorial
19:02
The Coding Train
Рет қаралды 197 М.
How To Choose Mac N Cheese Date Night.. 🧀
00:58
Jojo Sim
Рет қаралды 83 МЛН
Мама у нас строгая
00:20
VAVAN
Рет қаралды 8 МЛН
How Much Tape To Stop A Lamborghini?
00:15
MrBeast
Рет қаралды 201 МЛН
Being Competent With Coding Is More Fun
11:13
TheVimeagen
Рет қаралды 113 М.
Coding Challenge 180: Falling Sand
23:00
The Coding Train
Рет қаралды 1 МЛН
COMPUTER SCIENCE explained in 17 Minutes
16:49
Wacky Science
Рет қаралды 1,4 МЛН
2.1: How to use Processing - Processing Tutorial
14:38
The Coding Train
Рет қаралды 300 М.
ASMR Programming - Spinning Cube - No Talking
20:45
Servet Gulnaroglu
Рет қаралды 4,1 МЛН
4.2: Incrementing a Variable - Processing Tutorial
11:10
The Coding Train
Рет қаралды 117 М.
4.3: Using random() - Processing Tutorial
11:51
The Coding Train
Рет қаралды 165 М.
Why You Shouldn't Nest Your Code
8:30
CodeAesthetic
Рет қаралды 2,8 МЛН