Handy StadiumではWebSocketで通信しているので、ボールの位置座標などをフレームごとにプッシュして同期すれば、2台のiPhone間でゲーム画面の状態をまったく同じにできるはずです。Handy Stadiumの当初の実装では、投手のiPhoneの傾きとボールの位置を1フレームごと ...
The servo sweeps from 0° to 180° continuously. At every 2° step, the ultrasonic sensor fires and measures distance. That reading is immediately sent over USB Serial to a Node.js bridge, which ...
The servo sweeps from 0° to 180° continuously. At every 2° step, the ultrasonic sensor fires and measures distance. That reading is immediately sent over USB Serial to a Node.js bridge, which ...