better names + more readme
This commit is contained in:
parent
5d6ccf56d7
commit
c13feccdcd
10 changed files with 5 additions and 22 deletions
10
examples/buildless/headless-simple.html
Normal file
10
examples/buildless/headless-simple.html
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<button id="play">play</button>
|
||||
<button id="stop">stop</button>
|
||||
<script type="module">
|
||||
import { initStrudel } from 'https://cdn.skypack.dev/@strudel/web@0.8.2';
|
||||
|
||||
initStrudel();
|
||||
document.getElementById('play').addEventListener('click', () => evaluate('note("c a f e").jux(rev)'));
|
||||
document.getElementById('play').addEventListener('stop', () => hush());
|
||||
</script>
|
||||
Loading…
Add table
Add a link
Reference in a new issue