0 && requested_amount_of_energy>0) { var amount = Math.min(requested_amount_of_energy, this.energy); recipient.energy += amount; this.energy -= amount; }]]> 0, body constructs of creatures (position of Parts) will be randomly disturbed when they are created.]]> key=value instead of object.set("key",value) Note the difference in the returned value: var old_value=object.set("key",new_value); //'old_value' gets the value previously associated with "key" var x=object["key"]=new_value; //'x' becomes 'new_value', consistently with the semantics of the assignment operator. The value previously associated with "key" is lost.]]> returns 0 or 1.]]> 0=pressing, value depends on the force applied Characteristics: does not use inputs provides output value should be located on a Part Properties: Range (r) float 0..1 (default 1)]]> children are averaged parents. 0.2 => children are only 20% different from parents. 0 => each child is identical to one parent (no crossover).]]> area=mg.area(); ]]> The neuron icon for use in NN diagrams, encoded as a comma-separated sequence of integer numbers.
• N = the total number of all numbers following this one
• NS = the number of line sequences
repeated NS times:
• NL = number of line segments (creating a polyline)
• X,Y (repeated NL+1 times) - subsequent line segment coordinates, each line should fit in a 100x100 square
- neuron input connections will be drawn at X=25 (varying Y for multiple inputs, Y=50 for a single input)
- neuron output connection will be drawn at (X=75,Y=50)

Example:
16,2,3,25,50, 40,30, 60,30, 75,50,1,40,50, 60,50
N = 16 numbers following this oneNS = 2 line sequencesNL = the first sequence has 3 segmentscoordinates for 3 line segments = 4 endpoints = 8 numbersNL = the second sequence has 1 segmentcoordinates for 1 line segment