Skip to content

Commit

Permalink
Added new screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
jinglemansweep committed Dec 7, 2023
1 parent 585ba23 commit c31f54d
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 4 deletions.
20 changes: 18 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,25 @@ Main installation on living room shelf, accompanied by [WLED](https://kno.wled.g

![Wideangle Photo of WideBoy Display](./docs/images/photo-wide-01.png)

Idle background slideshow and clock displaying AI generated tiled chocolate bar imagery:
Default scene showing background artwork carousel sprite as well as dynamic Home Assistant entity tile grid sprite:

![Background Slideshow: Chocolate](./docs/images/screenshot-background-chocolate.jpg)
![Default Scene](./docs/images/screenshot-scene-default.png)

Default scene showing real-time incoming MQTT notification message:

![Incoming Notification](./docs/images/screenshot-sprite-notification.png)

Animated starfield scene:

![Animated Starfied](./docs/images/screenshot-scene-starfield.png)

Credits and debugging scene:

![Animated Starfield](./docs/images/screenshot-scene-credits.png)

Home Assistant MQTT Device:

![Home Assistant Device](./docs/images/screenshot-hass-device.png)

Another AI generated background slideshow example:

Expand Down
Binary file removed docs/images/screenshot-background-alan-sugar.jpg
Binary file not shown.
Binary file removed docs/images/screenshot-background-chocolate.jpg
Binary file not shown.
Binary file added docs/images/screenshot-hass-device.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/screenshot-scene-credits.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/screenshot-scene-default.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/screenshot-scene-starfield.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/screenshot-sprite-notification.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/images/technical-surface-reshape.png
Binary file not shown.
5 changes: 3 additions & 2 deletions wideboy/sprites/tile_grid/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

from wideboy.constants import EVENT_HASS_STATESTREAM_UPDATE
from wideboy.scenes.base import BaseScene
from wideboy.sprites.base import BaseSprite
from wideboy.sprites.tile_grid.helpers import (
Animator,
AnimatorState,
Expand Down Expand Up @@ -131,14 +132,14 @@ def animating(self):
# Tile Grid Sprite


class TileGrid(pygame.sprite.DirtySprite):
class TileGrid(BaseSprite):
state: Dict
columns: List
tile_surface_cache: Dict[str, pygame.Surface] = dict()
update_frames: int = 0

def __init__(self, scene: BaseScene, cells: List[List[Type[TileGridCell]]]):
super().__init__()
super().__init__(scene, pygame.Rect(0, 0, 0, 0))
self.image = pygame.Surface((0, 0), pygame.SRCALPHA)
self.rect = self.image.get_rect()
self.scene = scene
Expand Down

0 comments on commit c31f54d

Please sign in to comment.