Explore the beauty of the bifurcation diagram!
- Clone or download the repository
- Open
Bifurcation_Diagram.html
in your browser - Open the developer tools of your browser
- Call
help()
in the console and read the instructions
Function | What it does |
---|---|
resize() |
resize the canvas |
clearScreen() |
create a blank screen |
help() |
show help message in the console |
zoomHelp() |
show help message for zooming in the console |
showInput(visible) |
toggle the visibility of the on screen command input |
Function | What it does |
---|---|
plot() |
show the diagram |
logPlot() |
show values for the current diagramm |
plotPoint2() |
show zoom section of the diagram (r difference: 0.2) |
plotPoint1() |
show zoom section of the diagram (r difference: 0.1) |
plotPoint02() |
show zoom section of the diagram (r difference: 0.02) |
plotPoint005() |
show zoom section of the diagram (r difference: 0.005) |
plotPoint0001() |
show zoom section of the diagram (r difference: 0.0001) |
plotPoint00005() |
show zoom section of the diagram (r difference: 0.00005) |
plotRange(from, to, minX, maxX) |
show a specifc section of the diagram |
setIterations(to) |
set the amount of iterations taken for a single plot |
Function | What it does |
---|---|
zoomIn() |
enables zoom mode for zooming in |
zoomOut() |
enables zoom mode for zooming out |
disableZoom() |
disabled zoom mode |
setZoomRate(to) |
set the zoom factor to a custom value |
setZoomIterations(to) |
set the amount of iterations taken for a single plot while zooming |