Comments (2)
Hey, thanks! Glad to hear you've taken this and run. If you can package up a PR or two that'd be awesome.
Regarding the bounded text request, yeah that sounds totally reasonable to include. It's something I could work on for sure but I'm not sure what timeframe that would be. In terms of best way to implement, that's hard to say. I'd probably just start out with a new sprite that has the config needed (define the box) and then just get it working.
Likely a composite design pattern is the most correct way to do this kind of thing so we can arbitrarily nest things but at these resolutions I think that's something we can start worrying about when it becomes a problem ;)
from infopanel.
Thanks for your answer!
I will have more time from next week on to work on this, and will try to suggest corresponding pull requests for the size-limited scrolling text and a couple other things.
Also, as an FYI, as far as the animated transitions between scenes are concerned, this required some "substantial" changes. One of these is the fact that everything is now Pillow based in order to facilitate drawing frames from two scenes at the same time and merging them in one final buffer for the LED panel (think of a swipe-up animation).
For example, text is now not drawn using the Matrix library anymore, but with Pillow's ImageFont module, and so on (which also required some changes to the helpers etc.). Of course thanks to the composite design pattern, sprites and scenes did not have to be changed. The impact on CPU and FPS on a Raspberry 3 was not significant (as you said, at these resolutions there's some leeway;) )
Regarding the transitions, I'd also be more than happy to share my work if people are interested.
Cheers! And thanks again for the great project. :)
from infopanel.
Related Issues (20)
- Invalid mode change HOT 1
- A Time-Date Sprite HOT 1
- Color is not pickup from config file. New class DynamicText HOT 5
- test_config.yaml fails to run HOT 16
- News enhancements HOT 1
- Adding brightness to Modes HOT 2
- If MQTT mode set to all, Brightness goes to 100 HOT 2
- Animated gifs HOT 5
- Mode Setting HOT 4
- config.py - change parameters to support faster raspberries HOT 2
- test
- fail to install HOT 21
- infopanel.yaml issue HOT 5
- led-pixel-mapper implementation HOT 5
- fail to start using this project HOT 26
- Can't get my head around dx HOT 4
- Exception: Couldn't load font HOT 8
- Programmatically build DynamicText sprites within a custom scene HOT 3
- Module "Voluptuos"
- Errors?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from infopanel.