Improviz
An offshoot of LiveCodeLab
Description
Improviz is built in Haskell and interacts directly with OpenGL. It's very much a work in progress but it should be about usable.
Installing
Pre-built binaries are available for OSX, Windows and Linux, and can be found on the Releases Page. Download one and then jump straight to the relevant section in Running.
These should "just work" but if there are any problems please raise an issue.
Building
Improviz is built using Stack.
With that installed, it should just be a matter of cloning the repository, entering the directory and running
stack build
Depending on your platform it may be necessary to install some or all of the following packages.
- libgmp-dev
- libxrandr-dev
- libxi-dev
- libxinerama-dev
- libxcursor-dev
- freeglut3-dev
- zlib1g-dev
Running
This differs slightly depending on whether you've built from source or downloaded a binary.
Pre-built binary
After downloading the zip file
- Unzip it to somewhere on your machine
- Open a terminal and browse to the folder (double clicking on it doesn't work currently because the paths need fixing)
- Run the
improviz
orimproviz.exe
command (depending on your platform) - If a white window appears in the top left of your screen then you're ready to go!
- If it doesn't then have a look at the errors that have appeared in the terminal
Using
Once Improviz is running, you need to send code for it to run. The simplest way to do this to test is to use the (very basic) built in editor.
Open your browser and go to http://localhost:3000/editor, then try entering the following. Indentation is a single tab.
background(255, 0, 0)
fill(0, 255, 255)
10 times
rotate(time, 3, time)
cube(4)
There are better clients available for Vim and Atom. There is a very basic client available for Emacs.
Language
Please check the language document for details of the language itself.
Configuration
Please check the configuration document for details on how to configure Improviz.
Hellocatfood GIFS
As part of the project, artist, algoraver, and all-round excellent human being hellocatfood was commissioned to create a series of animated GIFs that can be used as textures with Improviz.
These excellent and unique images are bundled in the pre-built binary releases and can also be found in the Improviz Performance repository. They're licensed under the Creative Commons Attribution 4.0 International licence so can be freely used and misused for performances, projects, and anything else you want.
Contact
Drop me an email at guy@rumblesan.com
License
BSD License.