Exercises

The following exercises are meant to test your skills and the knowledge you just earned in order to build on the work we just completed. Complete the following exercises on your own:

  1. Change the color of the tracking line from blue to red, or another color.
  2. Replace the straight line segments with a SplineCurve. Hint, you will need to track more than one previous position.
  3. Make the cube and/or audio follow the user along the tracked path. Hint—you can use another setInterval timer function to move the box along the path every 1.1 seconds (1100 ms).
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.23.101.60