molecule_3d 0.0.1 copy "molecule_3d: ^0.0.1" to clipboard
molecule_3d: ^0.0.1 copied to clipboard

A 3D molecule viewer for Flutter.

It is not finished yet.

Features #

Circle Molecule Image Polygon Molecule Image

Now, Two approaces are supported.

  1. Atoms are drawn as circles.
  2. Atoms are drawn as polygons.(using ditredi)

I think 1st approach is faster than 2nd one. (I wish it is true. I have not tested it yet.)

Getting started #

add this to your package's pubspec.yaml file:

dependencies:
  molecular_viewer: ^0.0.1

Usage #

final xyz = """
  3
  molecule
  O 0.0 0.0 0.0
  H 0.76923944085 0.5935711586 0.0
  H -0.76923944085 0.5935711586 0.0
""";

Expanded(
    child: MolecularViewerDraggable(
        controller: controller,
        child: MolecularViewer(
            atoms: loadXyz(xyz), controller: controller)),
)

Additional information #

You can do any pull request or issue. I will be happy to help you.

1
likes
140
points
16
downloads

Publisher

unverified uploader

Weekly Downloads

A 3D molecule viewer for Flutter.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

ditredi, flutter, vector_math

More

Packages that depend on molecule_3d