Skip to content

chemistry/crystalview

Repository files navigation

CrystalView

GitHub Build Status License: MIT

CrystalView

How to use

import { Mol3DView }  from '@chemistry/crystalview';
import structure from './1000004';

$(() => {
    let viewer = new Mol3DView({
        bgcolor: "#2b303b"
    });
    var element = document.getElementById('app');
    viewer.append(element);
    viewer.onInit();

    try {
        viewer.load(structure);
    } catch(e) {
    }
});

Quick start:

  • Run unit tests: npm run test
  • Start TDD flow: npm run tdd
  • Run linter verification: npm run lint
  • Run linter verification & fix: npm run lintfix
  • Build project: npm run build

Release

git tag v1.0.0
git push --tags

License

This project is licensed under the MIT license, Copyright (c) 2020 Volodymyr Vreshch. For more information see LICENSE.md.

About

Simple Crystal Viewer

Resources

License

Stars

Watchers

Forks

Packages

No packages published