In OpenChemistry, I contributed to the 3Dmol.js project. My work can be divided into three phases -
The first phase consisted of extending support to lammpstrj and netcdf file formats. The sample test cases for the following are test 1 and test 2 respectively. I also ended up making contributions to netcdfjs repository in adding support to 64 bit offset files.
The second phase consisted of making use of MDsrv for obtaining the trajectory files frame by frame and rendering it using javascript Promises to handle the asynchronous behavior. It was highly challenging due to the unavailability of async await support in the current version of closure-compiler. The link to the test case is attached in test 3.
The third phase of this project involved implementing Promise throughout 3Dmol.js - (test 4) and (test 5), and also adding functionalities for stereo-rendering of molecules and atoms as shown in test 6.