Skip to content

Commit

Permalink
ok
Browse files Browse the repository at this point in the history
  • Loading branch information
jcponce committed Jul 21, 2024
1 parent 8e5b8c5 commit eccef0c
Show file tree
Hide file tree
Showing 2 changed files with 321 additions and 222 deletions.
37 changes: 5 additions & 32 deletions threejs/particle-life-test/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down
Loading

0 comments on commit eccef0c

Please sign in to comment.