Question: PART 2 Start with robot _ arm.html and robot _ arm.js from Project 7 zip. When you open Part 2 folder and run robot _

PART 2
Start with robot_arm.html and robot_arm.js from Project7 zip. When you open Part2
folder and run robot_arm.html you should see like below default robot arm.
quad First load the application and see how it works. Try pressing lower and uppercase 'e' to
move the elbow. Try pressing lower and uppercase 's' to move the shoulder
Now, add three fingers and a thumb to the robot. Use matStack.push() and
matStack.pop() to separate the transformations for each digit. Do not attempt to "untransform"
with an inverse rotate, translate or scale.
Finally, add some code that will make the finger and thumb move apart when ' f ' is
pressed and together when ' F ' is pressed. The center of rotation should be at the wrist.
this is jscode You can interact with this sample solution to see how your arm might work. Click on it and use the keys described above. I have also added some additional controls:
-\(\mathrm{x}/\mathrm{X}\) : to rotate the arm on the X axis so you can see it from different angles
-\( y / Y \) : to rotate the arm on the \( Y \) axis so you can see it from different angles
- a/A: to rotate the fingers on the x -axis with positive direction
- b/B: to rotate the fingers on the x -axis with negative direction
-\(\mathrm{m}/\mathrm{M}\) : to rotate the fingers on the y -axis with positive direction
-\(\mathrm{n}/\mathrm{N}\) : to rotate the fingers on the y -axis with negative direction
-\(\mathrm{t}/\mathrm{T}\) : toggle between solid and wire cubes
-\(\mathrm{p}/\mathrm{P}\) : toggle between perspective and ortho projections
- S/s: Increase movement speed
- D/d: Decrease movement speed
- Z/z: Sequential fingers closing right to left
- G/g: Sequential fingers opening right to left
PART 2 Start with robot _ arm.html and robot _

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!