At the end or near the end of every chapter, an exercise section will be available to test your knowledge and give you more experience with ARCore. Complete the following exercises on your own:
- Change the color of the tracking line from blue to red, or another color.
- Replace the straight line segments with a SplineCurve. Hint—you will need to track more than one previous position.
- 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 every 1.1 seconds (1100 milliseconds) along the path.