foreword
In the front-end development process, we need to realize the visualization or 3D display operation process, we can use echarts
and webGl
to achieve our desired requirements and effects, this article does not describe echarts
, friends who want to know can click here -> Portal . In terms of 3D effects, the front end can be webGl
achieved through , but writing native ones requires not only knowledge webGl
, but it takes a lot of time for us at present. So, can we learn as we write? The answer is yes, we can learn /master native and graphics-related knowledge after we have a certain understanding and accumulation .javaScript
glsl
three.js
webGL
glsl
Introduction to three.js
three.js
is a third-party library JavaScript
written by WebGL
. Provides a lot of 3D display functions.
We can see a 3D effect on Tencent Cloud official website:
Just ask if it's cool.
We can also achieve such an effect, but it is unrealistic to have the exact same effect. We don't have the material for it, but we have learned that we three.js
can draw pictures like cats and tigers.
at last
Friends who want to learn three.js
or are interested can pay attention to this column.
Free and long-term updates.
The next article will tell you how to install and use it three.js
.