Bots and Simulations > Interesting behaviour bots
Fractals using darwinbots.
bacillus:
The simplest solution would be to set maximum veggies to 2000 or something like that.
the two last fixpos genes cancel each other out. move the second to *.robage 16 = to stop this.
Plus, you're still operating on the values before they're on the stack eg. *.robage = 4 should be *.robage 4 =
Looks impressive, but functionally, I think version 1 was better (the motion kept snapping the ties).
How about a tree-like structure that grows straight for n iterations, then branches off?
peterb:
--- Quote from: bacillus ---The simplest solution would be to set maximum veggies to 2000 or something like that.
the two last fixpos genes cancel each other out. move the second to *.robage 16 = to stop this.
Plus, you're still operating on the values before they're on the stack eg. *.robage = 4 should be *.robage 4 =
Looks impressive, but functionally, I think version 1 was better (the motion kept snapping the ties).
How about a tree-like structure that grows straight for n iterations, then branches off?
--- End quote ---
your right it should have been
*.robage 4 =
I think still mostly in normal math.
The last 2 genes seam to cancel each out. But in fact they dont do in my enviroment, as I use an environment with no friction
In such environment it function likes a car's brake. In the end I dont wanted it to be completly pinned down at its location. so I put my feet of the break.
The tree questoin, well one could do intresting things.
Thats was also why I used memory location *971 (its in a memory area that gets copied to ciblings upon creation).
An extra gene, might for example be (not tested yet just typing it now)
--- Code: ---cond
*971 4 = ' not required just a limitation, so not all branches will grow new seeds
' perhaps different branches have different taks
' others eat / posion /fire energy or ... something else
*.nrg 3000 >
*.numties 1 = 'to only adress end branches
start
99 .repro
stop
--- End code ---
if you want to let the seeds flow in the water / or wind for a while before growing maybe add some extra code
A problem might be that I can potentialy grow quite fast...
For fun I yesterday I had added my 1 gene bot as a gene (not optimal, since it attacked itself too)
But with that gene it could eat (retrieve enrgy ans so it could replicate
But the resulting sim got overwhelmed and took lots of CP power.
Oh and a nother note the last plant I added also randomly rotated itself as Darwinbot randomly rotates new bots. (upside down trees /weeds)
It might be nice for plant (dough not required) to have them grow only upwards. It depends I gues how one sees the environment itself.
Maybe you have an idea why it doesnt work that wel as a veggy ?
d-EVO:
My avitar is an image of a bot I made that uses fractals.
It was also meant to asume a 10 sided shape but my hopes were to high so I made it a 6 sided 0ne.
Here is the bot. made one that moves in unison to but cant find it. only works some of the time
--- Code: ---'Ameoba
*.construction
cond
*.numties 0 =
*.robage 7 <
start
0 .timer store
stop
cond
*.robage 0 =
*.timer 5 <
start
83 *.timer 1 add 3 mult sub .repro store
stop
cond
*.robage 0 =
*.timer 6 <
start
425 .aimsx store
stop
cond
*.robage 1 =
*.timer 7 <
start
1 .tie store
stop
cond
*.multi 1 =
start
1 .tienum store
20 .stifftie store
100 .fixlen store
50 .sharenrg store
-836 .tieang store
stop
cond
*.eye5 0 =
*.myeye *.refeye = or
*.multi 1 =
start
*.veldx 10 <
5 .dx store
dropbool
1 .up store
*.timer 1256 mod %=
30 up store
dropbool
stop
end
--- End code ---
peterb:
Maybe such a spiralic fractalic shape shouldnt move but only rotate.
Dough it think that if they all would move forward in their eye direction it would also move.
Since the shape isnt a miror shape in which forces would cancel eachother out.
I'm not that good in ties, but if you know how to harden them, hard them and then then start spinning around.
I'm not sure what is the first or last bot, if the last one is the biggest, maybe let all who have onlx X connection (= outerwall) shoot around.
The structure as a whole would absorb the energy and using tie feeding you might be able to (if there is enough) to release the bigest particle and start all over.
It would be a benefit to be a multibot, shaped like this, as all outerwall bots protect the inner bots...
Well maybe this is al a bit complex dough..
d-EVO:
--- Quote from: peterb ---I'm not sure what is the first or last bot, if the last one is the biggest, maybe let all who have onlx X connection (= outerwall) shoot around.
The structure as a whole would absorb the energy and using tie feeding you might be able to (if there is enough) to release the bigest particle and start all over.
It would be a benefit to be a multibot, shaped like this, as all outerwall bots protect the inner bots...
Well maybe this is al a bit complex dough..
--- End quote ---
sorry, accidental double post
had a bit of browser trouble. fixed now
This is the small one. think I just saved the pic and edited the bot.
Dont think it would be very finctional in that shape even if you could controll all the movements
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version