RunJSONIFS3D: RunJSONIFS3D

Description Usage Arguments Value Examples

View source: R/Plot.R

Description

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

Usage

1
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

1
2
3
4
library(IFSPlot)

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

IFSPlot documentation built on May 15, 2018, 5:04 p.m.