Skip to content
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

please drop dependancy on three.js - that library is a pig #5

Open
scottstensland opened this issue Jun 5, 2014 · 1 comment
Open

Comments

@scottstensland
Copy link

Hi

  I would like to use GraphGL as part of my project yet its dependancy on

      three.js

  is unacceptable due to ***HUGE*** size of three.js - its over 180 meg !!!
  This is fine for stand alone client apps outside of a browser - but major fail
  for any browser based needs.     I personally write any WebGL logic using
  glMatrix-0.9.5.min.js   which is only 12444 bytes - Have you looked at
  seeing whether GraphGL can get along using glMatrix-0.9.5.min.js instead ?

  For my current project I need to visualize node/edges so will either roll my own
  lib from scratch using glMatrix-0.9.5.min.js or possibly see if I can fork your lib
  and remove requirement of three.js

  P.S. I started downloading three.js prior to writing this Issue and its
  still downloading ... currently at  over 200 meg !!! and climbing

cheers,
Scott

@uskudnik
Copy link
Owner

uskudnik commented Jun 5, 2014

Hey,

hehe, you only need to check out three.js if you want to do development or see the examples :) Minified version (http://threejs.org/build/three.min.js) comes at 420K, which should be good enough for you? :)

Cheers,
Urban

On 05 Jun 2014, at 17:37, Scott Stensland [email protected] wrote:

Hi

I would like to use GraphGL as part of my project yet its dependancy on

  three.js

is unacceptable due to _HUGE_ size of three.js - its over 180 meg !!!
This is fine for stand alone client apps outside of a browser - but major fail
for any browser based needs. I personally write any WebGL logic using
glMatrix-0.9.5.min.js which is only 12444 bytes - Have you looked at
seeing whether GraphGL can get along using glMatrix-0.9.5.min.js instead ?

For my current project I need to visualize node/edges so will either roll my own
lib from scratch using glMatrix-0.9.5.min.js or possibly see if I can fork your lib
and remove requirement of three.js

P.S. I started downloading three.js prior to writing this Issue and its
still downloading ... currently at over 200 meg !!! and climbing

cheers,
Scott


Reply to this email directly or view it on GitHub.

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

No branches or pull requests

2 participants