Workshop at IAMAS 2008-05-24
Upcoming SlideShare
Loading in...5
×
 

Workshop at IAMAS 2008-05-24

on

  • 3,150 views

 

Statistics

Views

Total Views
3,150
Views on SlideShare
3,150
Embed Views
0

Actions

Likes
2
Downloads
15
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

CC Attribution-NonCommercial-ShareAlike LicenseCC Attribution-NonCommercial-ShareAlike LicenseCC Attribution-NonCommercial-ShareAlike License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Workshop at IAMAS 2008-05-24 Workshop at IAMAS 2008-05-24 Presentation Transcript

  • 2008.05.24
  • • 1 10:00-11:15 • 2 11:30-13:30 13:30-14:30 • 2 14:30-16:15 • 3 16:30-17:45 • 4 17:45-18:30
  • Gainer I/O 1 SAD-01 1 SPP-100 5 SKS-140 USB 1 330Ω 2 10kΩ 1 10kΩ B 1 CdS 5mm 1 LED 2 KMX52-1050 1
  • • 1970 • 1993 4 2004 6 – – • IAMAS 2004 7 – –
  • 1 10:00-11:15 • • Gainer • Funnel
  • • ITP*1 Tom Igoe • PC • • *1 Interactive Telecommunications Program
  • ITP Spring Show 2008 • ITP 2 • 5 12 13 • http://itp.nyu.edu/shows/spring2008/
  • PC • ASCII • 1
  • Alto (1973) http://toastytech.com/guis/
  • • PC – – PC • Flash
  • • Nintendo Wii • • Apple – iPod – iPhone – MacBook Air PC
  • • • LED • I/O PC
  • • ActionScript C C++ Java • •
  • • •
  • • – Processing – Flash • – Gainer – Arduino – Phidgets
  • • • – – – – • • UNDO
  • 1 • • 1 • NTT InterCommunication Center [ICC] 2007.4.19-2008.3.9
  • 1
  • 1
  • 1
  • 1
  • 1
  • 1 ICC
  • 1 ICC
  • 1 ICC
  • 2 Mountain Guitar • 6 • – – • I/O PC • IAMAS • CG
  • 2 Mountain Guitar
  • 2 Mountain Guitar 1
  • 2 Mountain Guitar 2
  • 2 Mountain Guitar 2
  • 2 Mountain Guitar 3
  • 2 Mountain Guitar 4
  • 2 Mountain Guitar 4
  • 2 Mountain Guitar 4
  • 2 Mountain Guitar 5
  • 2 Mountain Guitar 5
  • 2 Mountain Guitar • • IAMAS
  • 2 Mountain Guitar
  • 2 Mountain Guitar
  • 3 3 • 11 • • • • IAMAS 2007.8.24-26
  • PIC AVR program A a0]=ain.o; aout.1 = 255; B C D
  • PC Arduino program A a0]=ain.o; aout.1 = 255; B C D PC program a0]=ain.o; aout.1 = 255;
  • Arduino
  • I/O PC Gainer Phidgets A B C D PC program a0]=ain.o; aout.1 = 255;
  • Gainer • I/O • – ActionScript 2/3 – Processing – Max/MSP
  • Gainer I/O
  • I/O
  • I/O
  • LED
  • Gainer • • • – LED
  • Funnel • Gainer • •
  • Funnel • •
  • Funnel Sketching User Experiences Getting the Design Right and the Right Design Bill Buxton Morgan Kaufmann Pub 2007
  • Funnel • • – – – – • I/O
  • Funnel
  • Funnel • I/O – Gainer – Arduino – XBee – Funnel I/O • – Processing – ActionScript 3 Flash Flex – Ruby
  • Action-Coding×Funnel×Gainer I/O Action-Coding • • JRuby Processing API •
  • Action-Coding×Funnel×Gainer I/O •
  • Action-Coding×Funnel×Gainer I/O • LED • LED •
  • Action-Coding×Funnel×Gainer I/O • • 3D
  • • Make http://jp.makezine.com/ • Instructables http://www.instructables.com/
  • • v1.0 SparkFun • Creative Commons Attribution-Share Alike
  • 2006
  • • – – 3D – – • •
  • Sketching in Hardware 2 • • 2007.6.23 24 • 30 • • • Sketching in Hardware
  • Sketching in Hardware 2
  • Sketching in Hardware 2
  • Sketching in Hardware 2
  • Sketching in Hardware 2
  • Sketching in Hardware 2
  • Sketching in Hardware 2
  • Sketching in Hardware 2
  • 2 1 11:30 12:15 • • • LED • LED
  • • – 2 – GND – V
  • • – – A
  • • – – Ω
  • • 1,000 1kΩ • 1,000,000 1MΩ • 1,000 1 1mA • 1,000,000 1 50µA
  • • •
  • +5V GND
  • LED
  • • • – – –
  • • • •
  • LED
  • LED • LED 20mA • • •
  • V =I ×R • V V • I A • R Ω
  • − LED = LED ×R R − LED R= LED 5.0V LED 1.8V 10mA 5 − 1.8 3.2 R= = = 0.01 0.01
  • LED
  • • +5V • GND •
  • LED NG
  • LED
  • LED 7
  • 2 2 12:15 13:30 Funnel • – I/O LED – I/O LED • – – CdS
  • Funnel Gainer I/O 2 • dout 0 1 2 – LED – • aout 0 1 256 *2 – LED – *2 PWM
  • Funnel 1 I/O LED 01 ControlLEDByMouse import processing.funnel.*; Gainer gainer; void setup() { size(200, 200); frameRate(30); gainer = new Gainer(this, Gainer.MODE1); gainer.autoUpdate = true; } void draw() { background(100); }
  • Funnel 2 I/O LED 01 ControlLEDByMouse void mousePressed() { gainer.led().value = 1.0; } void mouseReleased() { gainer.led().value = 0.0; }
  • Funnel 3 I/O LED 02 ControlLEDByButton import processing.funnel.*; Gainer gainer; void setup() { size(200, 200); frameRate(30); gainer = new Gainer(this, Gainer.MODE1); gainer.autoUpdate = true; } void draw() { background(100); }
  • Funnel 4 I/O LED 02 ControlLEDByButton void gainerButtonEvent(boolean pressed) { if (pressed) { gainer.led().value = 1.0; } else { gainer.led().value = 0.0; } }
  • Funnel aout 0 LED
  • Funnel aout 0 LED
  • Funnel 5 aout 0 LED // _02_ControlLEDByButton void gainerButtonEvent(boolean pressed) { if (pressed) { gainer.analogOutput(0).value = 1.0; } else { gainer.analogOutput(0).value = 0.0; } }
  • Funnel LFO 6 aout 0 LED 03 ControlLEDWithLFOByButton Gainer gainer; Osc osc; void setup() { size(200, 200); frameRate(30); gainer = new Gainer(this, Gainer.MODE1); gainer.autoUpdate = true; // osc = new Osc(this, Osc.SQUARE, 1.0, 0); osc.serviceInterval = 30; osc.addEventListener(Osc.UPDATE, quot;oscUpdatedquot;); }
  • Funnel LFO 7 aout 0 LED 03 ControlLEDWithLFOByButton // void oscUpdated(Osc osc) { gainer.led().value = osc.value; } // void gainerButtonEvent(boolean pressed) { if (pressed) { osc.reset(); osc.start(); } else { osc.stop(); } }
  • Funnel
  • Funnel
  • Funnel AC dout 0 aout 0
  • Funnel AC • SSR AC100V LED • AC
  • Funnel Gainer I/O 2 • din 0 1 2 – – • ain 0 1 256 – –
  • Funnel din 0
  • Funnel din 0
  • Funnel ain 0
  • Funnel ain 0
  • Funnel ain 0 • 04 SimpleScope • • ain 1 •
  • Funnel
  • Funnel
  • Funnel • 05 Tree *3 • • Funnel • mouseX ain 0 *3 Topics/Fractals and L-Systems/Tree
  • Funnel ain 0
  • Funnel ain 0
  • Funnel ain 0 • 05 Tree • 04 SimpleScope • Scaler •
  • Funnel Scaler 8 Scaler 05 Tree import processing.funnel.*; Gainer gainer; void setup() { size(400, 400, P3D); ... gainer = new Gainer(this, Gainer.MODE1); Filter f[] = { new Scaler(0.3, 0.9, 0, 1, Scaler.LINEAR, true) }; gainer.analogInput(0).filters = f; }
  • Funnel ain 0
  • Funnel ain 0
  • Funnel ain 0
  • Funnel ain 0
  • Funnel ain 0
  • Funnel ain 0
  • 2 3 14:30 16:15 Funnel • – • – –
  • Funnel ain
  • Funnel ain
  • Funnel ain • 04 SimpleScope • 3 • x, y, z – –
  • Funnel • •
  • Funnel
  • Funnel • • 04 SimpleScope • -1 +1 • sin
  • Funnel • 06 RGBCube Mouse *4 • • *4 3D and OpenGL/Form/RGBCube
  • Funnel Processing • Libraries Processing 1.0 (BETA) http://processing.org/reference/libraries • Minim http://code.compartmental.net/tools/minim
  • Funnel Processing 9 import ddf.minim.*; AudioPlayer player; void setup() { size(200, 200); // Minim Minim.start(this); // AudioPlayer 512 player = Minim.loadFile(quot;groove.mp3quot;, 512); }
  • Funnel Processing 10 // void keyPressed() { // ’p’ if ( key == ’p’ ) player.play(); }
  • 3 16:30 17:45 • 2 • • OK
  • Bill Buxton 2006 What Sketches (and Prototypes) Are and Are Not. • Quick • Timely • Inexpensive • Disposable • Constrained Resolution • Suggest & explore rather than confirm
  • 4 17:45 18:30 • 3 • •
  • Making Things Talk Practical Methods for Connecting Physical Objects Tom Igoe O’Reilly Media 2007
  • Built with Processing [ ] / 2008
  • Processing A Programming Handbook for Visual Designers and Artists Casey Reas + Ben Fry MIT Press 2007
  • 2007
  • Gainer 2008
  • GAINER Physical Computing with Gainer GainerBook Labo 2007
  • 2008.05.24