Bifurcation diagram

Contributions to this software library are always welcome. Please ensure that you post program listings rather than .raw files. They give a reasonable idea of what your program does without having to load them into a DM42 and you can also include comments in your code. Check out the following link for a decoder/encoder:

You can then copy/paste the listing and post it in "code" tags.
Post Reply
Posts: 11
Joined: Sat Sep 12, 2020 10:09 pm

Bifurcation diagram

Post by nephilim » Wed Sep 16, 2020 10:35 pm


after the first days with the wonderful DM42 I am feeling ambitious enough to share something here. I have tried to write a simple Bifurcation/Feigenbaum diagram generator.

The inputs are

* lower and upper limit of the r parameter (rmin, rmax)
* number of r-factors within that range (rnum)
* number of (random) initial populations per r-factor (sampl)
* number of iterations per population (iter)

The screenshot below shows the result for r=3.5...4, 400 (the width of the screen) r-parameters, 100 samples and 300 iterations.

Any suggestions how this code could be made more efficient are welcome.

(356 Bytes) Downloaded 17 times
20200916-19332891.bmp (12.31 KiB) Viewed 224 times

Post Reply