Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
[Processing x Android] 用手機與Processing互動
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
ygtw
August 19, 2012
Technology
230
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
[Processing x Android] 用手機與Processing互動
ygtw
August 19, 2012
Transcript
10 slides
[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
More Decks by ygtw
See All by ygtw
略懂臺南
ygtw
0
170
Ulrich Neisser &記憶的發展:新問題和舊問題 (2003)
ygtw
0
160
舞動的人群
ygtw
1
130
千古難題四句教 : 王陽明相關文獻整理
ygtw
0
240
集點王怪獸之決鬥
ygtw
1
110
丟瓶子高手 Mr.MagiC
ygtw
1
120
近三年資訊資工相關科系面試心得
ygtw
0
270
我評《後‧青春期的詩》er.pdf
ygtw
0
160
腦波的認知介面與無處不在的應用:發展和挑戰
ygtw
1
130
Other Decks in Technology
See All in Technology
20261113_JAWS_Osaka
takuyay0ne
0
540
属人化したISMS運用をGitHubとAIで仕組み化した1年間の記録
sioncojp
4
2.7k
マネージャーをエスパーにしない マネジメントされる側から始める、働きやすい現場づくり
comi190327
1
610
速くなるほど、深く考える AI時代のQAに学ぶ
kobayashiyorimitsu
0
250
Quick Automate | 目指せ Quick マスター 12
inariku
PRO
1
120
Sonnetだけで業務はまわる?
kintotechdev
1
140
Agent Harnessはどう作る?事例から学ぶAI Agentの設計思想
sergicalsix
0
330
農家は秘伝のタレを知らない - NOBODY KNOWS THE HIDDEN SOURCE - Kaggriculture 3rd Place Solution
masspeaks
1
410
こんなに変わった! AWSネットワークの常識
shotashiratori
10
6.9k
Kiro を使うコツ (頼み方、覚えさせ方、任せ方) | 目指せ Kiro マスター 09
inariku
PRO
3
170
Linuxネットワークスタック進化の軌跡: 過去10年の歩みと最新トレンド
orimanabu
4
730
Gov-JAWS#9 統合監視機能のマネージドサービス化+AIによる障害時自動調査
fj_yoshimura_kosuke
0
170
Featured
See All Featured
Optimising Largest Contentful Paint
csswizardry
37
4k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
570
What's in a price? How to price your products and services
michaelherold
247
13k
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.2k
Navigating Weather and Climate Data
rabernat
0
590
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
570
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
60k
Scaling GitHub
holman
464
140k
エンジニアに許された特別な時間の終わり
watany
109
250k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
350