exupero's blog

Superformula identicons

In the previous post we created identicons based on mirror reflections. One final option I've considered is to use the superformula for generating identicons:

Using the superformula is tricky. Many parameter combinations generate shapes that require multiple rotations to meet back up with their starting point, and making only one rotation often leaves a notch (visible on most of the examples above). One quasi-solution to this to randomize the number of rotations:

The superformula can also generate more exotic shapes: