vLang : PPM
Create PPM image file from vLang
Usage
mut c := Canva.new(10, 10)
color := Color.new(255, 204, 153)
for row in 0..c.height {
for col in 0..c.width {
c.set(row, col, color)
}
}
c.save("canva.ppm") // will save your canva to "canva.ppm" file
Installation
Install and use ppm module via VPM:
v install Ni-g-3l.ppm
Or through Git:
git clone
https://github.com/Ni-g-3l/vlang-ppm.git
๐ข Versioning
We use
SemVer
๐คน Authors / Contributers / Attributions
-
Ni-g-3l
- Main Developer- Github
See also the list of
contributors
๐ License
This project is licensed under the MIT License - see the
LICENSE.md
๐ Acknowledgments
-
Billie Thompson
- README & Contribution Templates- PurpleBooth