spceaza / ChaosGamePlot

ChaosGamePlot R package

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ChaosGamePlot

Plot fractals using the chaos game method and C++. This package use 4 set of rules for the chaos game.

Installation

# install.packages("devtools")
devtools::install_github("cesandovalp/ChaosGamePlot")

Example

Code

library(ChaosGamePlot)
result = RunChaosGame(5, .4, 100**3, 1)

Output

output

Code

library(ChaosGamePlot)
result = ChaosGamePlot::RunChaosGame(6, .5, 100**4, 3)

Output

output

About

ChaosGamePlot R package


Languages

Language:C++ 78.0%Language:R 22.0%