Star Trek LCARS interface for Raspberry Pi using Pygame.
The code is an example of implementing a custom MovieOS-style interface for your RaspberryPi projects that include the RaspberryPi touch screen (e.g. home automation control panel). The LCARS assets can be replaced with assets from any other style of user interface (e.g. from games, cartoons, or TV series).
(Click screenshot for a video)
- UI_PLACEMENT_MODE - if set to
True
, allows you to long-press any widget (except background items) and then drag them to any location. When you release the widget, it's new top and left co-ordinates are printed in the console, which you can use in your code to place the widget there. - DEV_MODE - if set to
True
, will show the mouse cursor, for example. The mouse cursor is useful during development (on a non-touch screen).
- LCARS graphical user interface is copyright CBS Studios Inc. and is subject to the fair use statute
- LCARS images and audio assets from lcarscom.net
- Sample weather image from the SABC