material-motion-archive / starmap

Issue tracker for the starmap
https://material-motion.github.io/material-motion/
4 stars 0 forks source link

Spec out how to handle addition/removal of touches for direct manipulation #41

Open jverkoey opened 8 years ago

jverkoey commented 8 years ago

Notable questions to answer:

appsforartists commented 8 years ago

I imagine this would be dictated by the desired behavior. Since it's a direct manipulation family, you'd want the material to feel like it's rotating beneath your fingers. Therefore, the anchor point ought to shift to the center of the new touches.

The weird bit is compensating for the old touches. If you rotate the card by 15° with two fingers (and anchor point A), then add three fingers to shift the anchor point to B, can you adjust the transform so everything still moves correctly without adding a container to maintain point A at 15°.