summaryrefslogtreecommitdiff
path: root/README.md
blob: 163e7b76d9044abafce4c5c4854be9d94903314b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# AutoVideosLive
AutoVideos that play live using OpenCL.

AutoVideos, AutoImages, and AutoAudio can be found [here](https://github.com/pommicket/AutoArtGPU).

AutoVideosLive uses your GPU to create AutoVideos very quickly and play them as they are being created.

**AutoVideosLive requires the following dependencies:**  
+ Python
+ PyOpenCL
+ numpy
+ PIL

On Debian/Ubuntu, the libraries can be installed using:  
```
sudo apt-get install python python-pyopencl python-numpy python-pil
```

If you get the following error:
```
pyopencl.LogicError: Context failed: invalid value
```
Just uncomment (remove the # at the start of the line) this:
```
GPU.platform_id = -1
```

Or you can use [pip](https://pip.pypa.io/en/stable/) to install them.

AutoVideos is a computer program that generates images by using Markov Chains to generate random functions so that the colour of each pixel is dependent on its x and y position and time during the video.