Code Monkey home page Code Monkey logo

colorwall's Introduction

ColorWall
---------

ColorWall is a minimal implementation of the visualizer part of the allegro
project (https://github.com/vishnubob/allegro).

ColorWall is a simple framework for implementing and displaying effects for a
wall of pixels. To add a new effect, create a class in effects.py inheriting
from Effect and implement the run() method. Add the new effect to the Effects
list at the bottom of the file. ColorWall comes with a few example effects.

Watch an example ColorWall at http://vimeo.com/16522975.

ColorWall's pixels speak HSV (http://en.wikipedia.org/wiki/HSL_and_HSV).


Dependencies
------------

Tkinter, a GUI-programming toolkit for Python: http://wiki.python.org/moin/TkInter

To see if you have Tkinter installed, at a Python prompt run:

>>> import Tkinter


Usage
-----

To run the ColorWall:

python run.py

This will run your effects on the default 8x8 pixel wall. To change the width
and height of the wall, pass the -w and -t options, e.g.:

python run.py -w 5 -t 10

To run advanced effects, pass the -a option, e.g.:

python run.py -a

To run only the advanced effects, pass the -a and -s options, e.g.:

python run.py -a -s

colorwall's People

Contributors

jesstess avatar nedbat avatar spang avatar

Stargazers

Liz A. Denys avatar

Watchers

Liz A. Denys avatar

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.