mirror of
https://github.com/chemistry-software/raymol.git
synced 2026-11-07 09:17:32 +00:00
77f1ea977db443368eb71ad84348c68dab0cdada
SDF Molfile parser and molecule renderer with Raylib
Compilation
zig cc -o test -lraylib -L /usr/local/lib -I /usr/local/include main.c -DDEBUG```
Or without DEBUG flag to omit debug logging
## Example files
SDF molfiles of ethanol and methyl vinyl ketone are available. 3D SVG images were generated from these using OpenBabel for comparison with the Raymol output.
Conversion command:
```sh
obabel methyl-vinyl-ketone.sdf -Omethyl-vinyl-ketone.svg -xS
By @bdnugget
Languages
C
100%