Live data from Hacker News

Show HN: Choreographer-JS, a simple way to handle complicated animations

christinecha.github.io

1–9 of 9 posts

Re: Show HN: Choreographer-JS, a simple way to handle complicated animations

#3

this does not work with time based animations right? A tool that would be really nice for developing time based animations would be one where you could switch easily between time and mouse movement.

It works for any measurement! That choice is left completely up to the user. Instead of wrapping it in an event handler, you might instead set a variable for 'start time', run animations on requestAnimationFrame, and pass in the current time.

Re: Show HN: Choreographer-JS, a simple way to handle complicated animations

#4

this does not work with time based animations right? A tool that would be really nice for developing time based animations would be one where you could switch easily between time and mouse movement.

The documentation indicates that this library doesn't really handle the events at all (which is great imo). The getting started has more info on this.

https://github.com/christinecha/choreographer-js#get-started

Looks awesome!

Re: Show HN: Choreographer-JS, a simple way to handle complicated animations

#5
Just an FYI, the scroll-hacking on the home page doesn't work with arrow key or hotkey based scrolling (for example, vimium or vimperator extensions for j/k key scrolling) - obviously a small subset of users, but I know a lot of non-dev users that use arrow keys or page up/down to scroll on web pages too.

Re: Show HN: Choreographer-JS, a simple way to handle complicated animations

#7
post #5

Just an FYI, the scroll-hacking on the home page doesn't work with arrow key or hotkey based scrolling (for example, vimium or vimperator extensions for j/k key scrolling) - obviously a small subset of users, but I know a lot of non-dev users that use arrow keys or page up/down to scroll on web pages too.

Works with arrow keys on Chrome / OSX for me.

Re: Show HN: Choreographer-JS, a simple way to handle complicated animations

#8
post #5

Just an FYI, the scroll-hacking on the home page doesn't work with arrow key or hotkey based scrolling (for example, vimium or vimperator extensions for j/k key scrolling) - obviously a small subset of users, but I know a lot of non-dev users that use arrow keys or page up/down to scroll on web pages too.

Works with arrow keys on Chrome / OSX for me.

I'm on the same, Chrome/OSX, but arrow keys don't work for me on that page.

Re: Show HN: Choreographer-JS, a simple way to handle complicated animations

#9
post #8

Earlier quoted context omitted.

Works with arrow keys on Chrome / OSX for me.

I'm on the same, Chrome/OSX, but arrow keys don't work for me on that page.

You have to click on the page first because of how focusing works in Chrome (you start with focus on the browser chrome, not page).