I've had some luck in changing the event loop and passing the window the approximator so that it can flip the window after it mutates in order to have the correct polygons on the screen(I think), however when I run it the screen is essentially flashing, it's a bit hard to explain however if you check the source and run it it's pretty obvious.
Alex On Dec 15, 8:27 pm, Alex_Gaynor <[email protected]> wrote: > I have an application that changes the state of the screen, and then > needs to do some calculations on the new state(this is an > implementation ofhttp://alteredqualia.com/visualization/evolve/). > Basically it alters the color or shape of a polygon and then needs to > compare the new resultant screen to the original image to see if it's > an improvement. But this doesn't work with me just doing all that > work in on_draw on the window. Any thoughts on how to better > architect this? You can see all the code > here:http://github.com/alex/evolves/tree/master --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en -~----------~----~----~----~------~----~------~--~---
