Add shared core-backed React and browser runtimes, continuous playback transitions, export previews and API documentation. Package the JavaScript export as a CDN-powered demo with the portable avatar definition.
22 lines
697 B
HTML
22 lines
697 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Avatar Web consumer</title>
|
|
</head>
|
|
<body>
|
|
<main>
|
|
<div id="avatar"></div>
|
|
<div class="controls">
|
|
<button type="button" data-animation="sleeping">Sleeping</button>
|
|
<button type="button" data-animation="idle">Idle</button>
|
|
<button type="button" data-expression="neutral">Neutral</button>
|
|
<button type="button" id="pause">Pause</button>
|
|
<button type="button" id="stop">Stop</button>
|
|
</div>
|
|
</main>
|
|
<script type="module" src="/src/main.ts"></script>
|
|
</body>
|
|
</html>
|