mirror of
https://github.com/Tonejs/Tone.js
synced 2024-12-27 03:53:07 +00:00
32 lines
979 B
HTML
32 lines
979 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Tone.js Examples</title>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
|
<link rel="icon" type="image/png" sizes="174x174" href="./favicon.png">
|
|
|
|
<script type="text/javascript">
|
|
// forward links with hashes
|
|
if (window.location.hash !== "") {
|
|
const hash = window.location.hash.substring(1);
|
|
window.location.href = window.location.pathname+hash;
|
|
}
|
|
</script>
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/webcomponentsjs/2.4.3/webcomponents-bundle.js"></script>
|
|
<link href="https://fonts.googleapis.com/css?family=Material+Icons&display=block" rel="stylesheet"/>
|
|
<script src="../build/Tone.js"></script>
|
|
<script src="./js/tone-ui.js"></script>
|
|
<script src="./js/components.js"></script>
|
|
</head>
|
|
<body>
|
|
<tone-example label="Examples" open>
|
|
<div slot="explanation">
|
|
Choose an example from the side panel.
|
|
</div>
|
|
</tone-example>
|
|
|
|
</body>
|
|
</html>
|