Blog template
I have compete prototype of Robot Joints simulator using matplotlib and some geometric transformations
How Element Rotation works
Matrix rotation is a way to rotate points or vectors in space using linear algebra. Instead of moving each point manually, you multiply it by a rotation matrix, which encodes the rotation angle and axis.
2D rotation:
For a point (x,y)(x, y)(x,y) rotated by angle θ\thetaθ around the origin:
3D rotation:
In 3D, you rotate around an axis (X, Y, or Z) using a 3×3 rotation matrix. For example, around Z-axis:- If we want to rotate some object we will just multiply array of its points on our matrix.