The Cantor's Staircase is a famous fractal function which, while flat almost everywhere and continuous, is still growing.
We model a fractal function on [0,1] as a sequence of boxes, each containing a scaled smaller copy of the whole function.
Here are some examples:
Copyright (c) 2022 Konstantin Uvarin