Live data from Hacker News

Two-finger scroll moves through time instead of space

github.com

21–30 of 34 posts

Re: Two-finger scroll moves through time instead of space

#21
post #4

Is that doing Ctrl+Z , Ctrl+Y in the background? Before opening the link I was thinking this was going to be a cool feature that lets you scroll through older revisions of a file in git. This, paired with a git blame GUI would be awesome. A minority report for git repos Sweet feature regardless :)

I once built a calculator app where you could two-finger swipe to undo/redo: https://appsto.re/nz/oxLx3.i

Previous/future states simply appear adjacent to one another so you can scroll through them easily.

I absolutely believe that version control history is something that needs to be treated as a dimension like any other

Re: Two-finger scroll moves through time instead of space

#26
post #4

Is that doing Ctrl+Z , Ctrl+Y in the background? Before opening the link I was thinking this was going to be a cool feature that lets you scroll through older revisions of a file in git. This, paired with a git blame GUI would be awesome. A minority report for git repos Sweet feature regardless :)

I once built a calculator app where you could two-finger swipe to undo/redo: https://appsto.re/nz/oxLx3.i Previous/future states simply appear adjacent to one another so you can scroll through them easily. I absolutely believe that version control history is something that needs to be treated as a dimension like any other

I once built a motion controlled drawing app that mapped rotating hands to scrubbing through the undo/redo stack.

https://youtu.be/DM1JtYyr88k

Skip to 0:18 to skip calibration.

It would be cool to make a calculator that recognized number gestures.

Re: Two-finger scroll moves through time instead of space

#27
post #4

Is that doing Ctrl+Z , Ctrl+Y in the background? Before opening the link I was thinking this was going to be a cool feature that lets you scroll through older revisions of a file in git. This, paired with a git blame GUI would be awesome. A minority report for git repos Sweet feature regardless :)

You can easily do that using magit in emacs [1]. [1] https://magit.vc/manual/magit/Blaming.html

As a two-finger horizontal scroll?

Re: Two-finger scroll moves through time instead of space

#29

Earlier quoted context omitted.

You can easily do that using magit in emacs [1]. [1] https://magit.vc/manual/magit/Blaming.html

As a two-finger horizontal scroll?

The elisp functions to go back and forth in history are there, I'm sure it's just a matter of remapping them.

Re: Two-finger scroll moves through time instead of space

#30
post #9
post #7

Relevant xkcd - https://xkcd.com/1806/ And don't forget the alt text!

Inspiring* xkcd. :) I had a feeling someone was going to implement this when I saw xkcd yesterday.

Well, I know it has been done several times before, but it's not common.

A recent example is that some apps support this using the Surface Dial: https://youtu.be/8BJisE80wAc?t=116

Whether it's mapped to a two-finger slide, a scroll wheel, a dial, etc isn't the important part. The novel-feeling part is that as computers get faster and people improve at engineering performant software we can have the software provide results in realtime to analog inputs which makes people feel connected to the software in exciting ways.

A basic example would be a virtual DJ type app that lets you slide across an on-screen LP to scratch forward/backward. Obviously something more visually or conceptually impressive as seen in games which support time rewinding would be closer to the spirit of the post.

I would certainly like to encourage more developers to make use of scrolling/sliding input in unique ways.

Post reply on HN