Instruction
Objectives: 1. Understand and apply hierarchical models 2. Programming event drive input 3. Understand and modify existing programs Problem Description: Modify the Robot Arm example from Chapter Nine of you textbook. The finished program shall run as shown in demo at https://app.vidgrid.com/view/qCv0kTy8HRK8 Step by Step Instructions: 1. Create a folder named CSCI431ProjectNine. Download robotArm.html, robotArm.js, and three files located in Common folder (namely, webgl-utils.js, initShaders.js, and MV.js) to the folder. Rename robotArm.html as YourInitialProj9.html, robotArm.js as YourInitialRobotArm.js. 2. Modify the links in YourInitialProj9.html, so that the following four files will be linked appropriately: YourInitialRobotArm.js, webgl-utils.js, initShaders.js, and MV.js. 3. Test run first to ensure that you will have a webpage display a robot arm that controlled by there sliders. This shows that you have modified all links successfully. 4. Now, modify YourInitialProj8.html and YourInitialRobotArm.js file accordingly, so that you will get a program that will run as shown in above link. Before you do this step, make sure you understand the original program.