Coder Social home page Coder Social logo

melair / seraph Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 0.0 183 KB

A Java display and layout library for displaying to LED matrix signs, targeting HUB 75's on Raspberry Pi's.

License: GNU General Public License v3.0

Java 94.69% Makefile 0.38% C++ 4.93%

seraph's People

Contributors

melair avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

seraph's Issues

Books should be able to have pages removed.

Given that a Canvas can have things added and removed, a Book also should have this privilege. It will allow pages to be removed dynamically without rewiring the entire render tree.

Add Scrolling layout option.

Create a Displayable which creates a bigger area then it's parent, the layout can then manually scroll the display by shifting it's view over the whole area.

  • Horizontal Only? You could get a vertical by mounting a horizontal in a rotate.
  • Speeds?
  • Repeat options:
    • Continuous loop
    • Bounce from side to side.
    • Just resets to beginning.
  • Allow smart sizing, where size adapts to the most right hand none black pixel.

Add Image component.

Display a static image in a Displayable.

  • To keep library light, accept custom format? Just rows/columns of PixelColours?

Add layers layout.

Allow stacking of displayables on top of each other. Rendering top down, if a layers pixel is (0,0,0) then the next layer below checked, all the way down.

This allows animations and other effects to play on top of others.

Add virtual layout option.

Virtual layout is a bigger area then the parent can display with a view port which can be moved around. This may be helpful for the scrolling feature.

Consider adding wrapping, i.e. if you display past the right we show the left columns.

Add Text component.

Convert text to pixels, obvious enough.

  • Use BDF fonts? Simple and a library to chose from.
  • What happens if Displayable isn't big enough?

Add Scaling layout.

Add a layout component which scales the size of the child.

  • Start with a simple 2x/3x first.
  • Do we want resampling or smoothing?

PixelPusher has no tests.

The PixelPusher output has no tests, write two tests for partial frame update and key frame updates.

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.