Blog Post for Week 4 (4/20-4/26)

Posted by VR Capstone Team 1 on 4/26/19

It was productive week. We were able to convert from equations to shape for spheres and cylinders.

The teammates did the following work this week:

  • Matthew - Blog post, website, and sphere
  • Simon - Sphere, website
  • Esteban - Cylinder, website
  • Tanuj - Cylinder and website

To get the sphere and cylinder shapes to show up by the equation we explored a number of ways to represent an equation on the web interface. We first started with just a single textbox. However, we thought it would be better if we added textboxes for each parameter in a sphere or cylinder equation.

We also created the website. The website is a nodejs application that serves both the web interface webpages as well as the page the Magic Leap goes to using the Helios browser. In exploring how to setup the website we needed to setup socket.io so that there could be a bidirectional communication pipe between the server and web page on the computer and a bidirectional communication pipe between the server and the magic leap page. These bidirectional communication pipes allow us to update in real time the equations on the web interface and the shapes on the magic leap.

On the Magic Leap side we explored and determined how to use the prismatic library. This library will allow us to create the 3D shapes on Magic Leap Helios browser. We learned that creating 3D shapes can be done in Javscript which many of the teammates have prior experience working in.

Based on our work we were able to give a short demo to TA's. We will start on interactions of the two shapes next week.