View Full Version : Leg-up help needed

October 16th, 2014, 10:07 PM
As a small sideline I build arduino based light installations. The pattern creation software I write can become relatively complex and is tiresome to test on the arduino platform itself.

What I could do with right now is the ability to create a window on my desktop onto which I can paint pixels from code written (ideally) in c++. My guess is that this involves using OpenGL.

To simplify things I don't at this stage want to struggle through Eclipse (wonderful though it is), nor do I want to directly transfer resultant code to an arduino or an emulator. I just want to be able to control pixels from C++ code and concentrate on the pixel driving algorithms themselves.

Open a window, draw/redraw pixels, delay/wait for user input.
I would really appreciate being pointed at a straightforward example that I could lift and then develop further myself. Basically a leg-up or bootstrap to get me started.

Any kind Guru's out there who could point me in the right direction?

October 17th, 2014, 12:23 AM


These are placeholders until I can come up with something more substantial.

In the meantime, browse through:

apt-cache search pixel