Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including selection-abstract with all npm packages installed. Try it out:

selection-abstract lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:

// require("selection-abstract/[??]")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

selection-abstract v0.0.1

Abstract Selection


Selections in THREE.js

SubUnit gives you an ES6 version of D3 selections that work against a THREE.js scene graph. It allows you to select into the scene and use D3 style syntax.

npm install subunit
bower install subunit

To run the demos, type npm install in the root folder to get the dependencies for the demos.

Run a local server from the root folder...

cd subunit
python -m SimpleHTTPServer 8000 (or your favorite local server)
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free