WEAS is JavaScript library to visualize and manipulate the atomic structures directly in the web browser.
MIT License
The WEAS package is a JavaScript library designed to visualize and edit atomic structures (molecule, crystal, nanoparticle) in the web environments.
Features:
Here are some demo pages:
Please visit: WEAS Documentation
Clone the repository,
npm install
npm start
Then go to the demo
site.
npm install
npm test
Use playwright for the e2e test.
For the first time, one needs to install the dependence.
npx playwright install
Then run
npm run build
npx playwright test
Run the test with the title
npx playwright test -g "Animation"
If the snapshots need to be updated:
npx playwright test --update-snapshots