<commit_before># drone-hud

_work in progress_

HUD for [drone-video](https://github.com/TooTallNate/node-drone-video).

**Goals**

1. ~~battery meter in a corner~~
1. ~~integrate with three.js~~
1. ~~cartesian coordinates with rotation values~~
1. mirroring ar drone model (building a model)
1. altitude bar shrink/grow below
1. ticks that slide along coordinates (or something) to show velocity
1. display name of drone/wifi net
1. cell shade everything to look cool
1. nodecopter logo ftw

## demo

Video demonstrating three.js coordinates and placeholder for the ar drone model:

<iframe width="560" height="315" src="http://www.youtube.com/embed/TtwjykeRAsE?list=UUpqYfSWEcyBGorRGvPsHkgg" frameborder="0" allowfullscreen></iframe>

and the battery level:

![battery level](http://i.imgur.com/4stMG.jpg)

## example
Load the following into [drone-video](https://github.com/TooTallNate/node-drone-video)

```js
var Canvas = require('canvas');
var HUD = require('drone-hud');

var draw = module.exports = function(data, width, height, fn) {<commit_msg>no video embed :(<commit_after># drone-hud

_work in progress_

HUD for [drone-video](https://github.com/TooTallNate/node-drone-video).

**Goals**

1. ~~battery meter in a corner~~
1. ~~integrate with three.js~~
1. ~~cartesian coordinates with rotation values~~
1. mirroring ar drone model (building a model)
1. altitude bar shrink/grow below
1. ticks that slide along coordinates (or something) to show velocity
1. display name of drone/wifi net
1. cell shade everything to look cool
1. nodecopter logo ftw

## demo

[Here is a youtube video](http://www.youtube.com/watch?v=TtwjykeRAsE&list=UUpqYfSWEcyBGorRGvPsHkgg&index=1) demonstrating three.js coordinates and placeholder for the ar drone model.

and the battery level:

![battery level](http://i.imgur.com/4stMG.jpg)

## example
Load the following into [drone-video](https://github.com/TooTallNate/node-drone-video)

```js
var Canvas = require('canvas');
var HUD = require('drone-hud');

var draw = module.exports = function(data, width, height, fn) {
{'fraction_non_alphanumeric': 0.12615235322658905, 'fraction_numerical': 0.013585638039786511, 'mean_word_length': 4.925287356321839, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5572731', 'n_tokens_mistral': 714, 'n_tokens_neox': 692, 'n_words': 221}