2008-01 月份文章 顯示方式:簡文 | 列表

January 16,2008

Processing + Gif 動畫



GifAnimation is a Processing library to play and export GIF
animations. It is under a GPL license. The GIF Encoder & Decoder were written by Kevin Weiner. please see the separate copyright notice in the headers of the GifDecoder & GifEncoder classes.

或許大家都會遇到在Processing加入動畫的困擾,現在有Library可以呼叫引用插入Gif的動畫。下面是使用步驟:

1. 解壓縮後,將gifAnimation資料夾整個Copy至您安裝Processing的libraries資料夾內。(ex. C:\processing-\libraries\gifAnimation)
2. 使用gifAnimation library前,記得引用至您的sketch。
(ex. import gifAnimation.*;)
3. 更詳細的用法,參見線上範例說明


 Download Library

Posted by processing at 0:59回應(0)引用(0)Processing

January 12,2008

2008.1.7 設計週創作實驗



幸在第二屆台北數位藝術節看到互動音樂桌Reactable project,也很高興能了解其運作方式。在作者群不藏私的分享,其核心程式也開放供大家研究使用。

Fun Media也在這些巨人的影子下,做了一個創作實驗,我們用了網路上可愛的小圖片(感謝匡緯同學提供),透過Processing將其活化,參與者可以像扮演布袋戲般的方式來操控那些可愛的小玩物,同時也發現在未來其應用面的可能性。下面將為大家介紹這個神奇的東西,並把這次實驗的結果分享給大家。

  ...繼續閱讀

Posted by processing at 21:06回應(7)引用(0)互動資訊

January 1,2008

簡易 Processing + Flash 通訊



Processing時常需要與Flash整合,這邊提供簡易的方法即可達到兩方通訊功能。目前僅送出字串給Flash,更進階的方式可以產生xml格式進行溝通。下面也放上範例檔(port 9007),供需要的朋友研究。

Processing 部分:
import processing.net.*;
int port = 9007;
Server myServer;
byte zero = 0;
int total = 1;
int total2 = 2;
void setup(){
size(200, 200);
myServer = new Server(this,port);
}
void draw(){
myServer.write(total+","+total2);
myServer.write(zero);



Flash AS部分:
createSocket ();
function createSocket () {
 _root.createTextField("inputlabel",4,50,100,50,20);
 inputlabel.text = "Input:";
 _root.createTextField("inputer",3,100,100,200,20);
 inputer.border = true;
 serialServer = new XMLSocket ();
 serialServer.connect ("127.0.0.1", 9007);
 serialServer.onConnect = function (success) {
  trace ("connected " + success);
 };
 serialServer.onClose = function () {
  trace ("closed");
 };
 serialServer.onData = function (data) {
  inputer.text = data;
 };
}

 Download Source Code


Posted by processing at 21:33回應(1)引用(0)Processing

Interactive Tables



著互動科技日趨成熟,將此互動模式移轉到桌子的作品也豐富和多樣化,尤其是PUB夜店等聲光場合應用最為廣泛,無疑是要引起消費者的好奇與興趣。

下面列舉幾個案例,如微軟的Surface、Sandspuren、Tangible Table等應用。
2008.1.15 新增Tablescape Plus
(不定時新增)

  ...繼續閱讀

Posted by processing at 11:17回應(0)引用(0)互動資訊
 [1]