Giter VIP home page Giter VIP logo

ubii-web-avatar-applier's Introduction

ubii-web-avatar-applier

Ubi-Interact linear and angular velocities receiver for physical avatars and current pose publisher. This is a necessary step in physical embodiment scenarios, where users are represented virtually through a physical avatar.

Usage

Ubii-web-avatar-applier can be used either as a standalone demo or as a node module in Your own applications.

Prerequisites

This project communicates with a Ubi-Interact master node. Even though some of the functionality can be tested without it, it is recommended to have one.

To apply forces, this module receives linear and angular velocities from another Ubi-Interact component. It also publishes the resulting pose. ubii-web-ik-force-computation simplifies the process of publishing targets using abstractions similar to the ones in this module.

Online Demo

The demo in this project is available at https://goldst.dev/ubii-web-avatar-applier/.

Running the demo locally

After cloning, install, and run the project:

npm install
npm start

Your terminal will contain the demo URL, e.g. http://localhost:8080. Note that the command starts a development server which is not suitable for production environments.

Using this project as a node module

To your existing node project, add the module:

npm i ubii-web-avatar-applier

You can either initialize the applier in HTML using the bundled version:

<script src=".node_modules/ubii-web-avatar-applier/dist/bundle.js"></script>

<script>
    new UbiiWebAvatarApplier.Applier(options);
</script>

Or you can import it directly in your JavaScript/TypeScript project:

import { Applier } from 'ubii-web-avatar-applier';

new Applier(options);

For available options, see ApplierOptions.ts.

That's it! Other than supplying the options, no further configuration is necessary. If you want to stop the applier, just call stop() on the applier object.

License

MIT

ubii-web-avatar-applier's People

Contributors

goldst avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.