Is it possible to call a method each time screen is drawn?
David Joiner
6 Posts
I've got a simulation that for which I need to be able to add lines directly to a drawing panel (pre computed/stored functions that change over time such that I can't just use a set of trails or traces). I also use the "skip" feature when drawing in order to speed the simulation. Is it possible to add code that is called every screen draw as opposed to every iteration step?