<commit_before>Binoculars  oo
===============

Binoculars allow you to see distant hard to reach data. The goal? If some data is accessable somehow, then Binoculars want to give you access to it.

Oh yeah, here are the current main usecases for Binoculars:

* Read color and brightness data from &lt;video&gt; elements in order to do stuff
* Stylesheet shuffling based on color or brightness level in the enviroment of the user.


Assembling your Binoculars
---------------------------

If you are not familiar with gulp then [check them out](http://gulpjs.com/).

	npm install
	gulp

To execute all unit tests, do:

	gulp test


Things to come
---------------

* Hopefully reading audio data from users
* More ways to catch more data
* Documentation
* More rigorous unit testing


Note
-----

This technology is relatively new and has
limited browser support (Firefox and Chrome last few versions)

If you want some more info see this 
[html5rocks](http://www.html5rocks.com/en/tutorials/getusermedia/intro/) article or the 
W3C [Device APIs Working Group](http://www.w3.org/2009/dap/)

Thanks
-------
* [<NAME>](https://github.com/lokesh) -
	For creating [color-thief](https://github.com/lokesh/color-thief)
* [<NAME>](https://github.com/nrabinowitz) -
	For implementing the MMCQ algorithm in Javascript:
	[quantize.js](https://gist.github.com/nrabinowitz/1104622)<commit_msg>modified README.md<commit_after>Binoculars  oo
===============

Binoculars allow you to see distant hard to reach data. The goal? If some data is accessable somehow, then Binoculars want to give you access to it.

Oh yeah, here are the current main usecases for Binoculars:

* Read color and brightness data from &lt;video&gt; elements in order to do stuff
* Stylesheet shuffling based on color or brightness level in the enviroment of the user.


Putting on your binoculars
------------

	bower install binoculars

Then in your html file add:

	<script src="bower_components/binoculars/dist/binoculars.js"></script>

done.

Or you can just shuffle over to the dist folder up there and fetch it. &#8679;


Assembling your own Binoculars
------------------------------

If you are not familiar with gulp then [check them out](http://gulpjs.com/).

	npm install
	gulp

To execute all unit tests, do:

	gulp test


Things to come
---------------

* Hopefully reading audio data from users
* More ways to catch more data
* Documentation
* More rigorous unit testing


Note
-----

This technology is relatively new and has
limited browser support (Firefox and Chrome last few versions)

If you want some more info see this
[html5rocks](http://www.html5rocks.com/en/tutorials/getusermedia/intro/) article or the
W3C [Device APIs Working Group](http://www.w3.org/2009/dap/)

Thanks
-------
* [<NAME>](https://github.com/lokesh) -
	For creating [color-thief](https://github.com/lokesh/color-thief)
* [<NAME>](https://github.com/nrabinowitz) -
	For implementing the MMCQ algorithm in Javascript:
	[quantize.js](https://gist.github.com/nrabinowitz/1104622)
{'fraction_non_alphanumeric': 0.1302910052910053, 'fraction_numerical': 0.011243386243386243, 'mean_word_length': 3.5284431137724552, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 8, 'lorem ipsum': 0, 'www.': 4, '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': '1577709', 'n_tokens_mistral': 975, 'n_tokens_neox': 893, 'n_words': 351}