Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Below is the code template I am suppost to change to create the above pendulum (

ID: 3796876 • Letter: B

Question

Below is the code template I am suppost to change to create the above pendulum (not the answer):

Also here is the HTML code for the javascript code above:

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Continually Rotate A Triangle (Button)</title>
</head>

<body>
<canvas id="webgl" width="400" height="400">
Please use a browser that supports "canvas"
</canvas>
<p>
<button type="button">UP</button>
<button type="button">DOWN</button>
</p>
<script src="http://www.cse.unt.edu/~renka/5220/matsuda/lib/webgl-utils.js"></script>
<script src="http://www.cse.unt.edu/~renka/5220/matsuda/lib/webgl-debug.js"></script>
<script src="http://www.cse.unt.edu/~renka/5220/matsuda/lib/cuon-utils.js"></script>
<script src="http://www.cse.unt.edu/~renka/5220/matsuda/lib/cuon-matrix.js"></script>
<script src="RotatingTriangle_withButtons.js"></script>
</body>
</html>

Can someone help with this?

Explanation / Answer

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Continually Rotate A Triangle (Button)</title>
</head>

<body>
<canvas id="webgl" width="400" height="400">
Please use a browser that supports "canvas"
</canvas>
<p>
<button type="button">UP</button>
<button type="button">DOWN</button>
</p>
<script src="http://www.cse.unt.edu/~renka/5220/matsuda/lib/webgl-utils.js"></script>
<script src="http://www.cse.unt.edu/~renka/5220/matsuda/lib/webgl-debug.js"></script>
<script src="http://www.cse.unt.edu/~renka/5220/matsuda/lib/cuon-utils.js"></script>
<script src="http://www.cse.unt.edu/~renka/5220/matsuda/lib/cuon-matrix.js"></script>
<script src="RotatingTriangle_withButtons.js"></script>
</body>
</html>

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote