Thanks to visit codestin.com
Credit goes to github.com

Skip to content
/ molvis Public
forked from MolCrafts/molvis

[WIP] interactive molecule visualization lib

License

Roy-Kid/molvis

 
 

Repository files navigation

Molvis

Molvis is an interactive molecular visualization toolkit built on top of Babylon.js. This repository is organized as a monorepo containing multiple packages:

  • core/ – the TypeScript library that implements the rendering engine and main API.
  • standalone/ – a React based web application for exploring molecules in the browser.
  • widget/ – a Python package that provides a Jupyter widget.

Getting started

Install all dependencies:

npm install

During development you can run each package individually:

npm run dev:core        # develop the core library
npm run dev:standalone  # start the standalone web app
npm run dev:widget      # build the Jupyter widget in watch mode

Example

A minimal example using the core library looks like the following:

import { Molvis } from 'molvis';

const canvas = document.querySelector('canvas') as HTMLCanvasElement;
const app = new Molvis(canvas);
app.render();

This renders and updates the molecular scene on the provided <canvas> element. The widget package exposes similar functionality inside Jupyter notebooks.

License

This project is distributed under the BSD-3-Clause license. See the LICENSE file for details.

About

[WIP] interactive molecule visualization lib

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 94.3%
  • Python 3.2%
  • Jupyter Notebook 2.3%
  • CSS 0.2%