The magic wand stuff would be rendered in a background thread, you'd just get a lower framerate, so to speak. The goal would be to have the foreground still completely responsive and take priority over the background stuff. Once you click it'll kill off the background computation and do the 'real' computation. The biggest concern here will be memory usage. But ... honestly, at some point, you just have to require more when adding legitimate functionality.