Update Performance and memory optimization authored by Iker Hurtado's avatar Iker Hurtado
......@@ -31,7 +31,10 @@ The last column is a more aggressive segment reduction that can make sense for h
The percentages represent the final number of vertices relating to the initial one.
I've also reduce the *radialSegments* of bonds geometry but in this case the gain is small (the number of vertices per bond is smaller and fixed)
I've also reduce the *radialSegments* of bonds geometry but in this case the gain is small (the number of vertices per bond is smaller and fixed).
The final implementation add a new variable (the size of the structure, number of atoms) to determine the segments number of the atoms geometry, this is the expression:
`const nSegments = 5 + Math.ceil(15*(1 - numAtoms/2500)*radius)`
......
......