mythsunwind / matrixflut-client

Client to send text, images or just individual pixels via Pixelflut protocol

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

matrixflut-client

Client to send text, images or just individual pixels via Pixelflut protocol

Usage

Add import in your project:

from matrixflut import Endpoint, drawText

Draw red text on center of panel via pixelflut protocol:

endpoint = Endpoint("192.168.0.1", "1337")
drawText(endpoint, "Hello", color=(255, 0, 0), horizontalCentered=True, verticalCentered=True)

Available client features:

  • clearMatrix
  • getSize
  • setPixel
  • setBrightness
  • drawText
  • drawImage
  • drawGIF

Examples

This repository contains certain example scripts that use the client.

Licenses

Font Spleen is released under the BSD 2-Clause license by Frederic Cambus.

Gif sending code is inspired and copied from poemusica's rpi-matrix-gif and from BigglesZX's github gist. Thank you!

About

Client to send text, images or just individual pixels via Pixelflut protocol

License:GNU General Public License v3.0


Languages

Language:Python 100.0%