返回列表 發帖

Front-end engineer of the DC development team

js to create 3D graphics! We will introduce the contents in detail below. Ryota Shimizu: He moved from a sales job at an SIer to an engineer. He joined GIG in 2020 after having multiple full stack development experiences at SES. He is currently engaged in various client work. What is Three.js? Three.js is a JS library that makes it easy to use WebGL, and refers to a JavaScript API for rendering 2D or 3D graphics on the web.


How to use WebGL with Three.js? First, let's start with the concepts you need to understand in order to use Three.js. The HTML element "canvas element" used to depict images, that Phone Number List is, what is displayed on the user's screen, is called the "renderer" here. In order to create a renderer, the process is to place a display object ``mesh'' in a 3D space = ``scene'', illuminate it with a ``light'', and view it with a ``camera.'' Difference between “with jQuery” and “with React” When using Three.js, I am confused whether to use "jQuery" or "React".




This time, Mr. Shimizu chose "React". The following points were cited as reasons for this: with jQuery You have to write and manage all the code that generates the necessary things like renderers, scenes, meshes, lights, cameras, etc. Since machine power is used for rendering, a high-spec PC is required. with React The example is CodeSandbox, which has an easy-to-understand library, and the processing load is overwhelmingly light. Three.js example Here is what Mr. Shimizu actually created using Three.js . You can operate it intuitively by dragging the green box to move it around or changing its color by clicking.

返回列表
一粒米 | 中興米 | 論壇美工 | 設計 抗ddos | 天堂私服 | ddos | ddos | 防ddos | 防禦ddos | 防ddos主機 | 天堂美工 | 設計 防ddos主機 | 抗ddos主機 | 抗ddos | 抗ddos主機 | 抗攻擊論壇 | 天堂自動贊助 | 免費論壇 | 天堂私服 | 天堂123 | 台南清潔 | 天堂 | 天堂私服 | 免費論壇申請 | 抗ddos | 虛擬主機 | 實體主機 | vps | 網域註冊 | 抗攻擊遊戲主機 | ddos |