Many mathematical functions can describe the flow of the main part of scribbly.
Which one is the "simplest"? This one seems to be:
Below is sample graph of this function:
The main part of the simulation works like this:
Before the simulation, we set parameters a and n with sliders, as well as two others that affect the greater randomness of scribbly.
Choose the form of simulation: