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
200
[Processing x Android] 用手機與Processing互動
ygtw
August 19, 2012
Tweet
Share
More Decks by ygtw
See All by ygtw
略懂臺南
ygtw
0
95
Ulrich Neisser &記憶的發展:新問題和舊問題 (2003)
ygtw
0
110
舞動的人群
ygtw
1
87
千古難題四句教 : 王陽明相關文獻整理
ygtw
0
170
集點王怪獸之決鬥
ygtw
1
70
丟瓶子高手 Mr.MagiC
ygtw
1
80
近三年資訊資工相關科系面試心得
ygtw
0
210
我評《後‧青春期的詩》er.pdf
ygtw
0
79
腦波的認知介面與無處不在的應用:發展和挑戰
ygtw
1
89
Other Decks in Technology
See All in Technology
Adminaで実現するISMS/SOC2運用の効率化 〜 アカウント管理編 〜
shonansurvivors
4
430
衛星画像超解像化によって実現する2D, 3D空間情報の即時生成と“AI as a Service”/ Real-time generation spatial data enabled_by satellite image super-resolution
lehupa
0
130
能登半島災害現場エンジニアクロストーク 【JAWS FESTA 2025 in 金沢】
ditccsugii
0
230
Where will it converge?
ibknadedeji
0
200
生成AIで「お客様の声」を ストーリーに変える 新潮流「Generative ETL」
ishikawa_satoru
1
370
【Oracle Cloud ウェビナー】クラウド導入に「専用クラウド」という選択肢、Oracle AlloyとOCI Dedicated Region とは
oracle4engineer
PRO
3
120
AIAgentの限界を超え、 現場を動かすWorkflowAgentの設計と実践
miyatakoji
1
160
英語は話せません!それでも海外チームと信頼関係を作るため、対話を重ねた2ヶ月間のまなび
niioka_97
0
130
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
11
78k
三菱電機・ソニーグループ共同の「Agile Japan企業内サテライト」_2025
sony
0
130
スタートアップにおけるこれからの「データ整備」
shomaekawa
2
350
AIツールでどこまでデザインを忠実に実装できるのか
oikon48
6
3.1k
Featured
See All Featured
Become a Pro
speakerdeck
PRO
29
5.5k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.2k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
Rebuilding a faster, lazier Slack
samanthasiow
84
9.2k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
Rails Girls Zürich Keynote
gr2m
95
14k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.9k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.7k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
140
34k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.1k
Optimising Largest Contentful Paint
csswizardry
37
3.4k
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