Evolife
Evolife has been developed to study Genetic algorithms, Natural evolution and behavioural ecology.
|
Stores data that can be used to plot curves and stored into a file. More...
Classes | |
class | Curve |
Holds a complete (continuous) curve in memory. More... | |
class | Curves |
Stores a list of 'Curves'. More... | |
class | Stroke |
Stroke: drawing element (point or segment) #. More... | |
Functions | |
def | Shade (x, BaseColour='green', Min=0, Max=1, darkToLight=True, invisible='white') |
compute a shade for a given base colour Green colours between 10 and 21 Red colours between 22 and 33 Blue colours between 34 and 45 More... | |
def | EvolifeColourID (Colour_designation, default=(4, 'red')) |
Recognizes Colour_designation as a number, a name, a (R,V,B) tuple or a #RRVVBB pattern. More... | |
Variables | |
list | EvolifeColours |
Evolife colours #. More... | |
list | EvolifeColourNames |
dictionary | Shades = {'green':(10, 21), 'red':(22,33), 'blue':(34, 45)} |
Stores data that can be used to plot curves and stored into a file.
def Evolife.Graphics.Curves.EvolifeColourID | ( | Colour_designation, | |
default = (4,'red') |
|||
) |
def Evolife.Graphics.Curves.Shade | ( | x, | |
BaseColour = 'green' , |
|||
Min = 0 , |
|||
Max = 1 , |
|||
darkToLight = True , |
|||
invisible = 'white' |
|||
) |
list Evolife.Graphics.Curves.EvolifeColourNames |
list Evolife.Graphics.Curves.EvolifeColours |
Evolife colours #.
EvolifeColours = ['#808080', 'black', 'white', 'blue', 'red', 'yellow', '#A06000', '#0080A0', '#FF80A0', '#94DCDC',