I tried for several years to get into programming. I knew the syntax, operators, functions, variables. I knew about them. Tried to use them. But i never could wrap my head around the concept of what programming truly is. At the most basic level. The logic behind it. After 12+ languages and hundred+ hours over many years, failing and giving up. I FINALLY found a teacher who could make me truly understand. From the intro to here, even though this is all pretty basic stuff, still. I've understood it, not 70%, not 95, but 100%, because you're an amazing teacher. You revealed the puzzle of programming for me. It's amazing to me that this is a free resource for anyone to absorb. A thousand thanks to you sir. You've made a random 26 y old norwegian dude, extremely happy.
@jimbalbier85263 жыл бұрын
This sounds awesome. But there's one thing: why did you torture yourself so much when you didn't get the point of programming? Learning all these languages must've been hell, by all respect.
@ub-relax680011 ай бұрын
Pseudorandom
@vjd78 жыл бұрын
I've been trying to learn coding skills forever.. to no avail. Your high-energy videos are actually something I can understand and process (pun intended)! Thanks for making them available!
@TheCodingTrain8 жыл бұрын
+Jeremy Bessoff so glad to hear, thanks for the nice feedback!
@koodig7598 жыл бұрын
Wow, this is so great, I am a Chinese and learning Processing by myself now. Wishing your book《LearningProcessing》can be translated in Chinese, but it is OK to me~I am so happy to improve my English and Processing both. HAHAHA, Thank you
@inesflih8011 Жыл бұрын
Thank you ! You literally saved me. I'm a graphic design student and we learnt Processing, i have an exam and I was so lost. Your explanations are clear and simple to understand !
@TheCodingTrain Жыл бұрын
So glad to hear!
@dancedonkey18 жыл бұрын
4:02 is my favourite part :'D thanks for being a teacher that gets excited over the most simple stuff :D! it makes me feel like even as a starter I'm accomplishing great things haha, thanks!!!
@elijahjflowers6 жыл бұрын
dancedonkey1 agreed
@valentinDS96 Жыл бұрын
I knooow. I burst out laughing at that part. :d
@abevetrone12886 жыл бұрын
Hello, I will teach a "Creative Coding" class next year in high school and am very glad to have come across your videos. Helpful. And I am glad you did not have the time to edit out all the entertaining tangents and digressions! I can't remember which video you said it in but I agree, there are few activities more relaxing than throughly wiping off a white board. Thank you again. Keep GOING!
@TheCodingTrain6 жыл бұрын
thanks for the nice feedback!
@jennhott-leitsch79189 жыл бұрын
Thank you sir, for taking the time to make all of these videos. I am studying Processing this summer, and I have been so lost. Your videos have helped me so much! And I might actually pass my final now!!
@rishoo69766 жыл бұрын
SAME
@XxkolowyxX4 жыл бұрын
i love it when he talks to himself :) makes me feel less intimidated by programming
@ezangrobotsvideos92864 жыл бұрын
great , we are moving on, keep going - thanks
@chafikchaf58274 жыл бұрын
salam , Hi , you are the best , now i feel like i can be a programer , so funy plenty of info you making it so easy for us , I wish you were my teacher all this years . thanks man
@gawni16122 жыл бұрын
Finally a teacher who teaches how my brain works
@understandinghumanity46534 жыл бұрын
your videos are absolutely inspiring and when i first started watching i may have though " oh who tf is this human and his wild antics " but now i see the beauty in your humor and the nature of your persuasion towards becoming a more intellegent human being through humor and failure! /// DEF WORTH A SUBSCRIBE AND UPVOTE
@understandinghumanity46534 жыл бұрын
also @ 00:40 LOL at flipping the bird to this damm assignment operation
@Sound8VisionVibe8 жыл бұрын
Loving the book and videos. Thanks so much for helping me dive into this new artistic horizon!
@TheCodingTrain8 жыл бұрын
+Sound8Vision so glad to hear, thanks for watching!
@MathyMahdi4 жыл бұрын
Hi Dan, the videos are excellent and I tried out speedX and speedY. It works great! By the way, I love your excitement for these videos float circleX = 0; float circleY = 0; float speedX = 1; float speedY = 1; float r = 24; void setup() { size(640, 360); } void draw() { background(0); fill(255); ellipse(circleX, circleY, r, r); circleX = circleX + speedX; circleY = circleY + speedY; }
@tsmupdatertsm76337 жыл бұрын
Such a great video... really!!! Perfect explanation! I did not think so far that a half pixel doesn't exists...... Here comes logical thinking....
@TheCodingTrain7 жыл бұрын
Thank you!
@ailen807 жыл бұрын
Love your videos, you put so much energy in them :)
@kounter26 жыл бұрын
dude i just love you so much, thanks.
@prekshamehta82733 жыл бұрын
Also love the lessons they're very helpful! The energy helps so much, thank you so much! @TheCodingTrain
@joincoder3 жыл бұрын
2021 just saw your explanation , thank you
@anastasiaioannou14237 жыл бұрын
u make me love processing really ! i love u are energy i love u are aura! from cyprus xxx
@apprenticedtopicbookcritic101i Жыл бұрын
So far I want to thank you so much as american are so decent and you are alike.
@genhur7366 жыл бұрын
Love your videos! Question: When would we choose int over float, if float allows us to use integers and decimal numbers?
@MiledRizk4 жыл бұрын
Hi, great tutorials, thanks! by the way, if we use the form circleX += 1 while the circleX type is still int we won't get an error but instead, the window will open up and the circle will simply not move.
@MichaelLD30511 ай бұрын
For the ball to bounce between its x axis float posX; float posY; float speed; float dirX; void setup () { size (640, 640); posX = 320; posY = 320; speed = 5; dirX = 1; } void draw () { background (50); fill (255); hitWall (); posX += speed * dirX; ellipse (posX, posY, 60, 60); } void hitWall () { if (dirX == -1) { if (posX = 640) { dirX = -1; } } }
@bryananthony39248 ай бұрын
I don't really understand the animation logic from this code , I thought that if I want to animate something moving I would need some kind of time function to slow down the loop so we could see the different changes of the frame , but in here we don't use any time function so is the loop void draw () looping in a specific time interval ?
@philz4177 жыл бұрын
How would I make that circle re-appear again from the spot it began (left) once it runs of the screen?? Please help me!
@jorisalkema95907 жыл бұрын
you need to make an if statement
@aspasiabazakidou34073 жыл бұрын
legend has it that the first ball is still moving
@Anarchivist3438 жыл бұрын
Do you have a video on drawing with trig? I am very confused by it.
@anapausantos78707 жыл бұрын
HEYY!! i need help for a project! i need to make a fun code where i visualize sound!! any advice on where i can find tutorials of processing using beats?
@dalenassar91527 жыл бұрын
So the circle will actually come back from the left after circlex=255 ? It still see's the "+1" increment.
@xzencombo34007 жыл бұрын
Just tell if it is equal to width
@angelcaru3 жыл бұрын
It technically WILL come back after 2147XXXXXX frames (the XXX representing I don't remember the number) because it's a 32-bit value.
How fast is the ellipse being drawn over and over when its static?
@lironmeler40997 жыл бұрын
James Gabbitus I don't know if I understand your question but i will answer what i think you said. Processing is running in 24 frames per second. It means that the circle is updating 24 times every second.
@jamesbradley30006 жыл бұрын
What would the logic syntax be for the python version?
@awsomeguy5638 жыл бұрын
it keeps on saying circlex cannot be resolved to a variable :((
@jorisalkema95907 жыл бұрын
you need to use a float type of variable
@medimarsh23763 жыл бұрын
I'm thinking you can run a university course worldwide called processing
@alessandro.festuccia7 жыл бұрын
hi, thanks for your videos! just a question. if the increment is frame per frame, does processing use a certain number of frames per second as default? and if so, which one?
@JurajPecháč7 жыл бұрын
Alessandro Festuccia The default rate is 60 frames per second.
@adolfocarrillo2485 жыл бұрын
Hey Daniel, I have a cuestion. Why if I print a value on the screen using C++ a statement like CircleX = CircleX + 1; just adds one unit to my preceeding value of CircleX meanwhile in P5.js seems like the instruction keeps executing indefinitely(because the ellipse keeps moving )?, for me the ellipse in your program should move just 1 unit to the right and then the program should stops or the ellipse should stops to move, but it´s not in that way, is there a difference in the way C++ process a scan with reference to P5.js, seems to me like P5.js keeps executing the program over and over and over again in a none sense way, I mean seems like P5.js Keep scaning indefinitely mean the creator wants. Please Help me, I want to Straddle in the Coding Train too. By the way your tutorials are the best, thanks to investing your time sharing your knowledge.😀
@TheCodingTrain5 жыл бұрын
This is related to how the draw() loop works in p5.js! kzbin.info/www/bejne/iJ-2YYyEqrGZh7M
@KotatsuInUnova4 жыл бұрын
Daniel
@alloftheabove16535 жыл бұрын
With this i made a really stupid Flappy Bird game :D just the ball floating from the left to the right and down, and always when i press a key the ball jumps up a bit :D
@tubattitobb Жыл бұрын
amo a este tipo dior
@teko7734 жыл бұрын
I don't know why this dude makes me laugh
@lucaspop515 жыл бұрын
In what language are you coding ?
@TheCodingTrain5 жыл бұрын
This video uses Processing (which is built on top of the Java programming language). For more info, visit processing.org and also this video might help kzbin.info/www/bejne/d57PcpyBqM6sZtE.
@lolsword75 жыл бұрын
Is it possible to change the speed without changing the incremental value? Ie - Pausing the code, or making the code run twice as fast *If the only way to speed up the animation is to increment by 10 pixels, it would be impossible to quickly reach a point on the screen which is not a multiple of 10 pixels away
@TheCodingTrain5 жыл бұрын
You can change the frame rate (see processing.org/reference/frameRate_.html) but there's a limit to how fast a frame rate Processing can handle depending on a variety of factors.
@lolsword75 жыл бұрын
@@TheCodingTrain Cheers, thats exactly what I was after!
@karliban18 жыл бұрын
never mind, i figured it out....
@TheCodingTrain8 жыл бұрын
yay! thanks for watching!
@karliban18 жыл бұрын
so how the hell do you make something to grow??? make it smaller or bigger???
@TheCodingTrain8 жыл бұрын
Variables! Thanks for watching!
@a17waysJackinn5 ай бұрын
omg if circlex created and in somethibg like 360hz display that might be fast as wild
@en25minutes3 жыл бұрын
Dude, you're so funny
@Raycast743 жыл бұрын
Why Is this eerily similar to my JS classes on khan academy?? Is Java JS?!?!
It's saying variable circleX does not exist? I've copied yours
@JAMES180058 жыл бұрын
Ah, the float.
@furiouscakeface69646 жыл бұрын
lol i used a for loop :)
@Jessi123B5 жыл бұрын
pls write my CS exam for me that's tomorrow :(
@velvetdrgn8 жыл бұрын
so this is very confusing to me with the equals sign being used to assign a value to something cause in Delphi we use := it's much more easier to understand. these videos are messing with my brain.