Description Usage Arguments Value Examples
This function allows you to plot some fractals using the Iterated Function Systems theory.
1 | RunJSONIFS2D(JSON, set_palette = 0, filename = "")
|
JSON |
A JSON string, URL or file. |
set_palette |
0 = default palette; 1 = grayscale; 2 = rich.colors. |
filename |
If given, saves the image as a png file in the current working directory. |
A list with a 2D array of pixels and the parameters as a JSON.
1 2 3 4 | library(IFSPlot)
file_ifs = system.file("extdata", "Fern2D.json", package="IFSPlot")
result = RunJSONIFS2D(file_ifs, 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.