Interested in LCARS?

Everything else that doesn't fall into one of the other PB categories.
User avatar
jacdelad
Addict
Addict
Posts: 1473
Joined: Wed Feb 03, 2021 12:46 pm
Location: Planet Riesa
Contact:

Interested in LCARS?

Post by jacdelad »

For my next project (GameScout, library system for my thousands of boardgames (I can't find what I'm looking for anymore...)) I'm doing something in LCARS-design (which is planned to run on my Raspi 400). Are some of you interested in getting this, like in a module? I am in an early stage and moduling it seems possible, but if nobody is interested I won't invest time for that and do it "hard coded". And be aware, that this is still in an early state and I'm mostly working on the Ribbon.
Image
PureBasic 6.04/XProfan X4a/Embarcadero RAD Studio 11/Perl 5.2/Python 3.10
Windows 11/Ryzen 5800X/32GB RAM/Radeon 7770 OC/3TB SSD/11TB HDD
Synology DS1821+/36GB RAM/130TB
Synology DS920+/20GB RAM/54TB
Synology DS916+ii/8GB RAM/12TB
User avatar
CDXbow
User
User
Posts: 29
Joined: Mon Aug 12, 2019 5:32 am
Location: Oz

Re: Interested in LCARS?

Post by CDXbow »

You really can't do an LCARS interface without the correct font.
There is a pack of, I believe open source fonts, for Star Trek here
https://www.opendesktop.org/p/998508

I've had a few goes at this. For an early TOS LCARS you need round buttons and some of those sweeping graphics.
I tried a few ways to do round buttons but the only code I could get to work/look right was by Said, his Canvas based
custom buttons.
https://www.purebasic.fr/english/viewto ... 12&t=62198

Note - I only have used the standard button with rounded corners.
There is a lot of other functionality I have not tried.

I turned it into an include, CustomButtons.pbi that used his code to make 7 simple
rounded button similar to the Star Trek LCARS in form & color

I've put examples up at Github. https://github.com/CD-Xbow/LCARS/
The first is simply 7 round colored buttons and the second adds a graphic and the font.
I think it's getting to be a pretty good facsimile.

Image

i thought about doing the graphic elements programmatically and there did seem to be a few ways to do it, however it took < 30 seconds to make the graphic, so expediency won over elegance. I'm going to keep working on it, adding resize and some more functionality.
User avatar
jacdelad
Addict
Addict
Posts: 1473
Joined: Wed Feb 03, 2021 12:46 pm
Location: Planet Riesa
Contact:

Re: Interested in LCARS?

Post by jacdelad »

Looks nice.

I never got a reply, so I never felt to urge publish an update. I too include the right font plus frames are created dynamically and so on...
PureBasic 6.04/XProfan X4a/Embarcadero RAD Studio 11/Perl 5.2/Python 3.10
Windows 11/Ryzen 5800X/32GB RAM/Radeon 7770 OC/3TB SSD/11TB HDD
Synology DS1821+/36GB RAM/130TB
Synology DS920+/20GB RAM/54TB
Synology DS916+ii/8GB RAM/12TB
User avatar
CDXbow
User
User
Posts: 29
Joined: Mon Aug 12, 2019 5:32 am
Location: Oz

Re: Interested in LCARS?

Post by CDXbow »

You should post them, I'd like to have a look.
I got interested years ago but never made any progress. I got interested again after building a Picorder during covid.
https://squaredwave.com/wiki/index.php?title=Picorder
I thought I'd have a go at doing software for it with PB, unfortunately I failed, but I kept an interest in doing an LCARS interface.
User avatar
jacdelad
Addict
Addict
Posts: 1473
Joined: Wed Feb 03, 2021 12:46 pm
Location: Planet Riesa
Contact:

Re: Interested in LCARS?

Post by jacdelad »

The problem is, since nobody showed interest I only did what I needed fory project. Plus, I didn't care about the code. I need to beautify it and such. For now, I need to complete other projects first. But I'll post it when I have something worth posting. Until then...expect everything (including the Spanish inquisition)!
PureBasic 6.04/XProfan X4a/Embarcadero RAD Studio 11/Perl 5.2/Python 3.10
Windows 11/Ryzen 5800X/32GB RAM/Radeon 7770 OC/3TB SSD/11TB HDD
Synology DS1821+/36GB RAM/130TB
Synology DS920+/20GB RAM/54TB
Synology DS916+ii/8GB RAM/12TB
Post Reply