Whilst handlings schoolwork, I've also been tackling this little challenge for myself: a flexible FABRIK implementation made in Scratch! This one is one of my favourites, and it really made me exercise my skills and logical thinking as a scratcher. So, to clue you in, FABRIK (or Forward And Backward Reaching Inverse Kinematics) is a quite popular and straight-forward IK algorithm that makes it absurdly easy and intuitive to code up such a system, only requiring a basic understanding of linear algebra (vectors, vector operations ( +, -, *, \ ) , unit vector, scalar multiplication) to pull off. This all sounds scary and complicated, but what it does is it essentially lets me make stuff like robot arms or spider legs! How cool is that? So, to play around with this "engine", you can play with the sliders a bit, and when you're happy with your settings, click the "refresh" button. Have fun! - @elfoelfo (P.S this implementation will probably receive an update in the foreseeable future, as it's not as flexible; only supporting one arm with its code. Look out, if you wish!)
But, I've got to give credit where it's due. There is a bit of code inside that allows to get a direction of movement towards some coordinates (essentially a "point towards(x,y)" block). The equation was originally made by: @icmy123 You should definitely check his work out, it's phenomenal! Also, the youtube video I've used as a sort of "tutorial" for my implementation is here: https://www.youtube.com/watch?v=UNoX65PRehA (it only explains the algorithm itself, without the code.)