-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/MignonPetitXelow/Fembng
- Loading branch information
Showing
2 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: C/C++ CI | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install SDL2 | ||
run: sudo apt-get install -y libsdl2-dev | ||
- name: make | ||
run: make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Fembng | ||
|
||
Fembng is a project that allows you to generate and view images with a rainbow gradient effect (for now because i'm to lazy) | ||
|
||
## Installation | ||
|
||
Follow these steps to install and run the Fembng project: | ||
|
||
### Prerequisites | ||
|
||
- Make sure you have `gcc` and `sdl2` installed. | ||
|
||
### Clone the Repository | ||
|
||
```bash | ||
git clone https://github.com/MignonPetitXelow/Fembng.git ; cd Fembng | ||
``` | ||
|
||
### Build the Project | ||
|
||
```bash | ||
make | ||
``` | ||
### Run Fembng | ||
|
||
To generate an image: | ||
```bash | ||
./bin/fembng -w <width> -h <height> -o <output_file> | ||
``` | ||
|
||
Example: | ||
```bash | ||
./bin/fembng -w 800 -h 600 -o output | ||
``` | ||
|
||
### Run Fembng Viewer | ||
|
||
To view a generated image: | ||
```bash | ||
./bin/fembngapp <image_file> | ||
``` | ||
|
||
Example: | ||
```bash | ||
./bin/fembngapp output.femboy | ||
``` | ||
|
||
### Contributing | ||
|
||
Feel free to contribute to the project by opening issues or creating pull requests. |