ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I was recently asked by a friend if I could write him a screensaver that did something similar to an opengl screensaver - just without opengl. the basic concept was to manipulate pixels on the screen to create a wave effect.
The only thing standing in my way is that I need some way to manipulate pixels on the screen. opengl has several function for that, as "man -k pixel" revealed, but I don't seem to find any other libraries for it. Reasonably, the X-server needs to have something of that sort, perhaps even something related to ncurses (??? ).
If anybody knows what libraries I can use to accomplish this, please give me a hint.
Is there a reason to avoid OpenGL? If your effect is simple, it will be quite renderable on most hardware. In any case, I would think that the SDL library would provide functionality that you seek, as well as (I believe) the gtk+ and QT libraries.
The machine crumbles under any form of graphical load. I don't know the specifications by heart, but it runs xfce as GUI, and even then it is slow. The graphics involve a simulation of a rotating spiral galaxy. My firend provides me with the math, I write the program.
Thanks for the tip on sdl.
What library lies below stdio? printing characters need pixel manipulation, so unless the character printing is compiled into the kernel (as far as I know only character maps are), should those libraries not be available?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.