Click on canvas reset. Tends to run smoother in java.
Source code:
Built with Processing Rendered with Processing.js