Chuck
720c44106d
Update stock_news_manager.py
...
added gap before headline 1 in stock_news_manager to reinforce the scroll effect
2025-04-17 21:41:26 -05:00
ChuckBuilds
a1fc231124
fix(stock_news): Resolve UnboundLocalError for width/height
2025-04-17 14:03:25 -05:00
ChuckBuilds
48c1eed8a9
fix(stock_news): Refactor headline scrolling logic for proper spacing
...
Previously, the calculation for the wide scrolling image used fixed estimates, leading to insufficient gaps between headlines and causing text to appear cut off.
This change refactors the image generation:
- Calculates the position for each headline based on the actual width of the previous headline's rendered text.
- Adds a gap equal to the full screen width between each headline.
- Simplifies the overall width calculation and adds cropping for efficiency.
- Improves the scrolling logic to handle wrap-around pasting correctly.
2025-04-17 13:57:19 -05:00
ChuckBuilds
7dcc22f74d
added space between the end of one headline and the beginning of the next
2025-04-17 09:16:46 -05:00
ChuckBuilds
27ea581d2d
feat: Implement continuous scrolling and news shuffling in StockNewsManager - Changed from group-based to continuous scrolling like StockManager - Added random shuffling of news items for varied display order - Improved spacing and layout for smoother transitions
2025-04-13 10:36:48 -05:00
Chuck
3d662baf54
Stocks ( #2 )
...
* Opening Bell
Introducing the Stock Ticker Feature
* Update stock_manager.py
Assume folder exists
* Update stock_manager.py
removing logos to focus on function for now
* Update stock_manager.py
parse yahoo scripts
* Update stock_manager.py
stock query update
* Update stock_manager.py
slow down stock display
* Update display_controller.py
adjust screen flow
* Update stock_manager.py
shipping features
* Update stock_manager.py
stock refresh in the background
* Customize Display timings
customize display timings
* Update stock_manager.py
stock font size change
* Sizing and Spacing
CHanged font sizing on chart and clock spacing
* Update clock.py
Date format changes
* Update stock_manager.py
actually read stocks from config file
* Update stock_manager.py
add config manager
* readme update
readme update and formatting for better flow
* Update .gitignore
rename reference folder
* Update config.json
changed default stocks to test update implementation
* Stock News
Stock news Ticker
* Update config.json
increase scroll speed
* Scroll Performance
Tuning news scrolling performance
* updating scroll direction
orienting scroll direction
* News tuning
removed test files and increased scroll speed
* Create test_news_manager.py
need a test script to call upon
* Update test_news_manager.py
test script tuning
* troubleshooting test script
* Update test_news_manager.py
* Update config.json
scroll speed increases
* Update config.json
scroll tuning
* Update config.json
speeding up
* Update config.json
still making text faster
* Update config.json
Trying to tune scrolling
* Update config.json
testing crazy parameters
* Update test_news_manager.py
remove sleep delay
* scroll tuning
scroll tuning
* scroll logging and debugging
FPS counter and debug messages
* Update config.json
matrix speed tuning
* Update news_manager.py
News separator
* Update news_manager.py
separator character change
* Stock News manager Rename
rename stock news ticker to enable other news in the future
* Update display_controller.py
load config update
* Update stock_manager.py
remove redundant import
* Stock news settings
Stock news has more granular control
* Stock news joins the lineup
Stock News added to the display controller and drawing display instead of image
* Optimize scrolling text performance for news ticker
* Adjust matrix settings to reduce artifacting while maintaining performance
* changed float to integer
* Fix news ticker performance with simplified scrolling mechanism
* Fix stock news scrolling in test environment: - Optimize display manager settings for smooth scrolling - Add proper display initialization and cleanup in test script - Implement timing control to prevent display buffer overflow - Ensure consistent 1ms delay between updates for smooth scrolling
* Optimize stock news scrolling for better performance: - Use pre-rendered text image for efficient scrolling - Implement cropping and pasting for smoother animation - Remove unnecessary display operations and delays
* Optimize stock news display performance: - Cache text image to reduce rendering overhead - Improve frame creation and update logic - Optimize text wrapping for smoother scrolling - Remove unnecessary display clears
* Optimize stock news display in controller: - Remove global sleep delay - Allow news display to run at full speed - Keep slower update rates for other displays
---------
Signed-off-by: Chuck <33324927+ChuckBuilds@users.noreply.github.com >
2025-04-11 11:10:50 -05:00
Chuck
b4c2fff9a8
Stocks ( #1 )
...
* Opening Bell
Introducing the Stock Ticker Feature
* Update stock_manager.py
Assume folder exists
* Update stock_manager.py
removing logos to focus on function for now
* Update stock_manager.py
parse yahoo scripts
* Update stock_manager.py
stock query update
* Update stock_manager.py
slow down stock display
* Update display_controller.py
adjust screen flow
* Update stock_manager.py
shipping features
* Update stock_manager.py
stock refresh in the background
* Customize Display timings
customize display timings
* Update stock_manager.py
stock font size change
* Sizing and Spacing
CHanged font sizing on chart and clock spacing
* Update clock.py
Date format changes
* Update stock_manager.py
actually read stocks from config file
* Update stock_manager.py
add config manager
* readme update
readme update and formatting for better flow
* Update .gitignore
rename reference folder
* Update config.json
changed default stocks to test update implementation
* Stock News
Stock news Ticker
* Update config.json
increase scroll speed
* Scroll Performance
Tuning news scrolling performance
* updating scroll direction
orienting scroll direction
* News tuning
removed test files and increased scroll speed
* Create test_news_manager.py
need a test script to call upon
* Update test_news_manager.py
test script tuning
* troubleshooting test script
* Update test_news_manager.py
* Update config.json
scroll speed increases
* Update config.json
scroll tuning
* Update config.json
speeding up
* Update config.json
still making text faster
* Update config.json
Trying to tune scrolling
* Update config.json
testing crazy parameters
* Update test_news_manager.py
remove sleep delay
* scroll tuning
scroll tuning
* scroll logging and debugging
FPS counter and debug messages
* Update config.json
matrix speed tuning
* Update news_manager.py
News separator
* Update news_manager.py
separator character change
* Stock News manager Rename
rename stock news ticker to enable other news in the future
* Update display_controller.py
load config update
* Update stock_manager.py
remove redundant import
* Stock news settings
Stock news has more granular control
* Stock news joins the lineup
Stock News added to the display controller and drawing display instead of image
2025-04-10 22:16:38 -05:00