This is a simple implementation of the Duffing Map.
The Duffing Map is a discrete-time dynamical system rule by the following mapping:
There are 3 buttons on the top of this applet that allow you to choose a and b parameters (2 predefined and 1 random).
Source code: DuffingMap01Built by David Rodrigues with Processing