d3-inertia
d3-inertia copied to clipboard
Dragging stuff with inertia
two fingers gestures can send the script to infinity (or huge or NaN) velocities, which is definitely not good™
d3-inertia currently depends on versor ^0.1, which results in a download of versor 0.1.2. However, that version of versor [incorrectly specifies its `package.json` file](https://github.com/d3/versor/blob/c3d014ff5a9a022eda3d6ab2a27fb2fed687cee6/package.json#L15), by specifying `module` and `jsnext:main` as...
it should be easy to unset inertia
- [x] canvas basic (https://bl.ocks.org/Fil/f48de8e9207799017093a169031adb02) - [x] canvas in @observablehq (https://beta.observablehq.com/@fil/translucent-earth) - [x] svg1 eclipses (https://bl.ocks.org/Fil/63366253a5d2f00640c15b096c29a38c) - [ ] svg2 ? floating landmasses (https://bl.ocks.org/Fil/02e6d4c63ab52d202ca9d922b4b9000f/) - [ ] simple webgl -...
see https://bl.ocks.org/HarryStevens/8c9eba0905777a6ea778ebfc16f4d743 issue 1 is solved by adding `if (inertia.timer) inertia.timer.stop();` http://blockbuilder.org/Fil/bf64676d0495518d98fffa21df46d0f0
@vasturiano > Btw, I've noticed one of the disorienting things about the versors globe rotation is that it can easily get turned sideways and upside down. I think maintaining a...
When letting go of the drag, there seems to be a momentary pause in the motion before initiating the inertia decay. Here's an example with the globe rotation: 
The [planets example](https://visionscarto.net/maps/planets/) sort of works, but it's not the end of the story: - check all mobile gestures (see also #3) - allow panning when outside the sphere (??)
as per https://github.com/d3/d3-drag/issues/27#issuecomment-342212672 ; a starting point might be https://bl.ocks.org/Fil/a034e32156b7b25ee9054c1bc50dc0ca without the fancy & random stuff
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. Release notes Sourced from word-wrap's releases. 1.2.4 What's Changed Remove default indent by @mohd-akram in jonschlinkert/word-wrap#24 🔒fix: CVE 2023 26115 (2) by @OlafConijn in...