Java version of Joop_ resonance.All

And here is the applet. Push the button!