TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

152 点作者 brackcurly超过 8 年前

5 条评论

rawnlq超过 8 年前
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 未加载
anotheryou超过 8 年前
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_超过 8 年前
I don&#x27;t have a use case for this (yet) but ... the demo is absolutely incredible. Very nice work
评论 #12737813 未加载
addedlovely超过 8 年前
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 未加载
Lxr超过 8 年前
That golf game has a lot of potential even as a native app, nice!