Upgrade to Pro — share decks privately, control downloads, hide ads and more …

スマホのセンサーをJavaScriptで遊ぶ

 スマホのセンサーをJavaScriptで遊ぶ

TOWNビアバッシュ 2017/6 公開

Kazuyoshi Goto

June 28, 2017
Tweet

More Decks by Kazuyoshi Goto

Other Decks in Technology

Transcript

  1. λον͸ͭͷΠϕϯτͰर͑Δ  GVODUJPO \ UPVDITUBSUλονͨ࣌͠ XJOEPXBEE&WFOU-JTUFOFS UPVDITUBSU UPVDINPWF)BOEMFS GBMTF 

    UPVDINPWFλονঢ়ଶ͔Βυϥοάͨ࣌͠ XJOEPXBEE&WFOU-JTUFOFS UPVDINPWF UPVDINPWF)BOEMFS GBMTF  UPVDIFOEࢦ͕཭Εͨ࣌ XJOEPXBEE&WFOU-JTUFOFS UPVDIFOE UPVDIFOE)BOEMFS GBMTF  ^ 
  2. λονͨ࣌͠ɺυϥοάͨ࣌͠ GVODUJPOUPVDINPWF)BOEMFS FWFOU \ ಉ࣌λον਺ UPVDI$PVOUFWFOUUPVDIFTMFOHUI ΫϥΠΞϯτ࠲ඪ DMJFOU9FWFOUUPVDIFT<>DMJFOU9 DMJFOU:FWFOUUPVDIFT<>DMJFOU: ʜͦͷଞ͍Ζ͍ΖΠϕϯτरͬͯʜ

    λονͨ͠ҐஔʹԁΛදࣔ͢Δ DJSDMFDTT \ PQBDJUZ  UPQDMJFOU: QY  MFGUDMJFOU9 QY  USBOTGPSNTDBMF  GPSDF   ^  ^
  3. 5PVDIFWFOUTͷ஋ DMJFOU9DMJFOU: ϒϥ΢βΫϥΠΞϯτྖҬ಺ͷ࠲ඪ GPSDF ײѹ JEFOUJpFS ಉ࣌λον਺ͷࣝผࢠ QBHF9QBHF: ϖʔδྖҬ಺ͷ࠲ඪ SBEJVT9SBEJVT:

    λον͍ͯ͠Δ໘ੵͷ൒ܘ SPUBUJPO"OHMF λονͷೖࣹ֯ʁɹ˞ඇ҆ఆϓϩύςΟ TDSFFO9TDSFFO: εΫϦʔϯྖҬ಺ͷ࠲ඪ UBSHFU λον͍ͯ͠Δ%0.
  4.  GVODUJPOEFWJDFNPUJPO)BOEMFS FWFOU \ WBSYFWFOUBDDFMFSBUJPOY9࣠Ճ଎౓ WBSZFWFOUBDDFMFSBUJPOZ:࣠Ճ଎౓ WBS[FWFOUBDDFMFSBUJPO[;࣠Ճ଎౓ WBSMJNJUՃ଎Λ൑ఆ͢ΔϦϛοτ஋ JG YMJNJU

    \9࣠ਖ਼ํ޲ʹϦϛοτΛӽ͑ͨΒʮӈʯ BSSPXDIJMESFO JNH DTT \USBOTGPSNSPUBUF EFH ^  ^ FMTFJG YMJNJU \9࣠ෛํ޲ʹϦϛοτΛӽ͑ͨΒʮࠨʯ BSSPXDIJMESFO JNH DTT \USBOTGPSNSPUBUF EFH ^  ^ FMTFJG ZMJNJU \:࣠ਖ਼ํ޲ʹϦϛοτΛӽ͑ͨΒʮ্ʯ BSSPXDIJMESFO JNH DTT \USBOTGPSNSPUBUF EFH ^  ^ FMTFJG ZMJNJU \:࣠ෛํ޲ʹϦϛοτΛӽ͑ͨΒʮԼʯ BSSPXDIJMESFO JNH DTT \USBOTGPSNSPUBUF EFH ^  ^ FMTFSFUVSO ^