News for hackers. Stuff that matters.
Re:Show HN: Swip.js, a library to create multi device experi... by addedlovely on Tuesday October 18, 2016 @07:11PM (#12739575)
Wow, great work. I assume the pinch gesture calibrates the positioning and is always center of the screen? The bounce off the screen edge on pong is satisfying.
Re:Show HN: Swip.js, a library to create multi device experi... by brackcurly on Wednesday October 19, 2016 @07:28AM (#12742839)
You're right, when the server receives two swipe events at the same time in opposite directions we assume that both devices are aligned at this point. It doesn't matter though where on the screen you pinch them together,.