Coder Social home page Coder Social logo

rizal72 / ledarcade64 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from datagod/ledarcade

0.0 0.0 0.0 6.75 MB

A collection of classes and functions to display animations on an LED matrix

License: GNU General Public License v3.0

Python 100.00%

ledarcade64's Introduction

LEDarcade64

A collection of classes and functions for animated text and graphics on an Adafruit LED Matrix.

This version is a fork of the original LEDarcade from DATAGOD, but it adds new functionalities and adapt it for a 64x64 RGB LED Matrix. In my particular case I'm using two chained 64x64 panels to reach a 128x64 total Matrix.

What it can do

LEDArcade has many classes, functions, pre-defined sprites that are used to do the following:

  • draw a sprite
  • move a sprite
  • make a sprite float across the screen
  • raw animated sprites floating across the screen
  • draw text of multiple sizes
  • scroll text left or right at various speeds
  • multiple ways to clear the screen (zooming in / zooming out / fading)
  • scroll the screen around a large map, displaying only a section of the map in a window

Requirements


Raspberry Pi 3 and up
Adafruit LED Matrix (64x32)
Adafruit RGB Hat
hzeller's RBG LED Matrix code: https://github.com/hzeller/rpi-rgb-led-matrix

Usage

Modify the test.py script to contain the messages you want to display. Then execute by issuing the comand:

sudo python3 test.py

Retro Arcade Games

There are 5 old school arcade games you can play on your LED Matrix:

sudo python3 DotInvaders.py
sudo python3 Defender.py
sudo python3 Outbreak.py
sudo python3 SpaceDot.py
sudo python3 Tron.py

Rotating Arcade Games

Run the following to put your clock into a mode that will cycle through all the available games.

sudo python3 arcade.py

Flight LED panel

My favorite: Displays the closest aircraft to specified coordinates and shows all of its data and info using FlightRadar24 API. Edit FlightConfig.ini to set some necessary parameters.

KEYBOARD SHORTCUTS:
'U' - Update Flights list
'N' - Show Next Flight in the list

sudo python3 flight.py

ledarcade64's People

Contributors

datagod avatar rizal72 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.