... | ... | @@ -7,7 +7,7 @@ Three.js is a JavaScript library that provides a framework for creating and disp |
|
|
- Basic knowledge of HTML and Javascript.
|
|
|
- IDE or Texteditor (e.g., Notepad++)
|
|
|
|
|
|
# HTML Page
|
|
|
## HTML Page
|
|
|
|
|
|
The first thing you need to use three.js is a simple HTML page. you can start with the following basic code.
|
|
|
|
... | ... | @@ -29,3 +29,8 @@ The first thing you need to use three.js is a simple HTML page. you can start wi |
|
|
</body>
|
|
|
</html>
|
|
|
```
|
|
|
## Initialize three.js
|
|
|
```
|
|
|
<!-- three.js -->
|
|
|
<script src="https://unpkg.com/three@0.126.0/build/three.js"></script>
|
|
|
``` |
|
|
\ No newline at end of file |