daniel shiffman


PBS has put together an awesome video on Creative Coding - here’s the text from the YouTube Video page :

Programming plays a huge role in the world that surrounds us, and though its uses are often purely functional, there is a growing community of artists who use the language of code as their medium. Their work includes everything from computer generated art to elaborate interactive installations, all with the goal of expanding our sense of what is possible with digital tools. To simplify the coding process, several platforms and libraries have been assembled to allow coders to cut through the nitty-gritty of programming and focus on the creative aspects of the project. These platforms all share a strong open source philosophy that encourages growth and experimentation, creating a rich community of artists that share their strategies and work with unprecedented openness. 


My favorite part about this? The producers put together a list of all the projects displayed on a google doc.

Music Credits 

- Jaki

DECO2606: Realtime Multimedia Week03 Flocks


Using the flocking example within Daniel Shiffman’s steering resources I altered a flock of triangles so that they would seek one of two points depending on which flock they were a part of.

By clicking the mouse, multiple birds can be added at once, alternating between the red and blue flock each click.

Ways to resolve my problem.

I can see 3 different ways.

1 take everything kinect and processing related off my laptop and start afresh and hope it works that time.

2: Try the Kinect for Windows software and see if that can be incorporated into Processing.

3: Install Ubuntu on my system, if do that StumpChunkman off the Intructables site will be my new best friend with Daniel Shiffman playing a close second.


Daniel Shiffman’s Processing library for kinect

AWSS2028: Project Development/Proof of Concept

I’m using Dan Shiffman’s flocking library (here) with processing to display images that have varying relevance to each other. This is a combination of ideas, remix theory and intertextuality, in the hope of revealing insightful information about user generated content, artworks and their influences/originals. I will give each ‘piece’ an attraction value so that they form flocks of similar works OR similar works will flock towards a specific point.

I started with a previous experiment in which I changed the flocking example to form two distinct flocks:

Then I added images to see how it would look and to get some code developed:

It’s only working for two images but I will be able to have each boid displaying its own image and then they will be able to form their own flocks once appropriate values are given. I’m using examples from lolbender but the final work will include a much more varied source of influence, not just Avatar: The Last Airbender.

Nature of Code

How can we capture the unpredictable evolutionary and emergent properties of nature in software? How can understanding the mathematical principles behind our physical world help us to create digital worlds? This book focuses on the programming strategies and techniques behind computer simulations of natural systems using Processing.

The Nature of Code: Simulating Natural Systems with Processing - http://www.vjsmag.com/nature-code-simulating-natural-systems-processing/

How can we capture the unpredictable evolutionary and emergent properties of nature in software? How can understanding the mathematical principles behind our physical world help us to create digital worlds? This book focuses on a range of programming strategies and techniques behind computer… #Books

Swarm Synthesizer

This completely blows my mind. It’s a visual instrument for creating and controlling organically moving particles with a swarm behavior by Daniel Shiffman and Ludwig Zeller

During the ‘Visual Synthesisers’ Workshop by Ludwig Zeller in February 2014, Cyrill and I took Daniel Shiffman’s 'Flocking’ Sketch as basis for creating a visual instrument. The swarm behaviour was changed, the visual style and shape were matched to the music, a trail effect was added and mostly the code was adapted to be controllable with rotary knobs and push buttons - based on the Arduino platform with Firmata applied. The resulting live perfomance was captured on the video above.

Here’s the project on Behance and some pictures from the workshop. Also, here’s a 'flocking’ example sketch

Academy of Art and Design Basel

Visual Communication Institute / The Basel School of Design

Music: Amon Tobin - Lost&Found


Experimenting with Daniel Shiffman’s OpenKinect library for Processing. 

To get started: http://www.shiffman.net/p5/kinect/

Updated this with color and alpha blends

Seems like directional, spot, and point light don’t work with beginShape()’s in processing.js which is a shame because it looks a lot fancier with some color fill and lighting.

slightly modified grid from the Perlin Noise landscape sketch in Daniel Shiffman’s The Nature of Code

Running on processing.js
Requires webGL


mouse around to rotate grid
click to reset background

+ key = adds spaces between squares on x-axis
- key = minuses spaces between squares on x-axis

1 key = new random stroke color
a key = new random alpha color

0 key = adds spaces between squares on y-axis
9 key = minuses spaces between squares on y-axis

(You may need to click in the window first to make the keystrokes active)

Watch on kitmacallister.tumblr.com

Just a little Processing sketch I’ve been playing around with. Working my way through Daniel Shiffman’s pay what you will processing book, The Nature of Code. Super awesome resource.

Learning Processing: A Beginner’s Guide to Programming Images, Animation, and Interaction - http://www.vjsmag.com/learning-processing-beginners-guide-programming-images-animation-interaction/

The free, open-source Processing programming language environment was created at MIT for people who want to develop images, animation, and sound. Based on the ubiquitous Java, it provides an alternative to daunting languages and expensive proprietary software. This book gives graphic designers, … #Books