This repository contains the source code of the demo discussed in this Mixed Reality Blog post.
The dragon model used in this repository, which is under the CC Attribution license, is created by RedCoreTimber and can be found on Sketchfab.
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.