RIFS package provides functionality for generating & plotting prefractals in R^n with various protofractal sets and partition coefficient for iterative segments
conda install r::r-rifs