-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
321 additions
and
222 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,38 +22,11 @@ | |
|
||
<body> | ||
|
||
<div class="footer"> | ||
<p>Music: <em>Spenta Mainyu</em> by | ||
<a target="_blank" href="https://www.youtube.com/channel/UCD5hjK3sDzk2W-jw9roHuVw">Jesse Gallagher</a> | ||
|
||
| ❤️ Support <a href="https://www.patreon.com/jcponce">Patreon</a> | ||
</p> | ||
</div> | ||
|
||
<audio id="audioPlayer" src="https://topologia-general.github.io/sketches/audio/jesse-gallagher/spenta-mainyu-jesse-gallagher.mp3" | ||
loop></audio> | ||
<div id="overlay"> | ||
<button id="startButton">Click to Start Music</button> | ||
<div id="instructions">Click on screen to change behaviour!</div> | ||
</div> | ||
<button id="playButton"><i class="fa-solid fa-play"></i></button> | ||
<button id="pauseButton"><i class="fa-solid fa-pause"></i></button> | ||
<button id="resetButton"><i class="fa-solid fa-rotate-right"></i></button> | ||
<button id="stopButton">Stop</button> | ||
|
||
|
||
<!-- partial:index.partial.html --> | ||
<script type="importmap"> | ||
{ | ||
"imports": { | ||
"three": "https://unpkg.com/[email protected]/build/three.module.min.js", | ||
"three/addons/": "https://unpkg.com/[email protected]/examples/jsm/" | ||
} | ||
} | ||
</script> | ||
|
||
<script type="module" crossorigin src="main.js"></script> | ||
<script src="music.js"></script> | ||
|
||
<script src='https://cdnjs.cloudflare.com/ajax/libs/three.js/84/three.js'></script> | ||
<script src='https://cdn.rawgit.com/mrdoob/three.js/r84/examples/js/controls/OrbitControls.js'></script> | ||
<script src="main.js"></script> | ||
|
||
|
||
</body> | ||
|
||
|
Oops, something went wrong.