Evolife
Evolife has been developed to study Genetic algorithms, Natural evolution and behavioural ecology.
Classes | Namespaces | Functions | Variables
Curves.py File Reference

Go to the source code of this file.

Classes

class  Evolife.Graphics.Curves.Stroke
 Stroke: drawing element (point or segment) #. More...
 
class  Evolife.Graphics.Curves.Curve
 Holds a complete (continuous) curve in memory. More...
 
class  Evolife.Graphics.Curves.Curves
 Stores a list of 'Curves'. More...
 

Namespaces

namespace  Evolife
 
namespace  Evolife.Graphics
 
namespace  Evolife.Graphics.Curves
 Stores data that can be used to plot curves and stored into a file.
 

Functions

def Evolife.Graphics.Curves.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 Evolife.Graphics.Curves.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 Evolife.Graphics.Curves.EvolifeColours
 Evolife colours #. More...
 
list Evolife.Graphics.Curves.EvolifeColourNames
 
dictionary Evolife.Graphics.Curves.Shades = {'green':(10, 21), 'red':(22,33), 'blue':(34, 45)}