Hacker Newsnew | past | comments | ask | show | jobs | submit | brackcurly's commentslogin

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,.


We haven't figured out a way to do this automatically. Currently we prompt the user to enter the size of the device when the app is opened for the first time.


Why not two swips (maybe even single, two-finger swips)? that's enough for relative sizing


I don't think it's possible unless you add an app.

One solution would be create a companion app that determines the physical screen size, then makes that available to your network via web sockets.

There our a few steps I left out here but it's possible.

The app could be optional - if its installed that device will have fully automatic configuration. If it's not installed, you just fall back to your user prompt.


How do you know which device is positioned higher than the other (on a bunch of books)?


Based on the demo they showed, this isn't needed. As long as they know the orientation of the device relative to a flat plane they can move the virtual items within the bounds of that device's screen. When it crosses over on to another device, it only needs to calculate movement based on it's relative orientation.


Yes, exactly. If it enters the space of a tilted device, a force (depending on the rotation of the device) is applied to ball.


I think this blog post is pointless. Of course every abstraction adds some overhead at first. If your problem is simple enough to fit in a few lines of code you don't have to think a lot how you structure it.


Can you please change the github links to not open in a new popup.


I don't think QR-codes wouldn't be an improvement at all. They are ugly and akward. Instead consider printing the URL on the back as well.


I agree with you about the QR codes. We currently support printing on the back, but not on both sides.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: