Added to gitignore and added scratchpad file for testing some stuff in the node repl.
Set-up app directory and library files. Will test the rendering of a sphere to the canvas using WebGL.
Set-up app directory and library files. Will test the rendering of a sphere to the canvas using WebGL.
Able to create a sphere and render it to the canvas. Also added fps stats.
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.
Moved CFF mmCIF file to separate file which is now imported. Moved the order of importing things into the scene.js file so that 'ignore' doesn't need to be passed into the function."
Made the createSphere and createTube function into classes that inherit from the THREE.Mesh object.
Added new ligand. Does not work with protein mmCIF files because they have a different format. Added some more lights and helpers for the lights and camera.
Updated the lights.
Altered zoom speed so it's now smoother.
Removed superfluous lights and helpers.
Added Python script to parse and load mmCIF files into RethinkDB. Script works and can load ~ 15K documents in ~ 20 mins into local DB.
Created express server to serve JSON data from the DB.