/molecule-viewer

3D chemical molecule visualizer for XYZ files.

Primary LanguageC++

molecule-viewer

About

Molecule viewer is a C++ program for visualizing chemical molecules stored in the XYZ file format.

NOTE: This does not aim to be a fully featured program, rather just an experiment in chemical file parsing and rendering.

screen1

Technical

XYZ files can be loaded using the first command line argument as the file name, or piped into the program directly.

molecule path/tofile.xyz

Or

cat path/tofile.xyz | molecule

Requires

  • SDL 2
  • Legacy OpenGL.
  • C++11
  • The Makefile is setup for mac, although it should be easy to change for another OS.

More Screenshots

screen2 screen3