https://github.com/jabbalaci/nationalflags
National flags created with shaders
https://github.com/jabbalaci/nationalflags
flag flags nim shader
Last synced: about 1 month ago
JSON representation
National flags created with shaders
- Host: GitHub
- URL: https://github.com/jabbalaci/nationalflags
- Owner: jabbalaci
- License: mit
- Created: 2025-02-15T19:40:51.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2025-02-15T19:59:06.000Z (2 months ago)
- Last Synced: 2025-02-15T20:31:02.795Z (2 months ago)
- Topics: flag, flags, nim, shader
- Language: Nim
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# National Flags
National flags created with *shaders*.
I saw a [video](https://www.youtube.com/watch?v=IGTuv_KKLFs) from [Tsoding](https://www.youtube.com/@TsodingDaily), and it gave me the idea to create my country's flag with a shader.
## Flag of Hungary
Here is an example:
The code that generates it is here:
[hungary/main.nim](hungary/main.nim)## Contribution
If you want, you can send your national flag
in the form of a PR. Make a copy of the `hungary/` folder, rename it and customize
the code.The program that generates `output.ppm`
can be written in any language but I'd
prefer to get Nim solutions. But it's not
a strict requirement.The command `make all` must produce
the resulting PNG, thus don't forget
to edit the `Makefile`.