TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Swip.js, a library to create multi device experiments

152 pointsby brackcurlyover 8 years ago

5 comments

rawnlqover 8 years ago
Using the devices as planes for the golf demo is incredibly creative!<p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=ZE0gxa-p8HY" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=ZE0gxa-p8HY</a><p>I know you can use HTML5 DeviceOrientation for angle and the &quot;swip&quot; for relative positioning. But how did you get the physical size of the screen of each device?
评论 #12736625 未加载
评论 #12739546 未加载
anotheryouover 8 years ago
Does anyone know how well you can time via an app?<p>I wonder how it sounds to play sound across devices. Streaming and clock syncing can happen beforehand, just the playback has to be very sync to an absolute timing.<p>Maybe one can do something crude sound propagation synthesis by playing with timing, sound runtime, gps and a crowd. If you synthesize the sound the app even stays very small. You could e.g. make an ocean wave roll through the audience (when every device knows where it is and knows the exact time of when the wave will hit that position).<p>Same could work with devices as pixels, but I don&#x27;t find it that interesting.
评论 #12739653 未加载
评论 #12738985 未加载
mcs_over 8 years ago
I don&#x27;t have a use case for this (yet) but ... the demo is absolutely incredible. Very nice work
评论 #12737813 未加载
addedlovelyover 8 years ago
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.
评论 #12742839 未加载
Lxrover 8 years ago
That golf game has a lot of potential even as a native app, nice!