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
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
Claude Code に プロジェクト管理やらせたみた
unson
6
4.4k
開発生産性を組織全体の「生産性」へ! 部門間連携の壁を越える実践的ステップ
sudo5in5k
3
7.3k
Yahoo!しごとカタログ 新しい境地を創るエンジニア募集!
lycorptech_jp
PRO
0
130
自律的なスケーリング手法FASTにおけるVPoEとしてのアカウンタビリティ / dev-productivity-con-2025
yoshikiiida
2
17k
Lazy application authentication with Tailscale
bluehatbrit
0
220
Getting to Know Your Legacy (System) with AI-Driven Software Archeology (WeAreDevelopers World Congress 2025)
feststelltaste
1
150
CDKTFについてざっくり理解する!!~CloudFormationからCDKTFへ変換するツールも作ってみた~
masakiokuda
1
160
Enhancing SaaS Product Reliability and Release Velocity through Optimized Testing Approach
ropqa
1
240
Lufthansa ®️ USA Contact Numbers: Complete 2025 Support Guide
lufthanahelpsupport
0
210
Operating Operator
shhnjk
1
590
Zero Data Loss Autonomous Recovery Service サービス概要
oracle4engineer
PRO
2
7.8k
敢えて生成AIを使わないマネジメント業務
kzkmaeda
2
450
Featured
See All Featured
The Art of Programming - Codeland 2020
erikaheidi
54
13k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3.1k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.4k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
50
5.5k
The Power of CSS Pseudo Elements
geoffreycrofte
77
5.9k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
18
970
Why You Should Never Use an ORM
jnunemaker
PRO
58
9.4k
Testing 201, or: Great Expectations
jmmastey
43
7.6k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
5.9k
Rails Girls Zürich Keynote
gr2m
95
14k
KATA
mclloyd
30
14k
Adopting Sorbet at Scale
ufuk
77
9.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