8000 Implement inertial drag by pjanik · Pull Request #1343 · d3/d3 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Implement inertial drag #1343

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Implement inertial drag #1343

wants to merge 1 commit into from

Conversation

pjanik
Copy link
@pjanik pjanik commented Jun 26, 2013

Please see the example: http://bl.ocks.org/pjanik/5872514
Recently I needed such feature and implemented it in my application, but then I came up with the idea that it can be easily generalized. Inertial drag is quite popular nowadays.

I'm creating pull request so you can easily review the code, but of course I'm open for discussion.
Do you find it useful?

Note that I'm not very familiar with d3 codebase, so I'm happy to fix implementation details, style, add some tests etc. in case of need.

@mbostock
Copy link
Member
mbostock commented Jul 2, 2013

Thanks for this pull request. This is a cool feature. It feels a bit too opinionated to include as default behavior though, and I’m not sure how commonly this functionality is needed. I might be tempted to implement this as a D3 plugin first (d3/d3-plugins).

@langdonx
Copy link
langdonx commented Feb 6, 2014

This is a great approach to this problem. How difficult is it to port the pull request into a plugin?

@slessans
Copy link
slessans commented Jun 2, 2014

Was this ever wrapped up in a plugin?

@pjanik
Copy link
Author
pjanik commented Jun 2, 2014

Unfortunately I haven't done it due to lack of time. However it should be reasonably easy to convert this code into a plugin.

@mbostock mbostock modified the milestones: 3.5, Icebox Nov 15, 2014
@mbostock mbostock added the req label Nov 15, 2014
@mbostock mbostock modified the milestones: 3.5, 3.6 Dec 6, 2014
@vanquang9387
Copy link

I really need this feature. Will this be integrated?

@mbostock mbostock modified the milestones: 3.6, 4.0 Oct 22, 2015
@mbostock mbostock modified the milestones: 4.0, Icebox Jul 14, 2016
@mbostock mbostock closed this Oct 20, 2016
@langdonx
Copy link

@mbostock No chance for this or is there an existing solution?

@mbostock
Copy link
Member

I bulk-closed all pull requests in this repository because the code was moved to separate repositories as part of the D3 4.0 launch (and thus no pull requests here could be merged). See d3/d3-drag#27 and d3/d3-zoom#67 for the new issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
0