Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 1.02 KB

README.md

File metadata and controls

31 lines (20 loc) · 1.02 KB

Summon a dragon using TypeScript and your voice - Demo

This repository contains the source code of the demo discussed in this Mixed Reality Blog post.

Asset Credits

The dragon model used in this repository, which is under the CC Attribution license, is created by RedCoreTimber and can be found on Sketchfab.

Steps to run this source code

Clone the repo
git clone https://github.com/JING1201/webxr-summon-dragon-demo
cd webxr-summon-dragon-demo

Install packages
npm install

Build Project
npm run build

Run the project
npm start

Wait until everything loads and then go to
localhost:8080

Then allow mic access and try saying: "Go dragon"
You should see an animated dragon being rendered.

Hint: Try saying "Go red" or "Go blue" after you have summoned the dragon.