Working example of three.js

Start with npx vite, works fine
This commit is contained in:
2023-11-10 00:04:18 +01:00
parent 15e8ab54d8
commit 988039705c
5 changed files with 614 additions and 0 deletions

13
index.html Normal file
View File

@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>My first three.js app</title>
<style>
body { margin: 0; }
</style>
</head>
<body>
<script type="module" src="/src/main.js"></script>
</body>
</html>