easyiec.problems.StrangeAttractor#

class easyiec.problems.StrangeAttractor(n_points=4000, n_iter=70)[source]#

Bases: Problem

Clifford and Peter de Jong attractors rendered as log-density images.

Clifford: \(x'=\sin(ay)+c\cos(ax)\), \(y'=\sin(bx)+d\cos(by)\); de Jong: \(x'=\sin(ay)-\cos(bx)\), \(y'=\sin(cx)-\cos(dy)\).

presets()[source]#

Named, hand-picked genomes ({name: genome}) for seeding and demos.

semantic_axes = {'brighter': array([ 0,  0,  0,  0,  0,  0,  0, -1,  0,  0]), 'more colorful': array([0, 0, 0, 0, 0, 0, 1, 0, 0, 1]), 'more colourful': array([0, 0, 0, 0, 0, 0, 1, 0, 0, 1]), 'more contrast': array([0, 0, 0, 0, 0, 0, 0, 1, 0, 0]), 'softer': array([ 0,  0,  0,  0,  0,  0,  0, -1,  0,  0])}#

{phrase: direction vector in the unit cube} for verbal steering

Examples using easyiec.problems.StrangeAttractor#

Fractals: Julia sets, strange attractors, IFS and flames

Fractals: Julia sets, strange attractors, IFS and flames