├── .gitignore ├── models ├── mvae.onnx ├── target.onnx └── joystick.onnx ├── images └── target_demo.gif ├── README.md └── index.html /.gitignore: -------------------------------------------------------------------------------- 1 | .vscode/ -------------------------------------------------------------------------------- /models/mvae.onnx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belinghy/MotionVAEs-WebGL/HEAD/models/mvae.onnx -------------------------------------------------------------------------------- /models/target.onnx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belinghy/MotionVAEs-WebGL/HEAD/models/target.onnx -------------------------------------------------------------------------------- /models/joystick.onnx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belinghy/MotionVAEs-WebGL/HEAD/models/joystick.onnx -------------------------------------------------------------------------------- /images/target_demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belinghy/MotionVAEs-WebGL/HEAD/images/target_demo.gif -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Motion VAEs WebGL Demo 2 | 3 | This repo contains the source code for the [Motion VAE WebGL demo](https://www.cs.ubc.ca/~hyuling/projects/mvae/). 4 | 5 |

6 | 7 |

8 | 9 | ## Quick Start 10 | 11 | To run the demo locally, simply start a web server in the project folder. 12 | 13 | ```bash 14 | git clone https://github.com/belinghy/MotionVAEs-WebGL.git 15 | cd MotionVAEs-WebGL 16 | python -m http.server 17 | ``` 18 | 19 | Make sure your browser supports WebGL, then go to `http://localhost:8000/` or wherever the server is pointed to. 20 | 21 | The web server is to bypass the CORS problem, since modern web browsers do not allow accessing of the user's filesystem. 22 | 23 | ### Controls 24 | 25 | - Place target: Ctrl-click 26 | - Change joystick direction: Ctrl-click or WASD 27 | - Clicking reset in the GUI will reset the character to the centre 28 | 29 | ## Citation 30 | 31 | If you found our research useful, please cite the following paper. 32 | 33 | ```bibtex 34 | @article{2020-TOG-MVAE, 35 | author = {Hung Yu Ling and Fabio Zinno and George Cheng and Michiel van de Panne}, 36 | title = {Character Controllers Using Motion VAEs}, 37 | journal = {ACM Transactions on Graphics (Proceedings of ACM SIGGRAPH)}, 38 | publisher = {ACM}, 39 | volume = {39}, 40 | number = {4}, 41 | year = {2020} 42 | } 43 | ``` 44 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 |
11 |
15 |
19 |
20 | 21 | 1239 | 1240 | --------------------------------------------------------------------------------