13.8: Threads - Processing Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ม.ค. 2025

ความคิดเห็น • 28

  • @kennyl7542
    @kennyl7542 9 ปีที่แล้ว +7

    Hi Dan, it is a huge temptation to try to finish all your videos, but I am now much happier that your videos provide great help and encouragement and confidence to work on my own project in processing. Also, the processing forum is friendly and helpful.
    However, there is still an old and disastrous defeat in my mind on programming -- reading documentation. newbie friendly Processing, large amount of simple examples, your wonderful video lessons and step by step instruction and fun style have warmly prepared me and sent me quite a long way on my own project journey in processing.
    That's why after a few days happy progress in my project, now I realized direct simple processing functions listed on processing.org seem not enough any more. I am in the position where I have to go down to documentations and search for functions useful to specific tasks, which is very 'scary' and seemingly 'fruitless and wasteful' of time based on my previous learning experience of reading python's documentations a year ago.
    I wonder it would be possible for you to make a short video on guiding newbies like me to go down to explore processing and java documentations for a specific function or usage, it can be as simple as functions for saving a float[][] into a file. it does not have to be in series, just a short video to help us kill the fear for exploring documentations.
    Thank you very much!

    • @TheCodingTrain
      @TheCodingTrain  9 ปีที่แล้ว

      +Kenny Liao These are great suggestions. I have long list of videos to get to. Right now I'm focusing on finishing the p5.js series and then also plan on recording some videos on git and github. So stay in touch and I'd love to get to these ideas soon.

    • @kennyl7542
      @kennyl7542 9 ปีที่แล้ว

      Sure, I will, thanks!

  • @mattygamesow7933
    @mattygamesow7933 7 ปีที่แล้ว

    Thank you so much for creating videos. I'm learning so much and its really fun, your such a great teacher explaining things really well even i can understand them ( a 14 yo). You've also given me inspiration to make new things everyday (currently working on a portal 2 turret with a raspberry Pi and an Arduino). I really can't thank you enough (i will make sure to use threads in this project as it has to use computer vision and on a raspberry Pi that is fairly slow). Keep up the great work!

  • @arturkarlov3000
    @arturkarlov3000 9 ปีที่แล้ว +8

    So, I just finished watching this series of videos. Thank you so much, Mr. Shiffman for your hard work and dedication to education!
    Where would you suggest to go from here? I see that you have more videos on Processing for Nature of Code. Should I just jump to them, or is that more advanced stuff that I should save for when I am more comfortable with Processing and programming in general?
    Also, since here I am asking questions and stuff, is it possible to make a video game in Processing? I know it's kinda unrelated but still, something that I am really interested in, and Processing seems like an as good a tool as many out there. Has it been done? Or Processing crowd is more focused on artsy side of coding?

    • @TheCodingTrain
      @TheCodingTrain  9 ปีที่แล้ว +1

      +Artur Karlov Especially if you are interested in building a game, I would jump right into the Nature of Code tutorials. Processing is a great platform for prototyping and making a game, I think the question is where you want to deploy/distribute the game, but I might not worry about that yet, you can always port later!

    • @arturkarlov3000
      @arturkarlov3000 9 ปีที่แล้ว

      Cool, thanks! I have a bunch more questions for you, related and unrelated to Processing. You just seem like such a great resource, I can't help it. Where would be a good place to ask you those questions?

    • @TheCodingTrain
      @TheCodingTrain  9 ปีที่แล้ว +1

      +Artur Karlov I try to answer questions about the videos themselves here. For general help and questions I will be having some live streams soon where I'll take questions in adavnce and live (stay tuned to twitter @shiffman for scheduling announcements). You can also post to forum.processing.org where a wider community can provide help and send me link to your post so I can follow / contribute.

    • @arturkarlov3000
      @arturkarlov3000 9 ปีที่แล้ว

      +Daniel Shiffman Cool, I definitely check out the forums for one of the questions I was having. The other one was really about your opinion about other creative coding environments, such as VVVV, OpenFrameworks, Pure Data and the likes. Did you have any experience with them? What are your thoughts on those? Or would you recommend just sticking with Processing and experimenting with other stuff when I master it?
      Another thing was, how good do I need to be for the Nature of Code videos? I learned a lot from these videos here, but still have troubles making objects working as expected all the time. Would Nature of Code videos be going over some of the basics again in new context or it's all new with expectation that the user has a very good grasp on the introductory stuff?
      Thanks again and I hope these questions are not too much.

    • @TheCodingTrain
      @TheCodingTrain  9 ปีที่แล้ว +2

      +Artur Karlov The Nature of Code videos are a great next step after these. While they do review foundational topics, a good comfort with object oriented programming would be helpful so I might review that stuff first. All the other environments you mention are great choices to work in. All of them (as well as Processing) have their pros and cons. I think it's good to branch out and try other environments, but as you are learning it can sometimes be nice to stick with one for a little bit.

  • @dhirajgaud6703
    @dhirajgaud6703 8 ปีที่แล้ว +1

    your channel is helping me in my project I want to know can you make a video on this pointer, returning a object, access local variable from one class method to another

  • @ra5332
    @ra5332 7 ปีที่แล้ว

    Wow, Your Awesome .I really like the way you teach. Really Thanks for the series and the example codes.

  • @TheGBsXB
    @TheGBsXB 6 ปีที่แล้ว +1

    Hello Mr. Daniel, what a nice course to finish this awesome serie about Processing, I'm very thankfull and I hope you're having a nice day everyday, I was thinking about moving on to the next serie about The Nature Of Code or should I stick to my own plan learning p5js since I already am a JS developer then going back to NOC, what do you suggest Mr. Daniel ?

  • @JamesSmith-cg7om
    @JamesSmith-cg7om 5 ปีที่แล้ว +1

    I REALLY LIKE YOUR processing tutorials and am watching 2D RAY video; your REALLY GREAT 😎......

  • @kennyl7542
    @kennyl7542 9 ปีที่แล้ว +1

    Hi Dan, I did receive some replies on my question of how to make a processing library as a newbie. People suggested to learn eclipse and I also looked into processing official guide of making library, however, it seems relatively advanced for a newbie. I wonder whether you could make a video on how to follow processing official guide of making a library. Or probably more attractively, building processing library inside processing, for details, please go to forum and search "what is a natural learning path to create a processing library as a newbie". (sorry, youtube does not allow to paste web link here??) Thanks a lot

    • @TheCodingTrain
      @TheCodingTrain  9 ปีที่แล้ว

      +Kenny Liao Thanks I'll look for your post! A quick answer to this question is that first just make all the classes in Processing and figure out how you want the features to work. Then it's just a matter of moving everything to Eclipse which I can, as you suggest, hopefully make a video on.

    • @kennyl7542
      @kennyl7542 9 ปีที่แล้ว

      I see, thanks

  • @sahilgill1531
    @sahilgill1531 7 ปีที่แล้ว

    how will threads interact with each other???

  • @simontewolde3616
    @simontewolde3616 9 ปีที่แล้ว +1

    I can't wait to watch nature of code. Couldn't even go through this whole video

  • @BrunoHerrbach
    @BrunoHerrbach 6 ปีที่แล้ว

    Please,
    I'm french and i'm speak not english.
    Comment faites vous pour augmenter le compteur ? How to make : "count+=1" in the graph-windows ? ?
    In the class, I have that :
    class MonThread extends Thread {
    boolean running;
    int attente;
    String id;
    int count;
    MonThread (int w, String s) {
    attente = w;
    running = false;
    id = s;
    count = 0;
    }
    void start() {
    running = true;
    System.out.println("Démarrage du Thread " + id);
    super.start();
    }
    }

    • @Vinni-2K
      @Vinni-2K 5 ปีที่แล้ว

      count++;

  • @sunad4784
    @sunad4784 8 ปีที่แล้ว

    thank you!

  • @blue_name_warrior
    @blue_name_warrior 7 ปีที่แล้ว

    所以呢?究竟怎么用thread?我少看一集视频吗?

  • @jacobclaassen4709
    @jacobclaassen4709 6 ปีที่แล้ว

    I used delay to make a snake game. Made the snake not go at a billion mph and I made it playable

    • @Vinni-2K
      @Vinni-2K 5 ปีที่แล้ว

      gg lol

  • @pand0ras
    @pand0ras 5 ปีที่แล้ว

    ran into performance problems with openCV facetracking. lets test this.

  • @blue_name_warrior
    @blue_name_warrior 7 ปีที่แล้ว

    这货果然是卖书的,永远不讲清楚