Blog Post for Week 8 (5/18-5/24)

Posted by VR Capstone Team 1 on 5/24/19

Update on code, links to relevant code added this week

There are three key components of our project.

  1. Server
  2. Webpage on the computer
  3. Magic Leap page

Server (app.js)

On the server we completed the following components:

  • Finished testing the positioning and resizing on the backend for the cone and the ellipsoid.
  • We fixed a lingering cylinder bug where the height wasn't adjustable if the cylinder was rotated. This required refactoring significant code and took a while to fix and ensure it is correct now.
  • We tested to ensure the backend can update equations properly when interactions are done on the magic leap.

Webpage on the computer (index.html and index.js)

We made the following changes to the web interface:

  • Added the cone lesson plan.
  • For cone, we can plot it on different orientations. Before we did not make sure that the updates sent from the server updates the right variables based on the orientation. So with orientation, we also send the server the order of the variables and when the server sends us the update, we use the order of the variables to update the right values.
  • Based on last week's feedback, tried better combinations of colors so the equations and values are more visible.

Magic Leap page (magicleap.html)

We made the following changes to the magic leap page:

  • Added interactions for the cone. This means that the user can use sliders to increase the height and radius of the cone.
  • We added more professional features to allow the user to see current state of the various variables like radius, height, and position so the user doesn't need to keep looking at the computer screen for updated values.
  • Added interactions for the ellipsoid. This means that the user can use sliders to increase the radius on the x, y, and z axis. We also make sure to remove the radius slider used for the sphere. We also like the ellipsoid add the state to the magicleap page so they can see what the current radius and position are.
  • We tested to ensure that our current code within magicleap.html supports the creation and deletion of ellipsoid and cone.

Demo

Below is the video of our current progress.

Plan for next week

Our plan for next week is to finish:

  1. Fix the problem where the ellipsoid is cutoff and move origin axis so its not covering the window.
  2. Test the backend and magic leap page.
  3. Prepare for the demo by creating the math quiz and the survey at the end of the demo.
  4. Add animations to indicate on the index page that the equation was updated on the magic leap
  5. Testing the magic leap page and index page
  6. Lesson plan for the ellpisoid.

What every member did this week and will do next week

Our team believes we work more efficiently in pairs. Therefore, we paired into the following pairs:

  1. Matthew and Simon
  2. Esteban and Tanuj

Since we are in pairs each person completed the work together. Matthew and Tanuj wrote the blog. Simon and Esteban provided content to the blog as well. Esteban did the voice over for the weekly demo video. Matthew wrote the Demo Plan document with the help of Tanuj, Simon, and Esteban. Tanuj filled out the assignes for the demo plan day setup.

The first team (Matthew and Simon) worked on the changes to the Magic leap page as described in the previous sections. The first team also made all the changes to indicated in the app.js section above. This next week, team 1 will implement the first three next week's tasks.

The second team (Esteban and Tanuj) worked on the changes to the index.html and index.js as described above and the parts of the server to ensure their index changes don't break anything on the server side. The second team will complete the last three tasks from the next week section above.

Our overall plan for next week is have a more production ready EasyMath app. This is why we will spend time rigiously testing our app.

Blocking Issues

We have no immediate blocking issues.