GithubHelp home page GithubHelp logo

sghall / subunit Goto Github PK

View Code? Open in Web Editor NEW
73.0 73.0 23.0 38.37 MB

A small library that gives you D3 style selections in THREE.js.

License: MIT License

JavaScript 84.80% HTML 15.20%
animation d3js maps threejs webgl webgl2

subunit's Introduction

Subunit

Selections in THREE.js

A small library that gives you D3 style selections in THREE.js. Now you can do awesome stuff in WebGL with a familiar API. Subunit selects into a THREE.js scene graph just like selecting into the DOM with D3.

npm install subunit

The library only has peer dependency on THREE.js. D3 is not required to be loaded on the page.

subunit's People

Contributors

aeschylus avatar mugurm avatar sghall avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

subunit's Issues

Demos do not run locally.

It's possible I'm just missing a build step, but after running npm install and navigating to the demo pages, they stick at "loading..." and I get errors such as the following:

Error loading "node_modules/antigen/BaseSelection" from "demos/js/barchart-sphere" at http://localhost/subunit/demos/js/barchart-sphere.js

I saw a commit message that said something about upgrading to antigen. Is there something I need to do with respect to that tool?

errors while running the demos

I am getting a bunch of errors while running the demos on a local server. Any idea what I am doing wrong?

http://localhost:8000/node_modules/babel-core/browser-polyfill.js Failed to load resource: the server responded with a status of 404 (File not found)
http://localhost:8000/node_modules/babel-core/browser.js Failed to load resource: the server responded with a status of 404 (File not found)
http://localhost:8000/node_modules/es6-module-loader/dist/es6-module-loader.js Failed to load resource: the server responded with a status of 404 (File not found)
http://localhost:8000/node_modules/systemjs/dist/system.js Failed to load resource: the server responded with a status of 404 (File not found)
http://localhost:8000/node_modules/babel-core/browser.js Failed to load resource: the server responded with a status of 404 (File not found)
http://localhost:8000/node_modules/es6-module-loader/dist/es6-module-loader.js Failed to load resource: the server responded with a status of 404 (File not found)
http://localhost:8000/node_modules/systemjs/dist/system.js Failed to load resource: the server responded with a status of 404 (File not found)
barchart-labeled.html:20 Uncaught ReferenceError: System is not defined

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.