Live Coding Visuals in Improviz
at Processing Community Day CPH

Saturday October 2nd, 2021 at 10:30 - 12:00
The Royal Danish Academy - Architecture, Design, Conservation (pcdcph.com)

Docs about Improviz:

Live coding demo

Jam along to music by Terminal --Void

Setting up Improviz (homework)

background(0,0,255)
fill(255,0,0)   
rotate()
cube()

Intro to Live Coding

About me

About you - What are your experinces so far with...

Live coding = to perform with code

Making Visuals - Concepts before code

__Outputs__
<- Colors, shapes and textures
<- Speed and patterns in spacetime

__Inputs__
-> Your intuition
-> Data streams (Midi, OSC, etc)

Improvisation

Controling chaos

"Love the mistakes/mess"

muscle Memory

"The work will teach you how to do it" - Estonian proverb

Tools for live coding visuals

See list with links at: Tools for live coding visuals

Why (I like) Improviz?

Code/Language

System

Make it your own

Basics of Improviz

//paintOver()
background(0,0,255)
noFill()
stroke(255,0,0)
loop 10 times with x
  rotate(time/20)
  cube(x)

Spacetime

// Variabels // time OR frameCount
t = time / 2

// moving stuff AROUND
move(sin(t),0,0)
    cube()

move(sin(t),cos(t),0)
    triangle()

trinagle(2 + time % 5)

Textures and geometries

rotate()
texture(:hello1)
cube(5)
rotate()
texture(:hello1)
shape(:hello9, 1, 1, 1)

Materials and midi

Build in materials

material(:ceed)
material(:normalised)
sphere(5)

Using my own GLSL shaders as a material in Improviz

Controlling my own shaders with midi

Read sørenpeter's guide on how to use a midi controller with Imporviz

//material(:sunlolly)
material(:dwave)
//materialVar(:Time, time)
//materialVar(:TextureAlpha, 0.5)

// Midi-contol via MidiGyver
materialVar(:varR, ext(:k1, 0.5))
materialVar(:varG, ext(:k2, 0.5))
materialVar(:varB, ext(:k3, 0.5))

cube(5)

Hands-on-coding => Demo what you have done!

  1. Code jam to music

  2. Play around with the basic build in stuff

  3. Use you own content

    • Textures / animations
    • Shapes
    • Shaders
  4. Use OSC and Midi-inputs

    • Midi-controller
    • Audio-reactive

Demo-session // Live Performaces

What’s next