Cynthia Hua

cxhua@mit.edu

Week 12

Machine Week:

I worked on the software component of the machine.

I started working after Eyal had set up an initial webapp. I first made the code user-friendly for teamwork: I cleaned the code up, deleting unused lines, making the variable names more clear and reordering/simplifying functions. I then added in-line documentation for nearly every line of the code.

I added in the Draw Mode option to allow the user to interact with the apple rendering via Canvas. I also implemented a few algorithm options for smoothing the user-drawn line such as exponential and moving average. I also made some adjustments for a more user-friendly canvas.

I wrote this Software: About document to the code that explains for my teammates the concepts of 3D graphics, particularly since many students may not have worked with web rendering before. I explained the basics of js webapps, 3D rendering using THREE including objects, cameras and raycasting, as well as the algorithm we used to convert between 2D and 3D elements for calculation vs. display. I also explained how our webapp created a usable set of directions for the lathe.

I also contributed to the web formatting and design.