aframe-glmol-component

1.0.1 • Public • Published

aframe-glmol-component

Version License

A port of GLMol based on https://github.com/biochem-fan/GLmol

For A-Frame.

API

Property Description Default Value
width Width 20
height Weight 20
depth Depth 1
color Color #AAA
molId moleculeID from PDB or CID server pdb:2POR
color Color by: chainbow, chain, ss, b, polarity chainbow
mainchain Main chain as: thickRibbon, ribbon, strand, cylinderHelix, chain, tube, bonds, none thickRibbon
base Nucleic acid bases as: nuclStick, nuclLine, nuclPolygon nuclLine
line Side chains as lines false
doNotSmoothen Don't smooth beta-sheets in ribbons true
nb Non-bonded atoms as: nb_sphere, nb_cross, none none
hetatmMode Small molecules as: stick, ballAndStick, ballAndStick2, sphere, icosahedron, line, none sphere
cell Unit cell false
biomt Biological assembly false
packing Crystal packing false
symopHetatms Show HETATMS in symmetry mates false

Installation

Browser

Install and use by directly including the browser files:

<head>
  <title>My A-Frame Scene</title>
  <script src="https://aframe.io/releases/1.0.4/aframe.min.js"></script> 
  <script src="https://unpkg.com/aframe-glmol-component/dist/aframe-glmol-component.min.js"></script> 
</head>
 
<body>
  <a-scene>
    <a-entity glmol></a-entity>
  </a-scene>
</body>
 
 

Dependents (0)

Package Sidebar

Install

npm i aframe-glmol-component

Weekly Downloads

3

Version

1.0.1

License

MIT

Unpacked Size

55.1 MB

Total Files

16

Last publish

Collaborators

  • sbutltmedia