Skip to content

Commit

Permalink
Merge pull request #2 from dmnktoe/add-gltf-loader
Browse files Browse the repository at this point in the history
feat: add `gltf loader` and example .glb file
  • Loading branch information
dmnktoe authored Jan 31, 2024
2 parents 4a2f969 + eb80a69 commit fe2aa83
Show file tree
Hide file tree
Showing 4 changed files with 352 additions and 90 deletions.
14 changes: 14 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,22 @@
<link rel="icon" type="image/svg+xml" href="/threejs-icon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Web3D Fusion: TikTok Choreo with Three.js Workshop</title>
<style>
#info {
position: absolute;
top: 0;
width: 100%;
padding: 5px;
text-align: center;
}
</style>
</head>
<body>
<!-- Info -->
<div id="info">
Web3D Fusion: TikTok Choreo with Three.js Workshop
</div>
<!-- Scene -->
<canvas id="scene"></canvas>
<script type="module" src="/src/scene.ts"></script>
</body>
Expand Down
Binary file added public/models/Soldier.glb
Binary file not shown.
Binary file added public/sounds/fingers-up.mp3
Binary file not shown.
Loading

0 comments on commit fe2aa83

Please sign in to comment.