Great tool! Following the example in ngl/examples/scripts/color/volume-esp.js I wrote something similar to show the ESP on an isodensity surface from two Gaussian cube files, one containing electron density and the other the ESP (code is below). This throws:
Great tool! Following the example in ngl/examples/scripts/color/volume-esp.js I wrote something similar to show the ESP on an isodensity surface from two Gaussian cube files, one containing electron density and the other the ESP (code is below). This throws:
Uncaught TypeError: e.toPrecision is not a function _makeSurface https://unpkg.com/ngl:1 getSurfaceWorker https://unpkg.com/ngl:1 onmessage https://unpkg.com/ngl:1 za https://unpkg.com/ngl:1 getNextWorker https://unpkg.com/ngl:1 getSurfaceWorker https://unpkg.com/ngl:1 prepare https://unpkg.com/ngl:1 make https://unpkg.com/ngl:1 i https://unpkg.com/ngl:1 r https://unpkg.com/ngl:1 setTimeout handler*r https://unpkg.com/ngl:1 push https://unpkg.com/ngl:1 build https://unpkg.com/ngl:1 init https://unpkg.com/ngl:1 e https://unpkg.com/ngl:1 Ts https://unpkg.com/ngl:1 addRepresentation https://unpkg.com/ngl:1 addRepresentation https://unpkg.com/ngl:1