Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
[Processing x Android] 用手機與Processing互動
Search
ygtw
August 19, 2012
Technology
3
190
[Processing x Android] 用手機與Processing互動
ygtw
August 19, 2012
Tweet
Share
More Decks by ygtw
See All by ygtw
略懂臺南
ygtw
0
91
Ulrich Neisser &記憶的發展:新問題和舊問題 (2003)
ygtw
0
100
舞動的人群
ygtw
1
87
千古難題四句教 : 王陽明相關文獻整理
ygtw
0
170
集點王怪獸之決鬥
ygtw
1
69
丟瓶子高手 Mr.MagiC
ygtw
1
78
近三年資訊資工相關科系面試心得
ygtw
0
200
我評《後‧青春期的詩》er.pdf
ygtw
0
78
腦波的認知介面與無處不在的應用:發展和挑戰
ygtw
1
88
Other Decks in Technology
See All in Technology
Reach American Airlines®️ Instantly: 19 Calling Methods for Fast Support in the USA
flyamerican
1
160
NewSQLや分散データベースを支えるRaftの仕組み - 仕組みを理解して知る得意不得意
hacomono
PRO
2
130
OPENLOGI Company Profile
hr01
0
67k
IPA&AWSダブル全冠が明かす、人生を変えた勉強法のすべて
iwamot
PRO
2
110
How Do I Contact HP Printer Support? [Full 2025 Guide for U.S. Businesses]
harrry1211
0
110
Beyond Kaniko: Navigating Unprivileged Container Image Creation
f30
0
130
Core Audio tapを使ったリアルタイム音声処理のお話
yuta0306
0
190
生成AI活用の組織格差を解消する 〜ビジネス職のCursor導入が開発効率に与えた好循環〜 / Closing the Organizational Gap in AI Adoption
upamune
7
5.2k
使いたいMCPサーバーはWeb APIをラップして自分で作る #QiitaBash
bengo4com
0
1.9k
United airlines®️ USA Contact Numbers: Complete 2025 Support Guide
unitedflyhelp
0
290
MUITにおける開発プロセスモダナイズの取り組みと開発生産性可視化の取り組みについて / Modernize the Development Process and Visualize Development Productivity at MUIT
muit
1
16k
SaaS型なのに自由度の高い本格CMSでサイト構築と運用のコスパ&タイパUP! MovableType.net の便利機能とユーザー事例のご紹介
masakah
0
110
Featured
See All Featured
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.9k
The Invisible Side of Design
smashingmag
301
51k
Practical Orchestrator
shlominoach
189
11k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.5k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Git: the NoSQL Database
bkeepers
PRO
430
65k
RailsConf 2023
tenderlove
30
1.1k
Rebuilding a faster, lazier Slack
samanthasiow
82
9.1k
Art, The Web, and Tiny UX
lynnandtonic
299
21k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.9k
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
Navigating Team Friction
lara
187
15k
Transcript
[Processing x Android] 用手機與Processing互動 加速度感應器(Accelerometer) +WIFI網路傳輸 張小均@DDmeeting(超大雨提早取消XD) 2012/6/13 1
互動APP影片DEMO 投桃爆裡(youtube) http://www.youtube.com/watch?v=eXSSYz4sRn4&feature=youtu.be 圓圈數和顏色是由聲音頻率與音量大小決定 圓圈可隨手機互動位移 2
互動APP影片DEMO 步步精歆(youtube) http://www.youtube.com/watch?v=pwXx4ScuSJU&feature=youtu.be 以麥克風收音大小控制字型大小 手機搖晃字體顏色改變 此張底圖就是DEMO圖片XD 3
取得加速度感應器資料 現成APP:TouchOSC 跨平台、穩定 台灣PD之神阿怪大大推薦 4
取得加速度感應器資料 自行設計讀取加速度感應器的APP Processing for Android提供範例可直接參考 開啟[Processing] → 轉換為 [Android]模式→選單[file] →
[Examples…] Accelerometer (加速度感應器) Compass (羅盤) 外掛Ketai可以提供一些資訊,但很多compile不過 5
加速度感應器 6
羅盤 (可取得偏移量) 7
其他手機上的感測器 (Samsung ST5570) GPS Ketai執行OK 相機 撰寫原生APP 錄音 PureData for
Android 8
網路連線套件 傳遞加速度感應器的資料到PC Processing的Android套件沒有支援網路 要裝外掛:OSCP5 支援PC 支援Android (初次安裝要做一點小設定) 多隻Android也沒問題 提醒:IP要設對,Port要設對,防火牆要開 9
範例程式碼們 裝好外掛的Processing2.0a6 投桃爆裡(Processing OSCP5-server端) Android APP:以網路傳送加速度感應器 OSCP5 Client + Processing
example Accelerometer 10