Code Monkey home page Code Monkey logo

tasklights's Introduction

Task Lights

Like music, light (color) is an excellent source of information that the brain can process in the background. A more structured signal, like a clock or count down timer (24:13 minutes) requires our eyes to first shift focus to the location of the information, and then perform a further mental calculation to reason about the time you’ve spent on a task. All that extra thinking can be disruptive of our work.

Simply having the light on is a strong and constant environmental cue that you have a task that you need to complete. The color helps you be aware of your state: (getting started, need to really work, ok — wrap it up time is almost done). Fun trick, try reading this text and see the light in the picture below. Now, what about that 24:13 timer?

demo

##Instructions for installing on Linux (tested on 14.04 LTS 64-bit):

  1. Setting up environment

  • Seting up basic requirements:
sudo apt-get update
sudo apt-get install git make vim python-dev python-pip
sudo apt-get install build-essential libssl-dev
  • Setting up USB library:
sudo apt-get install libudev-dev libusb-1.0-0-dev libfox-1.6-dev
  1. Installing Node.js:

curl https://raw.githubusercontent.com/creationix/nvm/v0.16.1/install.sh | sh
source ~/.profile
nvm ls-remote
nvm install v0.12.0
nvm use 0.12.0
node -v
# See where installed
which node

You may want to add nvm use 0.12.0 add the end of your .bashrc/.profile

  1. Change directory to src and do:

npm install

  1. To get the web-server to work:

Change directory to /src/controllers/web and do npm install and to start the local-server do the following and go to http://localhost:5000/ in your browser: node app.js

##Instructions for installing on Windows (tested on win 7, 10):

  1. Setting up environment

  • Seting up basic requirements: Install Microsoft Visual Studio (community/express versions are enough)
  1. Installing Node.js:

You may want to add PATH/TO/NODE-NPM to your environment path (if it was not added automatically).

  1. Change directory to src and do:

npm install

  1. To get the web-server to work:

Change directory to /src/controllers/web and do npm install and to start the local-server do the following and go to http://localhost:5000/ in your browser: node app.js


####Command line arguments:

  1. Type:
    • --solid or -s
    • --linear or -l
    • --exponential or -e
  2. Length:
    • --length 10 (in minutes)
  3. Lightness (optional):
    • --lightness 0.7
  4. Pomodoro (25 min linear session):
    • --pomodoro or -p
    • Ticking sound: --tick or -t


**Want to know more about this research project?** see: [Summary of tasks](https://github.com/alt-code/TaskLights/blob/master/Summary.md)

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.