<commit_before># Arduino LED Scarf and Top Hat

## Overview

This art project was for [Kiwiburn](http://kiwiburn.com/) 2016 and 2017,
the regional Burning Man in New Zealand.

An Arduino Nano powers LEDs in a fully scarf and stylish top hat,
with buttons for mode controls.
Comes with click-based beat matching and various "drop modes"
for maximum awesomeness on electronic music.

![Preview](_img/preview.gif)

Check out more modes in the [full video](https://vimeo.com/202582452).

## Features

 * Beat button (button 1): Tap out beats, the patterns will adjust their speed
 * Brightness switcher (button 2): Three brightness levels, avoid blinding people in dark spaces
 * Mode switcher (button 3)
  * BPM: Trails emanating from the scarf centre, down both halves
  * Heartbeat: Trails following the human heart beat curve
  * Plasma: Sine wave (single factor plasma) that moves up the strip
  * Juggle: Eight colored dots, weaving in and out of sync with each other
  * Sinelon: A colored dot sweeping back and forth, with fading trails
  * Confetti: Colourful, randomized dots in main palette colour.
    Drop mode switches to rainbow colours.
 * Palette switcher (long-press button 3): Three palettes built-in (ocean, lava, rainbow)
 * Drop mode (button 4): Brighter variations of the current mode (e.g. strobe mode)

## Software

You'll need [Platform.io](http://platformio.org/) to build this (or move some files around to build with the default Arduino IDE).<commit_msg>Docs about accelerometer<commit_after># Arduino LED Scarf and Top Hat

## Overview

This art project was for [Kiwiburn](http://kiwiburn.com/) 2016 and 2017,
the regional Burning Man in New Zealand.

An Arduino Nano powers LEDs in a fully scarf and stylish top hat,
with buttons for mode controls.
Comes with click-based beat matching and various "drop modes"
for maximum awesomeness on electronic music.

![Preview](_img/preview.gif)

Check out more modes in the [full video](https://vimeo.com/202582452).

## Features

 * Beat button (button 1): Tap out beats, the patterns will adjust their speed
 * Brightness switcher (button 2): Three brightness levels, avoid blinding people in dark spaces
 * Mode switcher (button 3)
  * BPM: Trails emanating from the scarf centre, down both halves
  * Heartbeat: Trails following the human heart beat curve.
    Hooked up to the accelerometer, to show blue hues without movement, and red hues when dancing.
  * Plasma: Sine wave (single factor plasma) that moves up the strip
  * Juggle: Eight colored dots, weaving in and out of sync with each other
  * Sinelon: A colored dot sweeping back and forth, with fading trails
  * Confetti: Colourful, randomized dots in main palette colour.
    Drop mode switches to rainbow colours.
 * Palette switcher (long-press button 3): Three palettes built-in (ocean, lava, rainbow)
 * Drop mode (button 4): Brighter variations of the current mode (e.g. strobe mode)

## Software

You'll need [Platform.io](http://platformio.org/) to build this (or move some files around to build with the default Arduino IDE).
{'fraction_non_alphanumeric': 0.07233626588465299, 'fraction_numerical': 0.014336917562724014, 'mean_word_length': 4.3022452504317785, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, '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': '2290258', 'n_tokens_mistral': 923, 'n_tokens_neox': 826, 'n_words': 431}