@argonautcode

Wow, this video really blew up! Thank you for watching! :)

I want to answer some frequent questions from the comments:

How did you make this video?
• All of the visuals were created in Processing!

Can you do this in <insert game engine>?
• Yes, absolutely! This can be done with anything that lets you render stuff to the screen.
• Most engines even have robust rigging systems if you want to skip the math :)

Where can I learn more?
• I haven't been able to find any well-compiled sources on procedural animation, which is why I only covered the absolute basics here.
• However, if you're interested in learning how programming can intersect with natural sciences, I really, really like The Nature of Code by Daniel Shiffman.

This isn't realistic.
• Yes, you're right. This is a simple model that abstracts away real-world complexities.
• However, I hope that you can use these techniques as a starting point to build cool things!
• And I did get a lot of great feedback and ideas for how to improve the animation, I’ll definitely try them out! :)

@joesmith5970

This is exactly how programming concepts should be presented. Visuals, step by step explanations, and the math behind it. Every layer is here to pick apart at any viewer's personal learning pace. No over the top jokes or distracting edits, either. A real gem. Thanks for making this.

@kurushimee

Damn, feels like watching Sebastian Lague's coding adventures!

@lgasc

You could enhance the lizard animation by only allowing a leg to move if the three others are still. It will naturally make a cycle and this cycle will automatically reorder on tight turns.
Or, for a faster walk cycle, only check the matching leg on the other side and the matching leg in front or behind.

@CrabGuyy

What is this super high quality video from a channel with way too little subscribers for its content? the algorithm strikes again with an hidden gem

@galvinvoltag

Thousands of years of technological and mathematical evolution.

We are just scratching the surface of the art of teaching.


Very well produced video, respect.

@jarnhus

Oh dear! You just opened up a rabbit hole beneath my feet. Now I have to implement this myself.

Exquisite video.

@felix30471

This video is gorgeous and very well-produced! Also, I absolutely adore the lizard.

@4epbrk_6rk_6rk

In some places, the lizard began to "jumping". Her legs moved at the same time, which created a similar impression. To correct such cases, you can block the opposing legs, forcibly prohibiting them from moving until a pair of other legs finish moving and "touch the ground". Then the locked pair can be unlocked and the other one can be blocked.

@codycero1

I've been playing with the code. I made a base class that all creatures inherit from and I made it so you can override a function to set up your own body widths and another for overriding the legs. Managed to make an ant with 6 legs. Also, I made it so the angular constraints use a rotation lerp, because the creatures otherwise had a tendency to spaz out. And I made a click & drag path drawing feature. When a path is drawn, the creatures will move along that path in a loop, when you single click, the path clears and they follow your mouse again.

@Jinx3dYT

My cat liked your visuals so much, she sat on my keyboard and pawed at the screen the whole time. 10/10 video.

@dodogama_18

I came across this video through the YouTube algorithm, and I found it truly inspiring. Thank you for your excellent work.

@DillonBoucherDesigns

I watch very few videos that give me those “ah hah!” or “lightbulb” moments. This was one of them!

@lorenzobuero7115

This video is impresive, is just simple math and geometry not a single line of code, but you are able to understand how it works and think how to code it. Maybe the best coding/algoritmic tutorial i have ever seen tbh

@rainbowlemon

I've seen the phrase 'inverse kinematics ' so many times for setting up bones on 3d models and never actually really understood what it meant. This was an awesome explanation, thank you!

@MAXOHNO

Production of this video was really good, suprised you are a relatively small channel, good luck growing!!

@dexlovesgames_dlg

The animation you’ve got playing in the intro of the video was like a neat little visual explainer before you actually got into the top so once you actually started getting into it, I felt like I already understood without any further clarification. So thanks for that! Excellent work!

@shampoable

1:30 mind blowing how simple yet powerful this is

@weezard1235

The best explanation video i saw about procedural animations (and inverse kinematics)! The visualization makes it so clear and understandable, great video!!

@LabGecko

This feels like a master's thesis in comp sci animation