Inverse Kinematics (IK) is the process of obtaining angles between joints to achieve a certain position. So in this case you move the little circle with the mouse and the arm will grab it if within reach. You can display the robotic arm itself, display the angles and lines and the triangle used for solving the problem. This was a warm-up for a real robotic arm manipulation, which was quite fun to do.
i love these kind of toy-like things. (i don't mean toy as a pejorative term; it's just a good analogy, as compared to an app, or game, or something with an end goal.)
I noticed that to put the circle in a certain position to cause the arm to completely make 180 degree angles... causes it to say "nan" on everything. o.o
Well it just uses the optimal way to get the point, so if you switch side it will jump 180 degrees. And if you put the target in the origin it will become NaN (NotANumber) since no solution is obtainable with the triangle method. Since the real robot couldn't do that anyway, I just left it there
Just wondering since I dont know about how this
epic stuff works
It's interesting though... ^w^
your other flash work is also pretty cool