BastienLaby / pix

Graphical API to draw pixels on a grid.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pix

Graphical API to draw pixels on a grid.

Example code

import pix

width, height = 200, 200
graph = pix.create_graph(width, height, "#718ebe")
graph.show()

for i in range(width):
    for j in range(height):
        graph.set_color_rgb(i, j, 3 * [i / height])

Contact

Bastien Laby

bastien.laby@gmail.com

About

Graphical API to draw pixels on a grid.

License:MIT License


Languages

Language:Python 79.8%Language:Shell 20.2%