Skip to content

Capinibal the another anticapitalist images generator

License

Notifications You must be signed in to change notification settings

d-j-a-y/Capinibal

Repository files navigation

Capinibal

« another anticapitalist images generator »

Version [Prototype | Alpha | Beta | Released]

It formule a 'system wide tendancy' combining severals real time data. From the stock exchange to wikipedia statistics, from air traffic to air pollution...

Author

Jérôme Blanchi aka d.j.a.y

contributor : vloop

Usage

usage: capinibal.py [-h] [-o OUTPUTFILE] [-r FPS] [-d DURATION]
                    [-s SPEED_OF_CHANGE] [-p PIPENAME] [-v]

Generate another anticapitalist moving images to a named pipe...or not.
Running stand alone it generate random scenes based on a repetitive pattern.
The rhythm can be moderate thrue OCS messages.

optional arguments:
  -h, --help            show this help message and exit
  -o OUTPUTFILE, --output OUTPUTFILE
                        Output file
  -r FPS, --rate FPS    Frames per second
  -d DURATION, --duration DURATION
                        Seconds, 0 for infinite
  -s SPEED_OF_CHANGE, --speed SPEED_OF_CHANGE
                        Speed of change (changes per second)
  -p PIPENAME, --pipe PIPENAME
                        Name of the pipe to stream to, if missing, name is
                        generated
  -v, --verbose         Enable debug output (default: off)

A naive data driven rhythmic moderation is drafted in cpb_client.py, it operate the generator using OCS messages.

See the file Issue.md for known problem and task list and LICENSE.md for information about copyright and usage terms.

Version [Prototype | Alpha | Beta | Released]

Dependencies

  • Wand, ctypes-based simple ImageMagick binding for Python.

Important : Tested with wand 0.4.4 (use pip3 install Wand==0.4.4), seems to be broken with wand 0.5.1

pip3 install Wand
  • pyliblo, pyliblo is a Python wrapper for the liblo OSC library.
pip3 install pyliblo

About

Capinibal the another anticapitalist images generator

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published