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
110
Ulrich Neisser &記憶的發展:新問題和舊問題 (2003)
ygtw
0
110
舞動的人群
ygtw
1
90
千古難題四句教 : 王陽明相關文獻整理
ygtw
0
180
集點王怪獸之決鬥
ygtw
1
73
丟瓶子高手 Mr.MagiC
ygtw
1
85
近三年資訊資工相關科系面試心得
ygtw
0
220
我評《後‧青春期的詩》er.pdf
ygtw
0
83
腦波的認知介面與無處不在的應用:發展和挑戰
ygtw
1
97
Other Decks in Technology
See All in Technology
AI時代のオンプレ-クラウドキャリアチェンジ考
yuu0w0yuu
0
240
CloudFrontのHost Header転送設定でパケットの中身はどう変わるのか?
nagisa53
1
200
スピンアウト講座04_ルーティン処理
overflowinc
0
1.3k
Bref でサービスを運用している話
sgash708
0
200
Phase06_ClaudeCode実践
overflowinc
0
2.2k
VSCode中心だった自分がターミナル沼に入門した話
sanogemaru
0
750
RGBに陥らないために -プロダクトの価値を届けるまで-
righttouch
PRO
0
120
Phase10_組織浸透_データ活用
overflowinc
0
1.8k
JEDAI認定プログラム JEDAI Order 2026 受賞者一覧 / JEDAI Order 2026 Winners
databricksjapan
0
370
QA組織のAI戦略とAIテスト設計システムAITASの実践
sansantech
PRO
1
170
Bill One 開発エンジニア 紹介資料
sansan33
PRO
5
18k
How to install a gem
indirect
0
1.7k
Featured
See All Featured
We Are The Robots
honzajavorek
0
200
Claude Code のすすめ
schroneko
67
220k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
150
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
86
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
Scaling GitHub
holman
464
140k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
320
Automating Front-end Workflow
addyosmani
1370
200k
Everyday Curiosity
cassininazir
0
180
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.2k
For a Future-Friendly Web
brad_frost
183
10k
A Soul's Torment
seathinner
5
2.5k
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