Organism seed number

We like few-celled organisms, not bugs!
Post Reply
Wilcz
Posts: 61
Joined: Mon May 14, 2018 11:17 am

Organism seed number

Post by Wilcz » Tue May 15, 2018 9:59 pm

I don't really know much about programming but what would be nice is a seed (like in Minecraft) that is generated as the organism is created so instead of downloading you could just punch in a couple of letters and numbers to load the organism in.
User avatar
Seandoggy
Posts: 116
Joined: Mon Feb 12, 2018 8:38 pm
Location: North of the south pole, south of the north pole. Certainly on earth for all of 2000-2017.

Re: Organism seed number

Post by Seandoggy » Wed May 16, 2018 11:21 am

Ah. PRNGs. Totally useless in this case. But codes? Possible. You know, seeds are used for Pseudo-Random Number Generators. (PRNG). Seeds go IN, not OUT. Don't call it a seed, and I, a humble programmer, will be happy. Also, those codes might be long. It's not 10, or 20 values.
Seandoggy has <3 Cell Lab for 2 years, now (o)
Wilcz
Posts: 61
Joined: Mon May 14, 2018 11:17 am

Re: Organism seed number

Post by Wilcz » Thu May 17, 2018 4:47 pm

Seandoggy wrote:
Wed May 16, 2018 11:21 am
Ah. PRNGs. Totally useless in this case. But codes? Possible. You know, seeds are used for Pseudo-Random Number Generators. (PRNG). Seeds go IN, not OUT. Don't call it a seed, and I, a humble programmer, will be happy. Also, those codes might be long. It's not 10, or 20 values.
Yeah sorry about that. I'm not a programmer and English isn't even my first language so I don't really know the terminology.
User avatar
ElNico5
Posts: 81
Joined: Wed May 11, 2016 10:05 pm

Re: Organism seed number

Post by ElNico5 » Sat May 26, 2018 3:47 pm

I did this sample code a long time ago that might work as a copyable genome sharing

Code: Select all

{
   "type": "genome",
   "mame": "default",
   "initial": 1,
   "unused_modes": "default",
   "modes": {
      "mode_1": {
         "type": "cl:pg",       
         "adhesin": false,
         "prioritize": true,
         "child1": {
            "mode": 1,
            "keep": true,
            "mirror": false,
      	      "angle": 0
         },
         "child2": {
            "mode": 1,
            "keep": true,
            "mirror": false,
            "angle": 0       
         },
         "split_mass": 2.54,
         "split_ratio": "50_50",
         "nutrient_priority": 1,
         "split_angle": 0,
         "color": "#000000",
         "adhesin_stiffness": 0,
         "cytoskeleton": 1,
         "adhesin_length": 0,
         "max_conections": 20
      }
   }
}
Pd: if you dont know programing its writen in JSON
Writing from a small house in Agmalarkiia
Post Reply