Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sneha-belkhale/AI4Animation-js
AI4Animation in javascript & three.js
https://github.com/sneha-belkhale/AI4Animation-js
Last synced: 3 months ago
JSON representation
AI4Animation in javascript & three.js
- Host: GitHub
- URL: https://github.com/sneha-belkhale/AI4Animation-js
- Owner: sneha-belkhale
- Created: 2019-03-29T10:14:33.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-05-13T10:17:03.000Z (over 5 years ago)
- Last Synced: 2024-07-18T09:59:10.990Z (4 months ago)
- Language: JavaScript
- Size: 3.58 MB
- Stars: 236
- Watchers: 11
- Forks: 19
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AI4Animation - for javascript & three.js
## Description
This project is a port of the original AI4Animation project, for use with three.js on the web. It explores the possibilities of using artifical intelligence to generate realtime character animations. This is very powerful as it allows for an unlimited number of realistic transitions between animation states.
I followed the SIGGRAPH 2018. example for this demo, using the same model weights and corresponding skeleton. After providing the inputs of trajectory points and previous bone positions, the neural network ( written using numjs ) outputs the next set of bone positions and velocities.
If you want to use a different skeleton, you will need to get motion capture data for this skeleton and train a new model, the instructions and tensorflow code for this are in the AI4Animation project here.
## Todo Items
- An example with a human skeleton.
- Trying a simpler machine learning model to help with the fps.## Discord chat
https://discord.gg/UXypcZV## Live Demo
https://codercat.tk/ai-animation/
## Run the demo yourself
Run the following commands:
```
yarn install
yarn pull // this pulls the model weights hosted on the web
yarn start
```
Then open http://127.0.0.1:3000 in a web browser.## License
MIT License, Copyright © 2019 Sneha Belkhale
However, if you are using the original dataset for commercial purposes, you should read the copyright information from the original AI4Animation project.