Introduction
iSheji is a website that shows the style of decoration designs and guides users to buy the furniture. It contains the home page, the category search page, the design detail page, the 3D panorama page, the designer page and the user page.

Technical Challenge
There are some complicated interaction such as click the circle on the picture and add the same product into the shopping cart, show the detail of the design based on its status, implement the 3D panorama.
The 3D panorama is based on the WebGL, but WebGL is a little complicated and inefficient. Thanks to the Three.js, we can use it directly.
There are 3 important elements in Three.js.
- scene
- camera
- renderer
example code:
1 | // get the window's width and height |
