Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1.71 KB

File metadata and controls

42 lines (28 loc) · 1.71 KB

python4zkm

Introductionary Python3 samples related to digital artworts, demonstrating principles of data, images, sound, and visualizations. Inspired by the open codes exhibition at the ZKM, Karlsruhe, Germany.

The related workshop Code like an Artist ist recognized by the international meet and code program.

More information on the related artworks and the samples is in the doc folder.

Disclaimer

The code samples don't aim to demonstrate best-practice in terms of coding style and documentation (not even on English syntax and grammar). Instead, they try to give an introduction in a very brief manner to everything from "what is a variable" to "how to create a movie" and beyond.

Requirements

System installations

  • Python 3.6+
  • eSpeak
    • for text to speech output
  • OpenCV3
    • a basic VisualStudio installation. Please refer to the OpenCV3 tutorials like here
  • Quandl API Key (for stockParse sample)
    • sign up for a free key here and add the key to a file private.py created in a repository root folder with the following content:
      • quandl_key = <the key you got from quandl>

Python packages

In order to run all samples, you need to install dependencies as follows:

On Windows:

pip install -r requirements-win.txt

On Linux or Mac:

pip install -r requirements.txt