Updated sphere.
Introduced requirejs to make the app more modular.
Can get multiple balls on the screen. Now need to be able to read in a structure file and draw balls at the correct x, y and z coordinates.
Can get multiple balls on the screen. Now need to be able to read in a structure file and draw balls at the correct x, y and z coordinates.
Written module to parse mmCIF file produced by Python; however, the file is not read in but, currently, just pasted into the actual script. Need to change the scene setup because it is too big and the molecule is too far away. Need better controls for zooming. Need element colours to be shown properly.
Fixed error with the same coloured spheres by converting the text hex code to actual hex code, i.e. removing the quotes.
Removed uneccessary comments. Formatted some code. Moved from using arrays for the atoms to creating atom objects with attributes. These objects are now used to create the atoms on the screen and will be used to draw bonds.
Can draw tubes between the spheres as bonds.