¿ªÔÆÌåÓý

Re: Question: XY (XYZ or Vector) instrument CRT, replacement with an LCD ?


 

On 11/6/21 9:54 PM, peter bunge wrote:
I would like to learn graphics on the RaspberryPi but?I cannot find the right area. It seems to be all games written in Python. It has always seemed?Mickey Mouse to me.
Part of the problem you're hitting is that you're probably looking for information about "graphics programming on a Raspberry Pi", which is not what you should be looking for. (unless you're talking about doing bare-metal framebuffer access, which you probably aren't)

Instead, look into graphics programming on Unix and/or Linux systems on the X Window System. The fact that the hardware platform is a Raspberry Pi makes no difference; the APIs are all the same.

There are lots and lots (and lots) of graphics libraries. Too many. You can code against bare Xlib or Xt, but that's pretty complex. Qt and GTK are two of the most popular, they've both been around for a long time, and have language bindings for essentially all languages. There are good "hello world" tutorials for them that are easily found. I would probably recommend GTK.

Games (and weed) seem to be the only things society is interested in today, so you'll have to shovel your way through all of that garbage to get to anything useful, but there is good grownup material out there.

Everyone has free software but the free MS Visual C++ turned out to be $50/month. I wasted 2 weeks on?that when I got?a?message saying my trial period was over.
I don't remember anything that?said?trial when I downloaded?it. I thought it?was a stripped?down version.
I don't mind a few hundred $ like CCS C that?I use often for programming PICs.
All of the world's best compilers, the ones that are used to build very nearly all of the software that the world runs on, with very few exceptions, are free. CCS is one of those exceptions, but it has a single target architecture family. (most compilers are retargetable) When I say "are free", I don't mean "they have a limited free versions", but are *actually free*, for real. This has been the case for a long time.

-Dave

--
Dave McGuire, AK4HZ
New Kensington, PA

Join [email protected] to automatically receive all group messages.