Category : animation

I would like to achieve the following in a simple (not necessarily most efficient and/or elegant way): I want to create a 320×200 QImage that I keep updating with setPixel commands. The QImage should be shown on screen and updated whenever something has changed. The could could for example look like this: QImage image (320, ..

Read more

I’m trying to make a simple animation using FLTK(a circle with increasing and decreasing radius). I’ve managed to write a simple program that seems to work, but the animation flickers. The circle disappears for a couple of milliseconds and then gets back. I’ve changed Fl_Window class to Fl_Double_Window, but that didn’t fix this problem. class ..

Read more