material-motion / material-motion-swift

A toolkit for building responsive motion using Core Animation.
Apache License 2.0
1.42k stars 79 forks source link

Add an abs operator #96

Closed jverkoey closed 7 years ago

jverkoey commented 7 years ago

Should emit the absolute version of the incoming value.

jverkoey commented 7 years ago

As discussed on Discord and in #109, we're going to recommend using distance(from: 0) instead of abs for now. We've added a redirect for abs to the starmap: https://material-motion.github.io/material-motion/starmap/specifications/operators/abs