Skip to content

Instantly share code, notes, and snippets.

@AndisGrossteins
Created January 19, 2022 15:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AndisGrossteins/449d1ac2bb7eeae198160a856d199d80 to your computer and use it in GitHub Desktop.
Save AndisGrossteins/449d1ac2bb7eeae198160a856d199d80 to your computer and use it in GitHub Desktop.
Modified Bibite save file from artificial life simulation The Bibites. This one is a herbivore with strong herding behavior. Place multiple nearby to observe the herding.
{
"transform": {
"_position": [-76.51986,
486.9061
],
"_rotation": 350.229431,
"_scale": 0.8118029
},
"rb2d": {
"px": -76.51986,
"py": 486.9061,
"vx": -0.013152454,
"vy": 0.341175437,
"m": 0.659024,
"r": -1089.77063
},
"genes": {
"genes": {
"LayTime": 10.2015553,
"BroodTime": 9.799863,
"HatchTime": 6.612937,
"SizeRatio": 0.6525952,
"SpeedRatio": 0.4640299,
"ColorR": 0.1,
"ColorG": 0.1,
"ColorB": 0.99,
"Strength": 25.0,
"MutationAmountSigma": 0.12542626,
"AverageMutationNumber": 3.49919,
"BrainMutationSigma": 0.182150786,
"BrainAverageMutation": 2.128889,
"ViewAngle": 195.90683,
"ViewRadius": 93.4221954,
"ClockSpeed": 0.5830322,
"PheroSense": 163.628616,
"Diet": 0.495020437,
"ImmuneSystemStrength": 0.636423,
"HerdSeparationWeight": 1.09648015,
"HerdAlignmentWeight": 1.11064129,
"HerdCohesionWeight": 0.165775931,
"HerdVelocityWeight": 0.186211276,
"HerdSeparationDistance": 37.509291
},
"isReady": true,
"gen": 230
},
"body": {
"mouth": {
"attackedLastFrame": false
},
"d2Size": 0.659024,
"d1Size": 0.8118029,
"health": 65.9024,
"maxHealth": 65.9024,
"energy": 44.3283157,
"maxEnergy": 98.85359,
"wasteBank": 7.164567,
"attackedDmg": -0.000212629515,
"dying": false,
"isWow": false,
"born": true
},
"growth": {
"maturity": 1.54743862,
"mature": true
},
"clock": {
"tic": 0,
"ticProgress": 0.219876722,
"timeAlive": 38.69998,
"chronoTime": 38.69998
},
"brain": {
"isReady": true,
"parent": true,
"Nodes": [{
"Type": 0,
"TypeName": "Input",
"Index": 0,
"Inov": 0,
"NIn": 0,
"NOut": 1,
"Desc": "Constant",
"Value": 1.0,
"LastInput": 0.0,
"LastOutput": 0.0
},
{
"Type": 0,
"TypeName": "Input",
"Index": 1,
"Inov": 0,
"NIn": 0,
"NOut": 0,
"Desc": "EnergyRatio",
"Value": 0.4495988,
"LastInput": 0.0,
"LastOutput": 0.0
},
{
"Type": 0,
"TypeName": "Input",
"Index": 2,
"Inov": 0,
"NIn": 0,
"NOut": 0,
"Desc": "Maturity",
"Value": 1.546086,
"LastInput": 0.0,
"LastOutput": 0.0
},
{
"Type": 0,
"TypeName": "Input",
"Index": 3,
"Inov": 0,
"NIn": 0,
"NOut": 1,
"Desc": "LifeRatio",
"Value": 1.0,
"LastInput": 0.0,
"LastOutput": 0.0
},
{
"Type": 0,
"TypeName": "Input",
"Index": 4,
"Inov": 0,
"NIn": 0,
"NOut": 0,
"Desc": "Speed",
"Value": 0.0175008569,
"LastInput": 0.0,
"LastOutput": 0.0
},
{
"Type": 0,
"TypeName": "Input",
"Index": 5,
"Inov": 0,
"NIn": 0,
"NOut": 0,
"Desc": "IsGrabbingObjects",
"Value": 0.0,
"LastInput": 0.0,
"LastOutput": 0.0
},
{
"Type": 0,
"TypeName": "Input",
"Index": 6,
"Inov": 0,
"NIn": 0,
"NOut": 0,
"Desc": "AttackedDamage",
"Value": -6.4585065E-06,
"LastInput": 0.0,
"LastOutput": 0.0
},
{
"Type": 0,
"TypeName": "Input",
"Index": 7,
"Inov": 0,
"NIn": 0,
"NOut": 1,
"Desc": "BibiteConcentrationWeight",
"Value": 0.630884945,
"LastInput": 0.0,
"LastOutput": 0.0
},
{
"Type": 0,
"TypeName": "Input",
"Index": 8,
"Inov": 0,
"NIn": 0,
"NOut": 0,
"Desc": "BibiteConcentrationAngle",
"Value": 0.036013484,
"LastInput": 0.0,
"LastOutput": 0.0
},
{
"Type": 0,
"TypeName": "Input",
"Index": 9,
"Inov": 0,
"NIn": 0,
"NOut": 0,
"Desc": "NVisibleBibites",
"Value": 0.75,
"LastInput": 0.0,
"LastOutput": 0.0
},
{
"Type": 0,
"TypeName": "Input",
"Index": 10,
"Inov": 0,
"NIn": 0,
"NOut": 0,
"Desc": "PelletConcentrationWeight",
"Value": 0.7928405,
"LastInput": 0.0,
"LastOutput": 0.0
},
{
"Type": 0,
"TypeName": "Input",
"Index": 11,
"Inov": 0,
"NIn": 0,
"NOut": 3,
"Desc": "PelletConcentrationAngle",
"Value": -0.06944661,
"LastInput": 0.0,
"LastOutput": 0.0
},
{
"Type": 0,
"TypeName": "Input",
"Index": 12,
"Inov": 0,
"NIn": 0,
"NOut": 0,
"Desc": "NVisiblePellets",
"Value": 1.0,
"LastInput": 0.0,
"LastOutput": 0.0
},
{
"Type": 0,
"TypeName": "Input",
"Index": 13,
"Inov": 0,
"NIn": 0,
"NOut": 0,
"Desc": "MeatConcentrationWeight",
"Value": 0.0,
"LastInput": 0.0,
"LastOutput": 0.0
},
{
"Type": 0,
"TypeName": "Input",
"Index": 14,
"Inov": 0,
"NIn": 0,
"NOut": 0,
"Desc": "MeatConcentrationAngle",
"Value": 0.0,
"LastInput": 0.0,
"LastOutput": 0.0
},
{
"Type": 0,
"TypeName": "Input",
"Index": 15,
"Inov": 0,
"NIn": 0,
"NOut": 0,
"Desc": "NVisibleMeat",
"Value": 0.0,
"LastInput": 0.0,
"LastOutput": 0.0
},
{
"Type": 0,
"TypeName": "Input",
"Index": 16,
"Inov": 0,
"NIn": 0,
"NOut": 1,
"Desc": "ClosestBibiteR",
"Value": 0.6924963,
"LastInput": 0.0,
"LastOutput": 0.0
},
{
"Type": 0,
"TypeName": "Input",
"Index": 17,
"Inov": 0,
"NIn": 0,
"NOut": 0,
"Desc": "ClosestBibiteG",
"Value": 0.06411639,
"LastInput": 0.0,
"LastOutput": 0.0
},
{
"Type": 0,
"TypeName": "Input",
"Index": 18,
"Inov": 0,
"NIn": 0,
"NOut": 0,
"Desc": "ClosestBibiteB",
"Value": 0.142344385,
"LastInput": 0.0,
"LastOutput": 0.0
},
{
"Type": 0,
"TypeName": "Input",
"Index": 19,
"Inov": 0,
"NIn": 0,
"NOut": 0,
"Desc": "Tic",
"Value": 0.0,
"LastInput": 0.0,
"LastOutput": 0.0
},
{
"Type": 0,
"TypeName": "Input",
"Index": 20,
"Inov": 0,
"NIn": 0,
"NOut": 2,
"Desc": "Minute",
"Value": 1.92999911,
"LastInput": 0.0,
"LastOutput": 0.0
},
{
"Type": 0,
"TypeName": "Input",
"Index": 21,
"Inov": 0,
"NIn": 0,
"NOut": 0,
"Desc": "TimeAlive",
"Value": 1.92999911,
"LastInput": 0.0,
"LastOutput": 0.0
},
{
"Type": 0,
"TypeName": "Input",
"Index": 22,
"Inov": 0,
"NIn": 0,
"NOut": 0,
"Desc": "PheroSense1",
"Value": 0.684868932,
"LastInput": 0.0,
"LastOutput": 0.0
},
{
"Type": 0,
"TypeName": "Input",
"Index": 23,
"Inov": 0,
"NIn": 0,
"NOut": 0,
"Desc": "PheroSense2",
"Value": 0.007016565,
"LastInput": 0.0,
"LastOutput": 0.0
},
{
"Type": 0,
"TypeName": "Input",
"Index": 24,
"Inov": 0,
"NIn": 0,
"NOut": 0,
"Desc": "PheroSense3",
"Value": 0.9613645,
"LastInput": 0.0,
"LastOutput": 0.0
},
{
"Type": 0,
"TypeName": "Input",
"Index": 25,
"Inov": 0,
"NIn": 0,
"NOut": 0,
"Desc": "Phero1Angle",
"Value": 0.213527724,
"LastInput": 0.0,
"LastOutput": 0.0
},
{
"Type": 0,
"TypeName": "Input",
"Index": 26,
"Inov": 0,
"NIn": 0,
"NOut": 1,
"Desc": "Phero2Angle",
"Value": 0.261803955,
"LastInput": 0.0,
"LastOutput": 0.0
},
{
"Type": 0,
"TypeName": "Input",
"Index": 27,
"Inov": 0,
"NIn": 0,
"NOut": 0,
"Desc": "Phero3Angle",
"Value": 0.0604784973,
"LastInput": 0.0,
"LastOutput": 0.0
},
{
"Type": 0,
"TypeName": "Input",
"Index": 28,
"Inov": 0,
"NIn": 0,
"NOut": 0,
"Desc": "InfectionRate",
"Value": 0.0,
"LastInput": 0.0,
"LastOutput": 0.0
},
{
"Type": 3,
"TypeName": "TanH",
"Index": 29,
"Inov": 0,
"NIn": 1,
"NOut": 0,
"Desc": "Accelerate",
"Value": 0.301272869,
"LastInput": 0.310918957,
"LastOutput": 0.301272869
},
{
"Type": 3,
"TypeName": "TanH",
"Index": 30,
"Inov": 0,
"NIn": 1,
"NOut": 0,
"Desc": "Rotate",
"Value": -0.0587875172,
"LastInput": -0.05885538,
"LastOutput": -0.0587875172
},
{
"Type": 3,
"TypeName": "TanH",
"Index": 31,
"Inov": 0,
"NIn": 1,
"NOut": 0,
"Desc": "Herding",
"Value": 0.73316747,
"LastInput": 0.9355424,
"LastOutput": 0.73316747
},
{
"Type": 1,
"TypeName": "Sigmoid",
"Index": 32,
"Inov": 0,
"NIn": 0,
"NOut": 0,
"Desc": "Want2Lay",
"Value": 0.5,
"LastInput": 0.0,
"LastOutput": 0.5
},
{
"Type": 1,
"TypeName": "Sigmoid",
"Index": 33,
"Inov": 0,
"NIn": 1,
"NOut": 0,
"Desc": "Want2Eat",
"Value": 0.48849985,
"LastInput": -0.06637647,
"LastOutput": 0.48849985
},
{
"Type": 1,
"TypeName": "Sigmoid",
"Index": 34,
"Inov": 0,
"NIn": 2,
"NOut": 0,
"Desc": "Want2Sex",
"Value": 0.299832851,
"LastInput": -1.2235409,
"LastOutput": 0.299832851
},
{
"Type": 3,
"TypeName": "TanH",
"Index": 35,
"Inov": 0,
"NIn": 0,
"NOut": 0,
"Desc": "Grab",
"Value": 0.0,
"LastInput": 0.0,
"LastOutput": 0.0
},
{
"Type": 1,
"TypeName": "Sigmoid",
"Index": 36,
"Inov": 0,
"NIn": 1,
"NOut": 0,
"Desc": "ClkReset",
"Value": 0.563097358,
"LastInput": 0.366072655,
"LastOutput": 0.563097358
},
{
"Type": 5,
"TypeName": "ReLu",
"Index": 37,
"Inov": 0,
"NIn": 0,
"NOut": 0,
"Desc": "PhereOut1",
"Value": 0.0,
"LastInput": 0.0,
"LastOutput": 0.0
},
{
"Type": 5,
"TypeName": "ReLu",
"Index": 38,
"Inov": 0,
"NIn": 0,
"NOut": 0,
"Desc": "PhereOut2",
"Value": 0.0,
"LastInput": 0.0,
"LastOutput": 0.0
},
{
"Type": 5,
"TypeName": "ReLu",
"Index": 39,
"Inov": 0,
"NIn": 0,
"NOut": 0,
"Desc": "PhereOut3",
"Value": 0.0,
"LastInput": 0.0,
"LastOutput": 0.0
},
{
"Type": 1,
"TypeName": "Sigmoid",
"Index": 40,
"Inov": 0,
"NIn": 2,
"NOut": 0,
"Desc": "Want2Grow",
"Value": 0.3841643,
"LastInput": -0.6808221,
"LastOutput": 0.3841643
},
{
"Type": 1,
"TypeName": "Sigmoid",
"Index": 41,
"Inov": 0,
"NIn": 1,
"NOut": 0,
"Desc": "Want2Heal",
"Value": 0.5,
"LastInput": 0.0,
"LastOutput": 0.5
},
{
"Type": 1,
"TypeName": "Sigmoid",
"Index": 42,
"Inov": 0,
"NIn": 0,
"NOut": 0,
"Desc": "Want2Attack",
"Value": 0.5,
"LastInput": 0.0,
"LastOutput": 0.5
},
{
"Type": 3,
"TypeName": "TanH",
"Index": 43,
"Inov": 0,
"NIn": 0,
"NOut": 0,
"Desc": "ImmuneSystem",
"Value": 0.0,
"LastInput": 0.0,
"LastOutput": 0.0
},
{
"Type": 7,
"TypeName": "Latch",
"Index": 44,
"Inov": 0,
"NIn": 1,
"NOut": 1,
"Desc": "Hidden0",
"Value": 0.0,
"LastInput": -0.0501924381,
"LastOutput": 0.0
},
{
"Type": 4,
"TypeName": "Sine",
"Index": 45,
"Inov": 0,
"NIn": 1,
"NOut": 1,
"Desc": "Hidden1",
"Value": 0.0393662937,
"LastInput": 0.0393764675,
"LastOutput": 0.0393662937
}
],
"Synapses": [{
"Inov": 0,
"NodeIn": 0,
"NodeOut": 29,
"Weight": 0.931091895,
"En": true
},
{
"Inov": 0,
"NodeIn": 11,
"NodeOut": 30,
"Weight": 0.75,
"En": true
},
{
"Inov": 0,
"NodeIn": 7,
"NodeOut": 31,
"Weight": 0.5,
"En": true
},
{
"Inov": 0,
"NodeIn": 18,
"NodeOut": 31,
"Weight": 1.75,
"En": true
},
{
"Inov": 0,
"NodeIn": 12,
"NodeOut": 31,
"Weight": -0.75,
"En": true
},
{
"Inov": 0,
"NodeIn": 20,
"NodeOut": 40,
"Weight": -0.627225339,
"En": true
},
{
"Inov": 0,
"NodeIn": 3,
"NodeOut": 40,
"Weight": 0.5297223,
"En": true
},
{
"Inov": 0,
"NodeIn": 11,
"NodeOut": 33,
"Weight": 0.955791354,
"En": true
},
{
"Inov": 0,
"NodeIn": 20,
"NodeOut": 34,
"Weight": -0.65435636,
"En": true
},
{
"Inov": 0,
"NodeIn": 26,
"NodeOut": 36,
"Weight": 1.39827013,
"En": true
},
{
"Inov": 0,
"NodeIn": 11,
"NodeOut": 45,
"Weight": -0.5670035,
"En": true
},
{
"Inov": 0,
"NodeIn": 16,
"NodeOut": 44,
"Weight": -0.07248044,
"En": true
},
{
"Inov": 0,
"NodeIn": 44,
"NodeOut": 41,
"Weight": 1.0,
"En": true
},
{
"Inov": 0,
"NodeIn": 45,
"NodeOut": 34,
"Weight": 1.0,
"En": true
}
]
},
"immuneSystem": {
"activeViruses": [],
"strainResistances": [],
"activationLevel": 0.0,
"perceivedInfectionLevel": 0.0
},
"version": "0.3.0"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment