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.

Introduction to Linux - A Hands on Guide

This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.

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?