An open API service indexing awesome lists of open source software.

https://github.com/zlatnaspirala/nui-commander

I will use motion detect on video stream to create and control UI Menu system with progress bar control, actions-events, popup or creating dom element or canvas staff. Interface must be drawn on video tag in `AR` manner. Point is to create total manipulation only with your hands in the air.
https://github.com/zlatnaspirala/nui-commander

Last synced: 23 days ago
JSON representation

I will use motion detect on video stream to create and control UI Menu system with progress bar control, actions-events, popup or creating dom element or canvas staff. Interface must be drawn on video tag in `AR` manner. Point is to create total manipulation only with your hands in the air.

Awesome Lists containing this project

README

        

# nui-commander
Motion detect on video stream is used to create and control UI Menu system with basic GUI controls, actions-events, popup or creating dom element or canvas staff.
Interface must be drawn on video tag in `AR` manner.
Objective is to create total manipulation only with your hands in the air with minimum CPU price usage.

![screenshot](https://github.com/zlatnaspirala/nui-commander/blob/master/source/screenshot.jpg)

On canvas indicator table blocks canvas object will accumulate movement action and after some little period on idle it ill fall to the opacity `0`. This is just example of usage!

## Whole Example
### `Branch two Message Box NUI with two button options yes or no`

### `index.html`
```html









```

### `myNuiApp.js`
```js
import {
indicatorsBlocks,
canvasEngine,
interActionController,
nuiMsgBox } from "nui-commander";

var nuiCommander = {};
nuiCommander.drawer = new canvasEngine( interActionController );
nuiCommander.drawer.draw();

nuiCommander.indicatorsBlocks = indicatorsBlocks;
nuiCommander.drawer.elements.push( nuiCommander.indicatorsBlocks );

nuiCommander.drawer.elements.push(
new nuiMsgBox( "Do you love this project?", function ( answer ) {
console.log( answer );
nuiCommander.drawer.removeElementByName( "nuiMsgBox" );
if (answer == "yes") {
console.log( "Good answer is yes." );
setTimeout( () => {
nuiCommander.drawer.elements.push(
new nuiMsgBox(
"Do you wanna to activate some commander options?",
function (answer) {
nuiCommander.drawer.removeElementByName( "nuiMsgBox" );
if (answer == "yes") {
alert("ok , interest idea.");
}
}
)
);
}, 100);
} else {
console.log( "Ok good buy." );
window.location.href = "https://google.com";
}
} )
);

console.info( "nui-commander controls attached." );
```

## Example for mask
#### `Adding Block partial backgrounds`
```js
nuiCommander.indicatorsBlocks.icons = [];
for ( var x = 0; x < 64; x++ ) {
var commanderIconField = new Image();
commanderIconField.src = "images/tile.png";
commanderIconField.onload = function () {
nuiCommander.indicatorsBlocks.icons.push( this );
};
}
```
![screenshot](https://github.com/zlatnaspirala/nui-commander/blob/master/source/images.jpg)

## Objective:

- web instance [priory]
- must work on chrome, opera, safari, firefox and all mobile versions.
- video stream basic movement motion detect
- make small canvas object drawer and create interface and logic for actions(some method call)
- must have a excellent input output logic to be reusable in many ways.

### nui-commander user in vuletube:

![screenshot](https://github.com/zlatnaspirala/nui-commander/blob/master/source/nui-commander-vuletube.png)
### Nui-commander used like submodules in
### https://github.com/zlatnaspirala/vue-typescript-starter




## LICENCE:
### Based on project:
### https://github.com/soundstep/magic-xylophone MIT