IFSPlot (version 1.0)

RunJSONIFS3D: RunJSONIFS3D

Description

This function allows you to plot some fractals using the Iterated Function Systems theory.

Usage

RunJSONIFS3D(JSON, width, height, set_palette = 0)

Arguments

JSON

A JSON string, URL or file.

width

Width of the window.

height

Height of the window.

set_palette

0 = default palette; 1 = grayscale; 2 = rich.colors.

Value

A list with a 3D array of pixels and the parameters as a JSON.

Examples

Run this code
# NOT RUN {
library(IFSPlot)

file_ifs = system.file("extdata", "Sierpinski3D.json", package="IFSPlot")
result = IFSPlot::RunJSONIFS3D(file_ifs, 800, 800, 0)
# }

Run the code above in your browser using DataLab