Jahrmarktskunst

vera • April 14th, 2008



For an exhibition at the Caricatura Gallery in Kassel (January-March 2008), we created a series of playful and colourful miniature interactives:

loophole | funfaircapsule | the rush | jack in the box

Instead of developing capacious installations for months, we thought it must be nice to make up interactive artworks that fit in a casket. They are based on a simple punchline or a very accessible notion, imagery or format.

Caricatura is a Gallery for Comical Art, most often showcasing the work of illustrators, satirical drawings, animation and comic strips. On their invitation, the class of New Media Design at the Kassel School of Arts and Design presented a range of interactive and electronic artworks. Contributions comment on our everyday use of technology, reverse habitual expectations towards electronic devices and make computer dreams come true.

Find out more about the other participants at jahrmarktskunst.de (sorry, german only).



Drawing Tablet Library For Processing

marcus • March 18th, 2008

libTablet aims at becoming a (cross-platform) Java drawing tablet library that plays nice with Processing. It gives you easy access to your tablets pressure, tilt and rotational data in your sketches/ Java applications.

Since my most immediate requirement currently is to have it working on Mac OS X, it is yet not really cross-platform. However the plan is to wrap JTablet on Windows to provide a common interface for easier development/ deployment across these systems.

Releases

version 0.1

first draft, mac os x only
» Tablet-0.1.zip

Source

You can get the latest version via mercurial with:

hg clone http://hg.infostuka.org/hg/libTablet/

Useage

Simply create a PTablet object before you initialize your sketch, which you can then use to query your tablet for: pressure, tiltX, tiltY, rotation etc.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import processing.opengl.*;
import infostuka.lib.tablet.p5.*;

PTablet tablet;

void setup ()
{
    // ATTENTION - new PTablet() HAS to be created before calling size()
    tablet = new PTablet(this);
    size(800, 600, OPENGL);
}

void draw ()
{
    if (mousePressed) {
        float brushSize = tablet.pressure * 100f;
    System.out.println("TILT " + tablet.tiltX + " " + tablet.tiltY + " ROT " + tablet.rotation + " THETA " + theta);
    ...
    your drawing commands here
    ...
    }
}

License

CC - Some rights reserved

Copyright © Marcus Wendt 2008
This library is licensed under the GNU LGPL

 

Permalink

 

spherical linear interpolation on a circle

marcus • March 3rd, 2008

how to do a slerp with angles?
that caused me some headache this morning. however, the solution is blatantly simple.
» example sketch

1
2
3
4
5
6
7
8
9
10

float angleSlerp(float cur, float to, float delta)
{
  if(cur < -HALF_PI && to > HALF_PI) {
    cur += TWO_PI;
  } else if(cur > HALF_PI && to < -HALF_PI) {  
    cur -= TWO_PI;
  }
  return cur * (1-delta) + to*delta;
}

opensource

marcus • September 14th, 2007

Processing Libraries

» libCollada – a collada export plugin for processing

» libTablet – cross-platform drawing tablet support for processing

3d 4-space abstract aesthetic system aesthetics algorithm alien ambient ambisonics animation architecture art artificial audio audio research black&white book caskets classic clicks & cuts climate code color competition computer-vision conceptual art consoles cpp culture ddr design devices digtial fabrication documenta documentation drawing dynamics electricity electromagnetism electronics environment event exhibition experimental exploration fashion festival film flocking folk food fractal furniture gamedev generative genetic geometry glitch graphic hacks haptics hardware history hyperspace ideas illustration images inspiration installation instrument intelligence interactive interieur japan java knowledge management landscape library life light liquid live london math micro minimal minimalism modernism monochrome motion motion graphics multiples music naming nature nervous ink networked networking opensource osx painting paper particles performance personal photography physics playful politics press print processing processing.org programming quotes recipes research retro romance ruby science scripts sculpture SENDUNG.net shopping snippets social software sound space space exploration craft space exploration craft orbiter supercollider swiss systems technology theory theremin toys transformed travel tricks typography universe video visual vj water web2.0 xcode