We introduce an iteration rule for real numbers capable to generate attractors with dragon-, snowflake-, sponge-, or Swiss-flag-like cross sections. The idea behind it is the mapping of a torus into two (or more) shrunken and twisted tori located inside the previous one. Three distinct parameters define the symmetry, the dimension, and the connectedness or disconnectedness of the fractal object. For some selected triples of parameter values, a couple of well known fractal geometries (e.g. the Cantor set, the Sierpinski gasket, or the Swiss flag) can be gained as special cases.