3.1: Flow (setup and draw) - Processing Tutorial

  Рет қаралды 182,546

The Coding Train

The Coding Train

Күн бұрын

Пікірлер: 133
@icouch9591
@icouch9591 7 жыл бұрын
I have honestly never seen a programming tutor on KZbin with as much passion as you. Definitely subscribing.
@spacesciencegamingmore6622
@spacesciencegamingmore6622 5 жыл бұрын
Apallapapa Apappa
@KrisSauce314
@KrisSauce314 3 жыл бұрын
Around 7 years later and you're still the most helpful person on yt
@user-jr4yw7jq2i
@user-jr4yw7jq2i 9 жыл бұрын
You are amazing. This could be a paid online college course.
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
+Lyle Sommer thank you!
@Chaimelo
@Chaimelo 3 жыл бұрын
jokes on me, im paying for a college course and being told to watch these videos haha
@RodrigoKormann
@RodrigoKormann 2 жыл бұрын
I've graduated twice and I think that education from colleges and universities is out of date. The best of having a formal education is the network you build. Knowledge itself is on the web.
@bass_journey
@bass_journey 6 жыл бұрын
I wish you existed 20 years ago when I was at uni, I used to do flash and I hated action script. I just simply couldn't understand. Never too late. I am dashing through your tutorials.Thanks a lot for the effort
@kg13
@kg13 5 жыл бұрын
Same case here!
@spacesciencegamingmore6622
@spacesciencegamingmore6622 5 жыл бұрын
Kendry Grullón ok
@peshawabarznjii
@peshawabarznjii 8 жыл бұрын
you are really smart and helpful
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
thank you!
@peshawabarznjii
@peshawabarznjii 8 жыл бұрын
I will have processibg class next year and I know will get A because of your help :)
@NuLuumo
@NuLuumo 2 жыл бұрын
@@peshawabarznjii 5 years later...how did you do? :)
@peshawabarznjii
@peshawabarznjii 2 жыл бұрын
@@NuLuumo Oh man Time flies. thanks for asking. I got an A thanks to this amazing teacher.
@NuLuumo
@NuLuumo 2 жыл бұрын
@@peshawabarznjii that's great to hear! I wasn't sure if I would get a response tbh lol
@theimpossibleask
@theimpossibleask 7 ай бұрын
8 years later and you're my go to person when I need help on my coding HW
@supernaturalswampaids8083
@supernaturalswampaids8083 8 жыл бұрын
Best teaching style for programming. Been self teaching(Books, youtube, Google :P ) for a few years now, And I'm still a noob. But your videos are the best I've found. Your personality is perfect for this. Thank you for your hard work, It's greatly appreciated.
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
So nice to hear, thank you!
@0Arman0
@0Arman0 5 жыл бұрын
i absolutely love these tutorials and the way you teach.
@IlyaKolesnik
@IlyaKolesnik 8 жыл бұрын
This is f_king awsome course! I don't speak English well, but I understand lections. And the general thing - it's not boring& Thank you
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
+Ilya Kolesnikov glad to hear, thank you!
@thomashvnmusic
@thomashvnmusic 8 жыл бұрын
I'm into microcontroller programming (amateur) and I want to be able to make a GUI for Arduino (Oled.) I know how to make a library in C language from scratch and link it ect but i have no idea how to make a GUI library with Arduino for my Oled. Do i make it with C++ because i saw the extension is .cpp for example and can i use processing for the GUI? I appreciate your input guys as I'm a bit lost.
@ankita-mishikar116
@ankita-mishikar116 3 жыл бұрын
This man is gold! Why am I finding these lessons so late? D Please make more and more videos of processing . Thank you Daniel 💕
@Inquire98
@Inquire98 6 жыл бұрын
"Thank You", thank you very much...
@marioferrario
@marioferrario 2 жыл бұрын
whoever wrote the captions is literally my hero additionally yall who made this video are my heroes this is so helpful thank you the energy of this man is the best 😭🙏✨
@gawni1612
@gawni1612 2 жыл бұрын
Pure Gold Dan! I'm so glad I found this channel!
@Pandamoaneeum
@Pandamoaneeum 7 жыл бұрын
I watch these on x2 speed. This is Robot Gold.
@smatchimo645
@smatchimo645 7 жыл бұрын
I AM LEARNING TWICE AS FAST. UNLLIIMMMITTTTTED POWWWWAAAAAAAAAAAA
@zeldajerk
@zeldajerk 6 жыл бұрын
That's actually a good idea. He's going a bit slow for me. thanks Pandamoaneeum. He's even more passionate now!
@TheDestino8
@TheDestino8 3 жыл бұрын
I'm increadibly grateful for being shown the autoformat function. THANK YOU!!!
@avoriginal9342
@avoriginal9342 2 жыл бұрын
Dude I cannot explain how much I love your videos😂 mixture of laughter learning passion everything 😂
@GabeColors
@GabeColors 5 жыл бұрын
Happy Thanksgiving and thank you!!!! AND YOU MUST include the link to next youtube video in your description as KZbin flow does not do it man!!!!
@TheCodingTrain
@TheCodingTrain 5 жыл бұрын
Hopefully this helps?kzbin.infoplaylists?view=50&shelf_id=2&sort=dd
@andreask.8350
@andreask.8350 6 жыл бұрын
I DID PAUSE THE VIDEO!!
@emilyhatton3254
@emilyhatton3254 9 жыл бұрын
you are a champion, thank you for posting these videos!! I completed an online course on processing but youve explained it in a way I can actually understand. Thank you!!
@joebarhouch2742
@joebarhouch2742 7 жыл бұрын
Emily Hatton from which website did you take the course?
@apprenticedtopicbookcritic101i
@apprenticedtopicbookcritic101i 2 жыл бұрын
You are so humble and nice and smart.
@intermediatecoder3824
@intermediatecoder3824 8 жыл бұрын
You are an absolutely amazing teacher. Thank you so much for everything you do! I have a question though. Is there a way to cause an interaction between two shapes. For example, if an ellipse touches another ellipse, something happens.
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
+Intermediate Coder Thanks! This is covered in this video: kzbin.info/www/bejne/jGjOZpV8hsebfZI
@moneyzza1
@moneyzza1 8 жыл бұрын
Thank you Daniel, you really teach easily. Thanks for your power, i have really short english , but i can start processing and understand about setup and draw~!
@SQUADGT
@SQUADGT 4 жыл бұрын
6:30 hahaha this guy is a legend
@badreddineelharchali9349
@badreddineelharchali9349 4 жыл бұрын
i'm from Covid-19 time in 2020
@moonshine8848
@moonshine8848 7 жыл бұрын
//face size(500,500); background(100,0,100); //line stroke(255); //face fill(255,255,0); ellipse(250,250,500,500); //eye1 fill(255); ellipse(150,150,175,175); //eye2 fill(255); ellipse(350,150,175,175); //pupil1 fill(0); ellipse(150,150,25,25); //pupil2 fill(0); ellipse(350,150,25,25); //mouth fill(255); stroke(0); rect(150,275,275,175);
@rafaeljtsilva
@rafaeljtsilva 7 жыл бұрын
Really, there's no need in cutting those parts They bring a lot to the lesson I'm so loving these!, thank you
@KelticNuts
@KelticNuts 3 жыл бұрын
Thank you for your enthusiasm, and the simplicity of your descriptions!
@silaseriksen5771
@silaseriksen5771 7 жыл бұрын
Is there a difference between writing some code and writing some code in the setup function?
@benyominwalters9422
@benyominwalters9422 5 жыл бұрын
It seems that Processing has two modes "static" mode is when you type your code without the setup and draw functions. "Active" mode is with these functions. You can't do both at the same time. But static mode is the same as just using the setup function without anything in draw. If you try to do both, you'll get an error "It looks like you're mixing "active" and "static" modes."
@ethancass6885
@ethancass6885 5 жыл бұрын
Wow you're so good at teaching this, I'm pretty new to coding, I can understand it way better than I can write it, but you're very good at explaining it and showing why the things work like they do, while still keeping the simple parts simple. Thank you so much, and you're super entertaining too!
@apprenticedtopicbookcritic101i
@apprenticedtopicbookcritic101i Жыл бұрын
Have you tried La Vache Kri with Raspberry Jam it is so delicious, you will love it.
@kafka5795
@kafka5795 3 жыл бұрын
This man should really think about buying a lavalier microphone...
@user-RaahNeko
@user-RaahNeko 3 жыл бұрын
WAX ON! WAX OFF!
@Sandipmaurya001
@Sandipmaurya001 3 жыл бұрын
Hello Sir, I want to save sensor data of arduino in text file by Processing please help me how to store data in text or EXCEL sheet with Processing.
@idarkstarx6939
@idarkstarx6939 4 жыл бұрын
You can really count the frames in this video. Also like/comment if you're from Dr. Jey's CS 1335.003!
@TheCodingTrain
@TheCodingTrain 4 жыл бұрын
What school is Dr. Jey's course from?
@idarkstarx6939
@idarkstarx6939 4 жыл бұрын
The Coding Train University of Texas at Dallas.
@apprenticedtopicbookcritic101i
@apprenticedtopicbookcritic101i Жыл бұрын
But if I run the code with the first draw equation setup will it run automatically or I need to enter both procedures.
@yuzhao5883
@yuzhao5883 5 жыл бұрын
Such a good tutorial. Clear and with passion.
@RafaelSales55
@RafaelSales55 4 жыл бұрын
Learning Processing for making games faster and coller. I'm not sure if I'm in the right place
@austinntarpeh7495
@austinntarpeh7495 4 жыл бұрын
Hey i am Austin .. how do u start programming on your pic .. that's the first step i will like to learn pls ..
@danielwatson6529
@danielwatson6529 4 жыл бұрын
freeSpirit() { sytemAutoFormat = false if sytemAutoFormat = false print("Enjoy yourself)
@zinebbelrhazi6057
@zinebbelrhazi6057 2 жыл бұрын
i want a boyfriend like you, why i never meet such guys :(
@lazyhippo1610
@lazyhippo1610 4 жыл бұрын
I set the play back to x2 speed and I can barely understand what your are saying :)
@scoobxrt4460
@scoobxrt4460 7 жыл бұрын
This is JavaScript right?
@TheCodingTrain
@TheCodingTrain 7 жыл бұрын
nope, see processing.org (Java). I use this environment in my videos in addition to JavaScript.
@DefaultFlame
@DefaultFlame 11 ай бұрын
"Puck" lol, Pong is supposed to be table tennis, not foosball.
@shivaafshari1396
@shivaafshari1396 3 жыл бұрын
In a multi shapes area, which we want to have them fix and just move one of them, what should I do?
@Xnoob545
@Xnoob545 5 жыл бұрын
WHY CANT I DOWNLOAD PROCESSING??? it is stuck at 100% and doesn't let me open it
@yuli3873
@yuli3873 3 жыл бұрын
10:04 you are so fun :D and a GREAT teacher
@upya3813
@upya3813 5 жыл бұрын
does anyone else feel like they have something wrong with them after watching this guys brain work while he teaches? OMG is he ALWAYS LIKE THAT??? WHHAAAT!? i luv him but :)
@yasminelhammani1248
@yasminelhammani1248 5 жыл бұрын
11:38 It´s night and you've made me laught so hard
@cookiecutter5162
@cookiecutter5162 7 жыл бұрын
Is there any reason to follow this Processing series over the P5 series? I've watched deep into the P5 vids and the Processing series seems to be heading exactly the same way... even the code seems to be exactly the same :S CONFUSED
@playyocast2322
@playyocast2322 6 жыл бұрын
a long way to describe a function. but i like the way you explain stuff. it is understandable to a dumbass. could you make another tutorial series about processing but at a beginner programmer level (basiclly we know jargon and all that but then we are people who just use programming to solve problems with algorithms we write and print out in console, and we want to get started with programming visually)
@maspoetry1
@maspoetry1 4 жыл бұрын
Is it possible to export gifs out of a processing code? Cause it seems easier than including it on a website.
@jeffreylind
@jeffreylind 4 жыл бұрын
I know im 5 years late but does putting a static draw command in void draw use more memory? I would think that since it is constantly refreshing a static image it would be more ineffiecent
@rajaryan7167
@rajaryan7167 3 жыл бұрын
thanks for the video
@joshuamartinezruano5006
@joshuamartinezruano5006 4 жыл бұрын
Thank you!! it was the best programming video I have seen
@esatymn
@esatymn 4 жыл бұрын
Which language is this
@GCP1496
@GCP1496 7 жыл бұрын
You didn't cut the videos in the end... PS: Your channel is awesome
@iamrahulkv
@iamrahulkv 8 жыл бұрын
Hey Daniel, I want to simulate the behavior of a Cantilever beam hinged at one end and some external force is applied on it. I want to see the oscillation of the beam in that scenario.
@JohnBaller69
@JohnBaller69 Жыл бұрын
Fortnite is better
@chantal6667
@chantal6667 4 жыл бұрын
You’re so good and funny! THANK YOU!
@spacesciencegamingmore6622
@spacesciencegamingmore6622 5 жыл бұрын
It didn’t work for me so can you help how to fix it in a Nother video (or a reply)
@nusrayusuf9174
@nusrayusuf9174 4 жыл бұрын
Wow!! You are a great teacher! We are lucky to have access to this premium content.
@stephenoni2019
@stephenoni2019 2 жыл бұрын
thank you!
@jackpavlik563
@jackpavlik563 6 жыл бұрын
3 People couldn’t “hack” it.
@williamwelmans8648
@williamwelmans8648 3 жыл бұрын
Thank you! A great way to learn programming.
@ArcherElvis
@ArcherElvis 5 жыл бұрын
I feel like you could have a good shot at acting. Would be fun to see u in film :)
@neurophilosophers994
@neurophilosophers994 5 жыл бұрын
I’ll be back Mother’s Day and game of thrones are calling me
@mariadelourdesgarciadelahi4454
@mariadelourdesgarciadelahi4454 8 жыл бұрын
This has been soo helpful, thanks! I am stuck now on trying to change the color of the background without deleting whatever I already have on the screen, what would you recommend?
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
Keep watching! You are going to need variables, objects, and arrays to do this!
@georgeeveren1459
@georgeeveren1459 8 жыл бұрын
How do I create an interaction between a shape and a color?
@shradhankumar4109
@shradhankumar4109 8 жыл бұрын
Your tutorials are good. I wanted to interface processing with markers to build up augmented reality shapes in real time. How can I do that?
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
+Shradhan Kumar Take a look through the video and vision libraries on processing.org: processing.org/reference/libraries/#video&vision (You can also incorporate any Java library into Processing too.)
@swampmonster
@swampmonster 8 жыл бұрын
These videos are so helpful! I sincerely wish I'd found these earlier. Makes for an awesome refresher of class material for tests. Also very entertaining, I enjoy these a lot!!
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
+Mary Sterling really glad to hear thank you!
@mzkiller6851
@mzkiller6851 6 жыл бұрын
When a progarm goes in to a bug xD
@DavidLeeMenefee
@DavidLeeMenefee 8 жыл бұрын
Processing 3 will not run on my new windows 8.1 computer. Do you know why? As soon as I click onto the .exe icon the program closes a second later.
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
+ElectronicWizzard Unfortunately I don't have a windows 8 computer to test on, but take a look here github.com/processing/processing/wiki/Troubleshooting and if you still have trouble post a query at forum.processing.org.
@prakharpandey2392
@prakharpandey2392 6 жыл бұрын
Are you sure you downloaded the 64/32 bit one
@stainlessdroid3249
@stainlessdroid3249 5 жыл бұрын
beautiful brackets
@zjgamedev8837
@zjgamedev8837 4 жыл бұрын
10:04
@IshidaAnimaGames
@IshidaAnimaGames 7 жыл бұрын
Thank You Very Much
@batman_1st
@batman_1st 7 жыл бұрын
lol that intro
@codybishop7526
@codybishop7526 6 жыл бұрын
Why does setup run only once but draw does it over and over? Is this inherent?
@谢昱梓
@谢昱梓 6 жыл бұрын
i also curious about this
@prakharpandey2392
@prakharpandey2392 6 жыл бұрын
Yes it is It is basically because it is this way in its package and software and stuff... Basically the creators thought of functions (setup(), draw() etc.) that could almost create everything possible and this was the design/collection of functions they came up with. I hope u understand😌
@hailahong3021
@hailahong3021 7 жыл бұрын
No ads so that I can click?
@FarmingFromAbove
@FarmingFromAbove 6 жыл бұрын
9:55 AHA
@iamrahulkv
@iamrahulkv 8 жыл бұрын
How to implement the Effect of Wind exerted on any object?
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
+Rahul Kumar Verma Take a look at my nature of code series kzbin.infoplaylists?sort=dd&view=50&shelf_id=6
@17colosal
@17colosal 5 жыл бұрын
In what video do you explain how to crate an .exe from the code you wrote? Thx
@angelcaru
@angelcaru 3 жыл бұрын
Processing (the IDE) has a 'compile'option somewhere in its menus. It brings up s dialog box. Since Processing requires Java to run, you have to decide whether or not to include it in the executable.
@nawarassad5008
@nawarassad5008 6 жыл бұрын
you are amazing man
@tedw123
@tedw123 3 жыл бұрын
hello chi ho
@tedw123
@tedw123 3 жыл бұрын
@Chi Ho HO why bruv
@simonasp1465
@simonasp1465 8 жыл бұрын
Is this recorded at a low frame rate to save space? Just curious
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
+Simon Asp I have a system that records to disk / uploads in real time. This video is from several years ago and the system wasn't as good, it's not on purpose. See some of the new videos for how its improved.
@guentherwalze1521
@guentherwalze1521 9 жыл бұрын
Geat work - I really like your style ;)
@TheCodingTrain
@TheCodingTrain 9 жыл бұрын
Thank you!
@RameenFallschirmjager
@RameenFallschirmjager 5 жыл бұрын
Well, before we define these functions we had some chunk of working code in previous videos. How come it did work?! I'm confused someone explain please.
@mayonezz4735
@mayonezz4735 5 жыл бұрын
I think because its static code
@RameenFallschirmjager
@RameenFallschirmjager 5 жыл бұрын
@@mayonezz4735 static code?! like static electricity?! dude you talk pretty sophisticated! it's beyond my coding literacy!
@idarkstarx6939
@idarkstarx6939 4 жыл бұрын
@@RameenFallschirmjager Another definition of "static" means "not moving". So a "static code" doesn't move.
@RameenFallschirmjager
@RameenFallschirmjager 4 жыл бұрын
@@idarkstarx6939 I guess your joking!
@idarkstarx6939
@idarkstarx6939 4 жыл бұрын
ramin alikhani You *could* guess that I’m not telling the truth, but then, you’d be completely wrong.
@myles199
@myles199 9 жыл бұрын
Great videos dude!
@georgeeveren1459
@georgeeveren1459 8 жыл бұрын
Also, you are soooooooooo helpful
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
+George Everen thank you!
@yashshah9029
@yashshah9029 4 жыл бұрын
so where where how can i see this method defination i cant find defination of setup() and draw() ?
3.2: Built-in Variables (mouseX, mouseY) - Processing Tutorial
13:35
The Coding Train
Рет қаралды 146 М.
Oh, wait, actually the best Wordle opener is not “crane”…
10:53
Will A Guitar Boat Hold My Weight?
00:20
MrBeast
Рет қаралды 259 МЛН
SHAPALAQ 6 серия / 3 часть #aminkavitaminka #aminak #aminokka #расулшоу
00:59
Аминка Витаминка
Рет қаралды 2 МЛН
БЕЛКА СЬЕЛА КОТЕНКА?#cat
00:13
Лайки Like
Рет қаралды 2,7 МЛН
I tried using AI. It scared me.
15:49
Tom Scott
Рет қаралды 7 МЛН
4.1: Variables - Processing Tutorial
19:02
The Coding Train
Рет қаралды 196 М.
Mojang just changed Pistons forever. And people hate it.
4:06
Phoenix SC
Рет қаралды 1,6 МЛН
4.3: Using random() - Processing Tutorial
11:51
The Coding Train
Рет қаралды 164 М.
Characters, Symbols and the Unicode Miracle - Computerphile
9:37
Computerphile
Рет қаралды 2 МЛН
why are switch statements so HECKIN fast?
11:03
Low Level
Рет қаралды 410 М.
FizzBuzz: One Simple Interview Question
7:18
Tom Scott
Рет қаралды 3,5 МЛН
Will A Guitar Boat Hold My Weight?
00:20
MrBeast
Рет қаралды 259 МЛН