JavaScript, React, Threejs, Linear Algebra, Linear Transformation.
animate function, nothing will be rendered. First, we update the transformation matrix of both the cube and its edges and update the color of the cube. Then we render everything and request animation frame. In componentWillReceiveProps, we receive the current size of the component, and if it