Skip to content

PaulBatchelor/runt-img

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

runt-img

Runt-img is a very simple raster graphics library for runt designed to create procedurally generated pixel art with a 256x256 resolution. It is written in ANSI C.

Under the hood. runt-img uses lodepng (included with runt-img) to write PNG files.

Compilation

You will need to have runt

To compile, simply run:

make

This will make the library librunt_img.a, and a runt interpretor called rntimg. The interpretor can be used to try out some of the examples. For instance, to run the lines example, run:

./rntimg examples/lines.rnt

Which will write a file lines.png

To install the library and utility, run:

make install

Note that sudo does not need to be used, as the files are copied to ~/.runt.

About

simple raster graphics bindings for runt

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published