Hi Zach! I had a great time at the game jam kick-off, thanks for the invite. It's always fun giving presentations like that. I still need to check out the games you guys developed. I'm guessing there were some pretty impressive ones, based on the attendees.
Thanks! For a long time, I had thought the inverse kinematics was a lot more complicated than it is (at least the simpler algorithms) so I was glad to get the word out. :)
Thanks Terry, new to the ChaosCommunity but happy to be here! I was wondering why you choose to use Processing over something like p5.js or other software? Thanks:)
Welcome! I'm glad you enjoyed the video. I love 'ChaosCommunity', I don't think anyone has used that phrase before - mind if I 'steal' it? I like Processing for these videos because it's easy to install and has easy to access graphics capabilities, so has a very low bar to entry for newer programmers (and more experienced programmers can translate the algorithms to the language of their choice). My standard language is C++, but that's not as good for simple, graphical projects. Of course, p5.js has the exact same advantages as Processing with Java, I've just used the Java version a lot more so am more comfortable with it. But I have been thinking of doing some future videos in p5.js. Just need to brush up on the syntax differences.
@@programmingchaos8957 I'd love for you to steal that name! Okay I was just wondering about it for my own work. I'd also be open to working on p5.js if you decide to do those videos. Thanks again!
Thanks for this tutorial! Inverse kinematics has been one of the many programming things I've wanted to learn but haven't quite got around to, so this is a great primer for me!. I'd love to see more tutorials for projects that have an application in robotics, like this one :). Would you be interested in doing a tutorial about PID controllers?
You're welcome! I'm glad is was a useful tutorial. I found this approach easier than I expected. A PID video is a great suggestion. I'll have to look for some applications that do a good job of illustrating the process graphically. I think of them as for problems like temperature control, but I know there are more visually interesting applications. Let me know if you know of any.
Not currently. I might set one up eventually, but for now all of the code is in the video. Not as easy as downloading from a repo, but the teacher in me thinks copying it is a good way to see the nuances in the code. These days a large language model like ChatGPT can probably generate most of the code if your specific with it - code in processing for a CCD inverse kinematic model - especially if you give it the segment class to start from. I'm not a huge believer in LLM code, but for well defined problems it can save some typing.
your videos are always the best! may i ask you what you studied? i need to choose what to study after high school 🥹. I really want to learn more about matematics and computer science, to be able to write and research papers about interesting topics such as this one and still integrate all of this with a pratical approach. Love your vids❤
Thank you! For my undergraduate degree I studied physics and did a fair amount of computer modeling as part of the degree - but that was also long enough ago the CS programs were not very common. I got an MS in physics as well, before finally figuring out that I really only liked the programming models part of physics, and switched to CS for my PhD. Of the 'traditional' fields I would recommend CS with a math or physics minor. But these days it might be possible to find something like a mathematical modeling program. Hope this helps.
Hi Terry! This is Zach from the Game Development Club. Thanks again for coming out! Great video
Hi Zach! I had a great time at the game jam kick-off, thanks for the invite. It's always fun giving presentations like that. I still need to check out the games you guys developed. I'm guessing there were some pretty impressive ones, based on the attendees.
Nice algorithm. Very simple indeed!
Thanks! For a long time, I had thought the inverse kinematics was a lot more complicated than it is (at least the simpler algorithms) so I was glad to get the word out. :)
Thanks Terry, new to the ChaosCommunity but happy to be here! I was wondering why you choose to use Processing over something like p5.js or other software? Thanks:)
Welcome! I'm glad you enjoyed the video. I love 'ChaosCommunity', I don't think anyone has used that phrase before - mind if I 'steal' it? I like Processing for these videos because it's easy to install and has easy to access graphics capabilities, so has a very low bar to entry for newer programmers (and more experienced programmers can translate the algorithms to the language of their choice). My standard language is C++, but that's not as good for simple, graphical projects. Of course, p5.js has the exact same advantages as Processing with Java, I've just used the Java version a lot more so am more comfortable with it. But I have been thinking of doing some future videos in p5.js. Just need to brush up on the syntax differences.
@@programmingchaos8957 I'd love for you to steal that name! Okay I was just wondering about it for my own work. I'd also be open to working on p5.js if you decide to do those videos. Thanks again!
The opening animation brings to mind the worm prediction scene in Devs.
I managed to totally miss Devs, I'll have to check it out. But there's a good chance they used the same (or a similar) IK algorithm in the show.
Thank you for educating us!
Thanks! I'm always trying to learn new techniques myself. If you have any suggestions for future topics I'd love to hear them.
Thanks for this tutorial! Inverse kinematics has been one of the many programming things I've wanted to learn but haven't quite got around to, so this is a great primer for me!. I'd love to see more tutorials for projects that have an application in robotics, like this one :). Would you be interested in doing a tutorial about PID controllers?
You're welcome! I'm glad is was a useful tutorial. I found this approach easier than I expected. A PID video is a great suggestion. I'll have to look for some applications that do a good job of illustrating the process graphically. I think of them as for problems like temperature control, but I know there are more visually interesting applications. Let me know if you know of any.
Is there a git repo, so i can experiment with your code ?
Not currently. I might set one up eventually, but for now all of the code is in the video. Not as easy as downloading from a repo, but the teacher in me thinks copying it is a good way to see the nuances in the code. These days a large language model like ChatGPT can probably generate most of the code if your specific with it - code in processing for a CCD inverse kinematic model - especially if you give it the segment class to start from. I'm not a huge believer in LLM code, but for well defined problems it can save some typing.
ahh this so cool! thank you!
Thanks! I was surprised at how (relatively) simple and effective this algorithm was for generating smooth movements.
That's fire my nigga
Thank you!
Great ,I prefer FABRIK, but this too Is very interesting !
Thank you! FABRIK is also pretty cool. I want to code that next and compare them. I might do a video on FABRIK as well, thanks for the suggestion.
your videos are always the best! may i ask you what you studied? i need to choose what to study after high school 🥹. I really want to learn more about matematics and computer science, to be able to write and research papers about interesting topics such as this one and still integrate all of this with a pratical approach. Love your vids❤
Thank you! For my undergraduate degree I studied physics and did a fair amount of computer modeling as part of the degree - but that was also long enough ago the CS programs were not very common. I got an MS in physics as well, before finally figuring out that I really only liked the programming models part of physics, and switched to CS for my PhD. Of the 'traditional' fields I would recommend CS with a math or physics minor. But these days it might be possible to find something like a mathematical modeling program. Hope this helps.
@@programmingchaos8957 thank you!