Exercises

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:

  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 every 1.1 seconds (1100 milliseconds) along the path.
..................Content has been hidden....................

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