https://github.com/thealexdev23/elconf
CLI program that creates a png file representing an element's electronic configuration
https://github.com/thealexdev23/elconf
Last synced: 8 months ago
JSON representation
CLI program that creates a png file representing an element's electronic configuration
- Host: GitHub
- URL: https://github.com/thealexdev23/elconf
- Owner: TheAlexDev23
- License: gpl-3.0
- Created: 2023-06-03T20:37:24.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-05T16:28:02.000Z (about 3 years ago)
- Last Synced: 2025-01-24T08:44:02.915Z (over 1 year ago)
- Language: C
- Size: 4.7 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# elconf
School project. CLI program that creates a png file representing an element's electronic configuration.
This program uses the following libraries made by me: [libpttui](https://github.com/TheAlexDev23/libpttui), [libperiodic-c](https://github.com/TheAlexDev23/libperiodic-c) and [libpel](https://github.com/TheAlexDev23/libpel)
This program uses the following open source libraries: [cwalk](https://github.com/likle/cwalk), [png](http://www.libpng.org/pub/png/libpng.html)
This program and all the libraries it uses made by me are licensed under GPL3
## How it works
## Building
Building requires the following dependencies: cwalk, png, [libpel](https://github.com/thealexdev23/libpel)(install instructions in the repository)
```bash
git clone https://github.com/TheAlexDev23/elconf.git
cd elconf
cmake -B build
cd build
make
```
## Running
To run the program, provide the root directory of the project and additionaly the file. If not provided will save under output.png. Assuming in build folder:
```bash
./elconf .. file.png
```