Repository

Demo

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 ~/.vmodules/ppm

๐Ÿ”ข Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository .

๐Ÿคน Authors / Contributers / Attributions

  • Ni-g-3l - Main Developer - Github

See also the list of contributors who participated in this project.

๐Ÿ“ƒ License

This project is licensed under the MIT License - see the LICENSE.md file for details.

๐Ÿ‘ Acknowledgments

  • Billie Thompson - README & Contribution Templates - PurpleBooth

About

Create PPM image file from vLang

0
2
6 days ago

Author

Ni-g-3l