GraphGL icon indicating copy to clipboard operation
GraphGL copied to clipboard

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

Open scottstensland opened this issue 11 years ago • 1 comments

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

scottstensland avatar Jun 05 '14 15:06 scottstensland

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.

uskudnik avatar Jun 05 '14 15:06 uskudnik