[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/sci/ - Science & Math


View post   

File: 45 KB, 866x519, 1295896471608.jpg [View same] [iqdb] [saucenao] [google]
2405543 No.2405543 [Reply] [Original]

/sci/ i bring you a gift from /v/

http://megaswf.com/serve/102223/

Description: Genetic Algorithm used to build a car with the Box2D physics library. The colors show the crossover and mutation for each member of the population.

>> No.2405554

how to play?

>> No.2405556
File: 30 KB, 844x510, Duck.png [View same] [iqdb] [saucenao] [google]
2405556

Hint: Start with a high mutation rate, once you hit a high score (say 250) decrease your mutation rate and leave it running for a 48hours.

>> No.2405565

>>2405554
the only thing you can change, is the mutation rate, thats the beauty of evolution.

after 20 children, the simulation will start the next generation

>> No.2405585

This is awesome. Thanks, OP.

>> No.2405588

wtf, i still don't get the point of this.

>> No.2405591

/v/ has a bigger thread running right now, but most of their models experience retardation

>> No.2405599

all this does is spawn some random shit and reset 1 second after

what the fuck are you supposed to do?

>> No.2405603

what does mutation rate control, randomness in new spawns?

>> No.2405610

>>2405599
i don't know exactly how it works, but it looks for the models with the highest scores and takes their traits (shapes of the parts) to the next generation.

after 5 or 6 generations, you should see a vast improvement in their score

>> No.2405619

>>2405603
This is /sci/, you guys should understand basic evolution

>> No.2405622

This was originally from reddit. Hopefully the guy tinkers with it like he claims he will.

http://www.reddit.com/r/programming/comments/f6g98/genetic_algorithm_car_physics/c1dmm1h

>> No.2405623

<span class="math"> \Sigma [\math][/spoiler]

>> No.2405626

>>2405619
>This is /sci/, you guys should understand basic selection
minor fix'd

>> No.2405652

heres another similar game:

http://www.kongregate.com/games/BryceSummer/walkinator

>> No.2405656

Rate of 20 %, they keep dying around th 200 mark for 10 generations now (best case, that is). Hmpf.

>> No.2405665

>>>/b/304446026

>> No.2405697
File: 29 KB, 861x482, Genetic Algorithm used to build a car with the Box2D physics library. The colors show the crossover and mutation for each member of the population._1295901134208.png [View same] [iqdb] [saucenao] [google]
2405697

Autism Powered Cars

>> No.2405704
File: 19 KB, 815x511, Genetic Algorithm used to build a car with the Box2D physics library. The colors show the crossover and mutation for each member of the population._1295901309618.png [View same] [iqdb] [saucenao] [google]
2405704

NOPE

>> No.2405740

I just had one that went to 150 and kept going, but it reset anyways.

What, did it get sick or something?

>> No.2405751
File: 39 KB, 1014x640, walkinator.png [View same] [iqdb] [saucenao] [google]
2405751

>>2405652
this is awesome
don't like the >inteligent design
part though

>> No.2405757

>>2405656

I've let this thing run for up to 40 generations and you'll find that there are sections of the map that are simply too difficult for any car. Maybe they have to go hundreds of generations before a few cars get lucky enough to get past a really difficult part of the map so that their traits can be passed down, and that section won't be so difficult anymore, but it's unlikely.

>> No.2405792

>>2405757
An automotive 'bottleneck'!

>> No.2405794

>>2405740

The cars reset when they've gone twice the distance of the previous generation.

>> No.2405797

Small front wheel and big back wheel works great with me, with a triangle shaped block in the middle.
I've only been up to 209 yet because it bounces too much at that hard part...

>> No.2405801

I had a unicycle (other wheel was being useless) run for over 100

>> No.2405802

I keep getting lots of great designs that fail because the wheels are on the top instead of the bottom.

WTF evolution?

>> No.2405810

All my good cars now have a vestigial sail thing because of one in the 3rd gen that did well. I guess what I'm trying to say is that Eugenics is a good idea.

>> No.2405815
File: 30 KB, 386x248, Untitled-2.jpg [View same] [iqdb] [saucenao] [google]
2405815

pic related, its my best shape after 19 generations

>> No.2405819
File: 271 KB, 1280x1024, 1285628429504.jpg [View same] [iqdb] [saucenao] [google]
2405819

Aww yeah, getting the good designs now.

>> No.2405825

20 %, generation 32, still crashing on the 200 spike. :c

>> No.2405869 [DELETED] 
File: 227 KB, 1440x900, Pantallazo.png [View same] [iqdb] [saucenao] [google]
2405869

behold

>> No.2405873
File: 31 KB, 322x252, Untitled-4.jpg [View same] [iqdb] [saucenao] [google]
2405873

I call this one:

The unicorn

>> No.2405876

>>2405869
>aplicaciones

The fuck are you, spanish?

>> No.2405880

>cars slowly improving gen 12, half of them getting to 200, one or two getting over every gen
>me: fuck this is going too slow
>bump up mutations to 20%
>suddenly, Autism, Autism everywhere

>> No.2405882

>>2405876
No, i'm learning it. I'm french.

>> No.2405885

>>2405810

It's really interesting to see what comes along generation to generation. Many times you'll see things appearing in Generation 1 that carry on to generation 20, and simply don't have much of an effect on the effectiveness of the car, like an appendix or tail bone in a human.

>> No.2405891

this simulation is stupid. it throws out a perfectly viable design because it goes so fast as to catch air...

>> No.2405894

>>2405885
>it is an important attachment for various muscles, tendons and ligaments — which makes it necessary for physicians and patients to pay special attention to these attachments when considering surgical removal of the coccyx.[2] Additionally, it is also part of the weight-bearing tripod structure which act as a support for a sitting person. When a person sits leaning forward, the ischial tuberosities and inferior rami of the ischium take most of the weight, but as the sitting person leans backward, more weight is transferred to the coccyx.[2]

Tailbone isn't vestigial. I hate this myth.

>> No.2405902

>>2405891
nature's a bitch

>> No.2405904

>>2405891
It throws it out because it doesn't function well in its environment.

Natural selection doesn't look at something and say "This design is good, let's keep it." It destroys every design that isn't capable of surviving. If the design fucks up, it dies. Catching air is fucking up, no matter how "good" it might be otherwise.

>> No.2405910

>>2405891
>Choose to run simulation that selects for models that don't leave the ground.
>This simulation is stupid because it selects for models that don't leave the ground.

>> No.2405911

>>2405902
Bitch needs to get laid. Can't we like get brother Moon to give her a good fucking?

>> No.2405914

all my designs head towards "superbike with wheelie bar" but theres a bump at 203 that nothing seems to be able to get past

>> No.2405915

>>2405894
Same with the appendix, it functions as a reservoir for symbiotic and commensal microorganisms so that the intestines can be recolonized after the lining is flushed during diarrhea.

>> No.2405916

>>2405911
father time you mean

>> No.2405922

What does the number in the paranthesis mean?

>> No.2405934

It's tough to watch when one that you know would be a lean mean rape machine is born on its head. Such is life.

>> No.2405943

>>2405934

youd think that would be the first lesson that the program learned.. no wheels on the ground = no go

>> No.2405947

Protip: Run multiple instances of the simulation in different tabs.

>> No.2405949

So what does tinkering with mutation rate do?

>> No.2405955

>>2405943
The program isn't "learning". Does everything that reproduces have two wheels on the ground? Looks like selection pressures already favor two wheels on the ground, derpy.

>> No.2405960

>>2405949
It changes the rate of mutation. Are you dim?

>> No.2405967

>>2405891
There could be selection against species that leave the ground. Nature operates in weird ways. An animal that runs so fast that it's able to get airborne could subsequently get predated upon by birds.

>> No.2405969

woo! 230.2

>> No.2405975

>>2405934

I legitimately lol'd

+1 internets to you

>> No.2405978

Why does a child keep resetting?

>> No.2405994
File: 30 KB, 280x248, Untitled-5.jpg [View same] [iqdb] [saucenao] [google]
2405994

This one has been unusually successful for me as of late

>> No.2406016

Yeah, it's also frustrating when a good design that you think might be able to get 210+ just happens to get flipped while one that goes slow and steady but will never pass 196 gets to breed.

>> No.2406020
File: 212 KB, 1280x800, car.png [View same] [iqdb] [saucenao] [google]
2406020

You guys have to keep mutation rate low or else you'll get retards. Look at what it did in only 7 generations.

>> No.2406043

>>2406020

>You guys have to keep mutation rate low or else you'll get retards.

FUKKEN LOLD

>> No.2406047

>>2406020
You tell me how to play when you get 200+

>> No.2406051

I get the feeling like the "game" lacks of any selection algorithm killing bad cars.

>> No.2406052

>>2406047
>355.1

>> No.2406054

>>2406043
brb. Have some sister spanking to do.

>> No.2406057

>>2406051
Successful cars as judged by their score get to breed and pass along their traits including wheel size, suspension angle and geometry. Then the game randomizes some of the variables depending on mutation rate and produces the next gen. So your feeling is wrong.

>> No.2406058

>>2406051

its just like nature, it will let the retards live a short, painful life.

>> No.2406061

>>2406047
It got stuck on one hard place, I increased it to 10%. But I've seen some improvement in few cars in last generation. I think they will solve it in 3 generations.

>> No.2406068

>>2406052
That's not max score, that's the score where the game will declare the car "successful" and stop it running

>> No.2406070

Thanks for the gift, op. I shall give you a gift in return:
http://www.youtube.com/watch?v=mcAq9bmCeR0
He pretty much gives a summarization of his program that mutates watch parts to form a functional watch and includes timelines of the watch species.

>> No.2406073

Oh god, all my cars are complete derps.

>> No.2406081

The part that pisses me off the most is when you have a badass car and it gets to a fukken steep hill and dies.

>> No.2406106

>>2406081
Kinda makes you scream DAMN YOU, EVOLUTION! doesn't it?

>> No.2406108

wow
mfw alsost 400 on gen 8
havent been past 200 since

>> No.2406115
File: 29 KB, 887x504, uh.jpg [View same] [iqdb] [saucenao] [google]
2406115

I went eating after I was around ~290.

>> No.2406125
File: 31 KB, 860x514, uh2.jpg [View same] [iqdb] [saucenao] [google]
2406125

>>2406115
That's actually the one.
I've seen her mama do 229 just before.

>> No.2406134
File: 28 KB, 452x274, Untitled-6.jpg [View same] [iqdb] [saucenao] [google]
2406134

ALL HAIL THE DERPMOBILE

actually went 13 lol

>> No.2406136

>>2406125
Damn that one did 225.
I'll never see the 400 one.

>> No.2406137

It's very hard for it to get very far past 219.
The best that I have had so far made it to 250 or so.

>> No.2406145

Just so you know

>To keep the fitness scores for each round fairly close, there is a target score in parenthesis that is 2 times the previous rounds max score. Once any car reaches that point it wins that round and we move on.

>A car is considered stalled when its linear velocity is below a certain threshold in both the x and y direction (after a grace period at the beginning).

>> No.2406149
File: 30 KB, 340x248, Untitled-7.jpg [View same] [iqdb] [saucenao] [google]
2406149

Guys, starfox is in this game!

>> No.2406159

All of my cars turn either into derpcars with a spike pointing in front of them, getting stuck when falling forward, or with a spike in the back, getting stuck when falling backwards.

Fucking evolution, how does it work?

>> No.2406160
File: 23 KB, 232x172, Untitled-8.jpg [View same] [iqdb] [saucenao] [google]
2406160

Tails are an evolutionary advantage.

They keep you from doing backflips

>> No.2406172

>>2406057
Nah, Im observing this since about an hour now but it doesn't seem to clone the good models with slight alterations. It rather looks like it tries out 20 different species and let every single mutate.

>> No.2406173
File: 23 KB, 842x495, herp.jpg [View same] [iqdb] [saucenao] [google]
2406173

That one is good until it finished on the back...
Needs a tail?

>> No.2406175
File: 20 KB, 835x374, vrooombird.png [View same] [iqdb] [saucenao] [google]
2406175

It sort of looks like a bird on wheels.
And the hind wheel is retardedly small and constantly glitches through the scenery. I hope that gets evolution'd out soon.

>> No.2406176

fffuuu I smell skynet

>> No.2406186

>>2406160
you lucky faggot
all my sons have big heads and tiny bodies.
Bitches die in every hill.

>> No.2406188

I don't get this game. All my cars do is land on their backs and get 0.

>> No.2406193

>>2406188
they got your genes
what do you expect

>> No.2406196
File: 6 KB, 329x177, lakitubike.jpg [View same] [iqdb] [saucenao] [google]
2406196

Many of mine are developing tails to keep them from tipping over backward. It's pretty awesome.

>> No.2406230
File: 8 KB, 337x209, bigwheels.jpg [View same] [iqdb] [saucenao] [google]
2406230

My tails seem to evolved away... they're mostly vestigial now, though useful for balance. Big wheels become more important around 300-400.

>> No.2406256
File: 236 KB, 3600x1080, 1percent mutation.jpg [View same] [iqdb] [saucenao] [google]
2406256

just like real mutation and adaptation, keep it low, and you get good results.

i've been running one at 1% mutation, and have already hit 400 by generation 17

1% is good because the good stuff stays and the garbage is decreased.

>> No.2406264

i bread 3 designs that are pretty constant

>> No.2406270
File: 40 KB, 1110x515, my cars.jpg [View same] [iqdb] [saucenao] [google]
2406270

>>2406264
forgot pic

>> No.2406282

I seem to be getting alot of long nosed cars.

What's this game called?

>> No.2406284

>>2406282
World of Warcraft

>> No.2406295
File: 17 KB, 302x265, long nose.jpg [View same] [iqdb] [saucenao] [google]
2406295

>>2406282
even more so now than this pic, they are also mostly teal coloured

>> No.2406326

>>2406282
>>2406295
they're called cow catchers, and provide a very important evolutionary role for cars.

>> No.2406354

I ran it for the first time for 20 generations, and it gave me an awesome buggy like vehicle that ALWAYS went further than 100, and it seemed to be optimal for coming generations.

Then I closed it, now running another it only evolves into shitty matchbox cars that wouldn't pass the first hump

>> No.2406380

i took this after the car had already been on its back 4 times
most of them have some sort of self righting mechanism

>> No.2406384
File: 29 KB, 829x493, bump.png [View same] [iqdb] [saucenao] [google]
2406384

You know those annoying ass bumps in the track that catch the bottom of your car?

Me Neither!

>> No.2406390

>>2406354
give it time, and a slow mutation rate.

i'm telling you, from what i can tell, 1% is perfect. thinking about going to 0 to see what happens.

>> No.2406427

>>2406390
self righting is good, they just dont die

>> No.2406472

This is the first thing I'll open when getting on a PC, for ever.

>> No.2406475

>>2406472
forever?
forever ever? ever ever?

>> No.2406495
File: 19 KB, 300x309, Rage1.png [View same] [iqdb] [saucenao] [google]
2406495

>mfw a perfectly good car fails because it starts out upside down

>> No.2406505

if you want to keep the good cars from a generation, keep a low rate.
If they all fail in some part of the way, increase the rate so they can evolve and develop some shit like a tail or big wheels.
That's pretty much it

>> No.2406543
File: 23 KB, 500x385, 1057397179.jpg [View same] [iqdb] [saucenao] [google]
2406543

#10 : 27.7

>> No.2406547

>>2406543
which generation?

>> No.2406579

Jesus, this is retarded. I mean, I don't see what's going on. The scoring is not based on distance; it's based on time. The cars don't interact; there's no sexual reproduction, just randomizing each individual. That comes out to the same as running one individual at a time, 20 times. Boring, and stupid, and expensive, and not powerful enough to get a good car fast. I'm going to figure out the basic idea and then I'm going to make a better one.

>> No.2406596
File: 63 KB, 813x502, ScreenShot003.jpg [View same] [iqdb] [saucenao] [google]
2406596

almost all of my get into 100s. But almost all of them have low body types and get stuck on spikes. cmooooon evolve faster loooool.

>> No.2406601

>>2406579
car porn on /sci/ ?

>> No.2406606

>>2406596
>evolve faster
>mutation rate 1%

>> No.2406612

>>2406579
>scoring is not based on distance; it's based on time.
you wrong

but the rest, yeah, this shit is pretty boring. I hope you can improve it for good

>> No.2406615

if you find a good design set the mutation rate lower, if you keep getting shit designs put it high, then repeat.

>> No.2406620

>>2406606

lol i'm scared, I brought my mutation up to 4 % at gen 15 or something and it all fucked up, and I am now getting back to where I was before.

>> No.2406621
File: 29 KB, 871x513, peengie.png [View same] [iqdb] [saucenao] [google]
2406621

Well this was interesting. After about 2 generations everything was fish like. Several distinct styles showed up and would repeat many times:

"Longjaw"s had a longer lower lip that would weigh the front of the vehicle down, preventing it from going to far airborne. They were good initially and had a decent success up until a hill around 50-70, where the jaw would dig into the incline and stop them immediately. They still exist but are slowly getting phased out by gen 8.

"Big belly": These showed up around gen 2, and have a belly just protruding enough to scrape the ground. It keeps the vehicle stable and slow-going (far from reckless). They were initially successful for the same reason as the longjaw, but would get phased out by gen 5 because they would slow down too quickly to compete.

"Balanced": The original was actually in gen 1, and would serve as the father of most of the other "species" described above. They were mildly successful first, but would run off some bumps and get airborne, and lose. But after some additional balancing they were the best from gen 4-6.

"Bigjaw": These showed up around gen 4, but wouldn't become apparent until gen 6. One big jaw would get the highest score in gen 6, 7, and 8. The jaw serves a similar purpose as the longjaw, but the Bigjaw does not dig into inclines. This additional balance allows it to pass over a specific hill balanced-fish would fly off of.


Well, this was fun.

>> No.2406644

>>2406579
i agree to a point
i think it can't decide whether it wants to be a vis of an algorithm or a game
a better twist to the game would be that you can control the cars motion
a better algorithm would take variants on the top scoring of all of the previous cars

>> No.2406659

Why does it spontaneously make a new car even if the previous one was doing perfectly good?

>> No.2406678

>>2406659

cause your thing has % mutation set to a big number???
If you have a particular car that's doing great than just turn down the % mutation to ummm below 5%....to avoid any major change.

>> No.2406682

>>2406659

SEE THE SCORE IN PARENTHESIS? THAT'S 2X THE PREVIOUS SCORE'S HIGHEST ROUND, ANY CAR THAT BEATS THAT SCORE AUTOMATICALLY "WINS".

>> No.2406685

>>2406659
it's only 3%

>> No.2406705

>>2406685

ya it doesn't take alot to fuck up the car. I just had one that went to 220, and now gets stuck at 160. and I am at 1%

>> No.2406732

I like to think that cars which spawn upside down are just failed pregnancies or aborted fetuses. Makes me warm inside.

>> No.2406741

i have the extremely old version of this, like theres no colour...

and whenever a reasonably good functioning car
staggers and stalls for a second it resets it :(

>> No.2406817

>mfw after 50 generations, 40 is the furthest I get because whenever a promising candidate shows up, the next iteration gets a sharp keel which prevents it from moving

I think this is my computer's way of flipping me off.

>> No.2406863

1.Download swf
2.Open in flash player
3.Use memory hax to speed up program
4.???
5.profit!

>> No.2406874
File: 27 KB, 596x523, standard.jpg [View same] [iqdb] [saucenao] [google]
2406874

it converged on a design, since gen ten its been the same- see graph

>> No.2406878

>>2406659
Because it got more than twice the distance than the previous generations best car (The number in the brackets)

>> No.2406885

Team 1 (1% M.R.): Gen 12, (193.1)
Team 2 (10% M.R.): Gen 7, (390.2)
Team 3 (20%): Gen 12, (192.5)
Team 4 (35%) Gen 14 (246)

C.: 10% M.rate is the perfect rate.
But i have to say, it also depends on the enviroment. Some paths have really tough starts.

>> No.2406904
File: 5 KB, 155x143, hahatomcruise.jpg [View same] [iqdb] [saucenao] [google]
2406904

>>2406817
>mfw nature doesn't care how far your car goes

>> No.2406931

one of my paths has the mountanous steep hill that i don't think any car can get past
what does evolution do now?

>> No.2406945

>>2406885
T1 (1%) : Gen 15 (404.1)
T2 (10%) Gen 11 (372.1)
T3 (20%) Gen 17 (365.1)
T4 (35%) Gen 25 (241.5)
So far, Team 1 went up really fast, but it's 3 gen ahead of T2, hence why it's not the best yet .
Team 2 is still the best choice, though it's slower than T1.

>> No.2406963

Something to keep in mind is that generation number does not correlate to time. Theoretically, I could be on gen 2 for 24 hours or could get to gen 50 in 24 hours, since "generations" are successful round completions. Also keep in mind that each trial is a mutation on the car that won the previous stage, not on the car from the previous trial within the current stage.

High rate of mutation = greater variance in each design = greater difference in each trial. Favors punctuated equilibrium, where success or failure are somewhat "random", but should theoretically get past stages faster.

Low rate of mutation = less variance in design = less difference in each trial. Favors smooth gradual evolution. Each trial should score close to the same, but it should take longer to complete each stage, since a low rate of mutation means it will take lopnger to adapt to new terrain (selection pressures).

>> No.2406977

>>2406931
Set the Rate to a higher number (40-60) until a good car make it. Then decrease it to 1-10 % and wait until that car spread its superiority among its childrens

>> No.2406982

>>2406863

GOT A LINK FOR THE LAZY AMONG US?

>> No.2406992

>>2406963
You're right. Look
>>2406945
All of those started at the same time. The highest rates may not be as succesfull, but they are faster.

>> No.2406994

shouldn't the number of wheels be a random variable?

>> No.2407004

>>2406982
http://www.mediafire.com/?mumpeqckcf9yt1c

get a flash player if you can't reproduce it

>> No.2407018

>>2407004

WORKS WONDERFULLY. DELICIOUS.

>> No.2407029

>>2406994
That would fuck everything up.

>> No.2407041

I've seen several designs (with the mutation on 100%) that managed to do a full backflip and continue. Also one that had tiny-ass wheels on stilt-like legs that got pretty far.

Does anyone have the link to the one where you design the car and try to make it go over a similar course?

>> No.2407051
File: 198 KB, 750x431, Penny-Arcade-Weather.jpg [View same] [iqdb] [saucenao] [google]
2407051

Kinda reminds me of this.

>> No.2407054

>>2406945
T1 (1%) G 18 (282)
T2 (10%) G 16 (390.8)
T3 (20%) G 25 (220.1)
T4 (35%) G 42 (62.2)
Without administration, shit get fucked up.
Team 4 is the proof that a high rate requires more monitoring.
Team 2 is still the best.

>> No.2407056

>>2407041

http://www.kongregate.com/games/BryceSummer/walkinator

>> No.2407065

>mfw when this thread is still alive, and /v/'s died hours ago
>mfw i have no face

>> No.2407093

>>2407054
Only if you're defining "best" as "traveled farthest distance" rather than "most generations" or "most generations in a unit of time"

>> No.2407097

>>2407056
No, it's one with a car, not a stick-thing.

>> No.2407103
File: 407 KB, 200x120, hahaohwowemmawatson.gif [View same] [iqdb] [saucenao] [google]
2407103

>>2407093
>he actually thinks most generations per unit time is something good

>> No.2407104
File: 23 KB, 561x548, untitled1.jpg [View same] [iqdb] [saucenao] [google]
2407104

so as you can see for the first 16 or so generations i was stuck with some piece of crap variation of this. granted i am running with only 5% mutation. even if the design "tips over" to the front, the green/pink spike at the front usually stalls it out.

>> No.2407109

>>2407065
threads survive on /sci/ for a long time.

thinking throws most people off this board.

>> No.2407110
File: 131 KB, 500x333, 3368425688_49d0b8cf0c.jpg [View same] [iqdb] [saucenao] [google]
2407110

>>2407103
>He thinks this is a "game" with predefined goals and "winners".

>> No.2407113
File: 22 KB, 566x542, untitled2.jpg [View same] [iqdb] [saucenao] [google]
2407113

>>2407104
then all of a sudden, this godsend comes along and blows everyone away. you can see the huge spike in the red graph. the green/pink part on the front of the design is still troublesome on certain individuals, but huge improvements have been made.

>> No.2407118

>>2407103
So, by your logic, an elephant, with a single generation per unit of time, is somehow better than a fruit fly, with 10^largenumber generations per unit of time?

>> No.2407124
File: 21 KB, 570x548, untitled3.jpg [View same] [iqdb] [saucenao] [google]
2407124

>>2407113
then i just got this, which was amazing. it almost failed hard at the very beginning though, because it basically spawned with the front wheel pointing straight up in the air. it almost stalled out but then the car tipped over so both wheels were on the ground and then it was perfect.

>> No.2407127

>>2407118
No, what he's saying is that longer lived individuals are somehow better than shorter lived ones, which is equally stupid.

>> No.2407141

(same as)>>2407118
Actually, I would say that having more generations (in THIS simulation, at least), is more a measure of success than longest distance traveled. More generations = more doubling of distance in the same amount of time. I would say that the goal is to double distance, not to travel for an arbitrarily "long" distance.

>> No.2407181

>>2407141
generations over time in this simulation implies that the faster a generation is created, the less time each generation lasted.

suppose you could get generation 20 to average the longest distance you could travel in the time allotted.

this would be the most efficient you could get, akin to extending an individual's life span to its furthest possible extent.

in which case, generations should last longer and longer during the "refinement", and should then have some general generation time length in duration, between generations.

at that point, due to the arbitrary time constraint of this simulation, "negative" effects should eventually decrease the generation length and the efficiency of each individual.

this sim is alright, but kinda meh, to be honest.

>> No.2407187
File: 28 KB, 360x288, Screen shot 2011-01-24 at 7.31.46 PM.png [View same] [iqdb] [saucenao] [google]
2407187

This part fucks my cars up every single time

>> No.2407197

Whoever said to start with 100% mutation is probably a dumbass. I opened two windows, set one to 100% and one to 0. The 100% never got past 20, not even once. The 0% group is doing better than the original group I started when I first saw the thread.

>> No.2407211

>>2407187
same

>> No.2407212

>>2405697
I choked laughing when I read that.

For some reason saying something is "powered by autism" makes me lol pretty hard.

>> No.2407215

>>2407197
lower the rate, the more likely it is to retain the good things. starts out slow, but ultimately each generation has better and better average times.

>> No.2407233
File: 86 KB, 814x512, carwin.jpg [View same] [iqdb] [saucenao] [google]
2407233

I'm preety happy with my results given the generation. I played to gen 40, but gave up and started again.

144 point kills most of my cars...

I never got past to 220.

Please notice the multiple pun in the filename

>> No.2407241

>>2407233
not to be a ball buster, but 223 was your best

>> No.2407248
File: 93 KB, 331x424, chirifacepalm.jpg [View same] [iqdb] [saucenao] [google]
2407248

>mfw when one part of the course has a bunch of spikes that requires large wheels to pass, followed by a steep hill that requires small wheels for enough acceleration to make it up

It would be interesting to see whether there is an optimal mutation rate such that the carts converge the fastest on the highest possible score

>> No.2407256

>>2407241
I meant more or less. Geez /sci/...

220 is this shit:
>>2407187

>> No.2407271

Uh, can someone explain how this thing works?

>> No.2407277
File: 281 KB, 1920x1080, Screenshot-3.png [View same] [iqdb] [saucenao] [google]
2407277

What's interesting is the features that have evolved on my cars. Most of them have a front horn and a rear backbrace (I've noticed that cars with these tend to flip over backwards less)

>> No.2407282

The simulation is only running in the tab or window I have selected.
Must be a Firefox thing.

>> No.2407288

>>2407282
think its a flash thing, actually

>> No.2407291

The wheels on the bus go derp derp derp....

My genes must be retarded. Haven't seen a score above 26.
I'm on generation 13. Feels bad man.

>> No.2407292

>>2407271
read the thread

>> No.2407296

I think the horns tend to evolve because they're an easy way to adjust the center of gravity without changing the length of the car.

>> No.2407297

5% mutation rate is the way to go

>> No.2407322
File: 36 KB, 791x497, cart.png [View same] [iqdb] [saucenao] [google]
2407322

First cart to beat my 158 hump, then proceeds to run into an insurmountable slope.

>> No.2407328

>>2407248
that's why there should be 3 wheels

>> No.2407330

>>2407248
>>2407233 here

There is a slope where most of my cars climb really slowly but without stopping and they resist spikes just fine. I got past the 220 mark now, I'm at 240. I seriously believe you can just keep going and going...

>> No.2407340

>generation 49732
>Porsche 911 design appears

It doesn't prove the theory of evolution (as it is currently proposed) to be true. NOT religiousfag.

>> No.2407350

>>2407282
download the flash

>> No.2407353
File: 95 KB, 1424x729, generation 6 over 200.jpg [View same] [iqdb] [saucenao] [google]
2407353

>>2407322
you guys should try lower mutations.

every time i do 1%, by generation 6-7, i'm already hitting 200+ for a distance. and hitting that huge 220-ish distance hill.

>> No.2407363

im getting 150-200ses now, but i still have a third of my cars doing 0-10. looking at other people's everything is much more average. what am i donig wrong?

>> No.2407372

What does the red line represent?

>> No.2407376

>>2407363
only thing you control is mutation rate.

what is your mutation rate?

>> No.2407388
File: 6 KB, 200x150, ripley.jpg [View same] [iqdb] [saucenao] [google]
2407388

Going to bed now and I'm leaving 4 sims running.
I'm breaking out the flamethrower tomorrow morning to put all of these abominations out of their misery.

>> No.2407394

>>2407372
it's a graph of how well you're car generations are doing over time, the steeper it goes up, the better you're car's doing

>> No.2407431

>>2407372
>>2407394
How about the black one? Just a weighted trendline or something?

>> No.2407433

>>2407330
I don't think so. If you treat each part of a course as a filter that allows only some range of length/wheelsize/etc to pass through and throw in an infinite amount of random filters, you're going to be filtering out everything you can toss at it.

>> No.2407449

Also,I've found that using a low mutation rate tends you lock you into your current strategy. If you hit a plateau you can't get past, then that means your current strategy probably isn't working and should consider upping the mutation rate.

>> No.2407453

>>2407372
I'm guessing the red graph represents the highest scores for each generation.

>> No.2407454

>>2407431
maybe the red is your best cars, and black all your degenerates. I don't really know

>> No.2407459

Guys, this is easy if you actually use the mutation rate as a tool.

High mutation: Shit will either go really right, or really wrong.
Low mutation: Shit will likely stay the same.

Start off with a high mutation rate, then every generation lower it by a regular increment. Once you get to around ten percent mutation, watch what happens during each generation. Do you like what happened that generation? Lower your mutation rate. Do you not like what happened that generation? Increase your mutation rate. Also, running multiple instances like a previous anon advised is smart, so you get a feel for good stuff and bad stuff.

/ramble

>> No.2407467
File: 31 KB, 850x500, donkey.png [View same] [iqdb] [saucenao] [google]
2407467

>>2407340
mine's getting there

>> No.2407484

>>2407454
put your cursor over the tab of the webpage, it explains what the graphs show

"colors show the crossover and mutation for each member of the population"

>> No.2407492

>>2407459
I was doing fine, but I raised my mutation rate and it all went to shit.

I say keep it 1% and continue to play. I can't believe I'm watching this shit for so long now..

>> No.2407494
File: 282 KB, 1920x1080, Screenshot-4.png [View same] [iqdb] [saucenao] [google]
2407494

>>2407454
I think red is highest, and black is average. For shiggles, I raised the mutation rate up to 20% for a few generations, then back down to 3%. You can see the results on my graph.

>> No.2407527

open this site while watching your cars fail for cheap lulz.

http://encyclopediadramatica.com/Derp

>> No.2407549

>>2407233
Here.

In 3 generations I'm much better now, most of my cars can get past the 144 mark and I'm stuck in the Himalaias at 240. But it will get past that one day. KEEP IT LOW, 1% ONLY.

>> No.2407557
File: 87 KB, 814x512, carwin.jpg [View same] [iqdb] [saucenao] [google]
2407557

>>2407549
forgot my cap

>> No.2407565

I've spent the last 4 hours on this and i needed to write a paper for english today. goddamnit /v/ and /sci/

>> No.2407605

>>2407565
Yeah. It's the fucking powder toy thing all over again.

>> No.2407636

So guys, what're your highest scores so far?

>> No.2407649

>>2407636
i'm pretty much stuck at the 350 point barrier

>> No.2407664
File: 19 KB, 395x476, Autism.png [View same] [iqdb] [saucenao] [google]
2407664

>>2407636
That's all dependent on the terrain. The one I'm currently running is capped at 250 because of rough terrain right before a steep slope.

>> No.2407667

Running 3 tabs of that 1%, 3% and 5%
1% max score 220.
3% max score 165.
5% max score 152.
Last time I ran both 1 and 5 and five won, we'll see how it goes.

>> No.2407680
File: 40 KB, 821x516, inbreds.png [View same] [iqdb] [saucenao] [google]
2407680

550 here most of them developed a horn because they are a bunch of inbreds (3% mutation rate for 10 generations)

>> No.2407708
File: 34 KB, 814x500, dontreadthis.png [View same] [iqdb] [saucenao] [google]
2407708

apparently upside down hydraulics are a superior gene

>> No.2407716

>>2407680
notice the backwards mounted suspension in the front, i tried to remove it, but it somehow worked for the very rough terrain. 18 showed this kind of suspension after 15 generations.

Currently failing because of a halfpipe like structure at 250 òó

>> No.2407722

>>2407708
>>2407680
hivemind

>> No.2407745

This is MUCH better than when bb blogged it two years ago:

http://boingboing.net/2008/12/08/genetic-algorithm-ev.html

>> No.2407806

We need a version of this where the environment slowly changes as well.

>> No.2407809

>>2407806
yes, also different number of wheels should be added

>> No.2407881

>>2406134

>> No.2407886
File: 27 KB, 453x246, Derpmobile.jpg [View same] [iqdb] [saucenao] [google]
2407886

>>2407881

MOTHERFUCKING CAPTCHA

CRUISE CONTROLL FOR COOL

>> No.2407946

I saw a version of this program before but instead of cars it was moving limbs. I ran it for like 2 days and ended up with quadrupeds and bipedal kangaroo looking things. anyone know about that one

>> No.2407952

Jеw.

>> No.2408027

Is this flash based or something else? Seems very interesting so I'm gonna try to make my own game, pretty much like this, but a little varied.

>> No.2408059

>>2406134
OH GOD I LOL'd.

>> No.2408086

>>2408027
ofcourse it's flashbased. swf is a flash extension

>> No.2408098

>>2408027
>>2408086
Okay then. Does anyone know of a tutorial on making one of these games? or any basic tutorials on how to make the wheels turn and have the car move and all the physics involved? I really wanna make my own game like this

>> No.2408104

>>2408098
>genetic algorithm
>hai gays I wanna make my own :D I don't know how to code anything but it seems easy

>> No.2408109

>>2408104
It's not genetic algorithm really. That just makes it sound harder than it really is. Hereditary programming doesn't seem that hard. Anyone wanna link me or explain?

>> No.2408121

>>2408104
Besides, I know it's not easy, and I never assumed I could learn it quickly. But someone made it, so I will be able to also with enough time and studying of it

>> No.2408141

>>2408121
>>2408109
>>2408098

http://www.kongregate.com/labs

be sure to post it on here when you finish it

>> No.2408148

Anyone got more than 250? I can't get through those mountains

>> No.2408174

>>2408121
>>2408109
Goddamnit, kids these days...

>> No.2408237
File: 4 KB, 126x122, 1293913009951.jpg [View same] [iqdb] [saucenao] [google]
2408237

>mfw I get a great design in the first generation

>> No.2408244

>>2408109
>>2408121

step 1: download flash
step 2: download eclipse/flex
step 3: complete > 9000 tutorials
step 4: ???????
step 5: profit

>> No.2408254

>>2408237
Lucky bastard. I had a mediocre design by 4th generation and it was just good enough to show barely any improvement after 7 more generations.

>> No.2408271

Its nicer to play with the mutation more than getting a good design, it doesn't take too long to surface. For example, I left it on at 2% Mutation for 16 generations. Then I increased it to 15%. After 5 or so generations, the designs deteriorated.

>> No.2408501

This must be what god does all day

>> No.2409308
File: 128 KB, 841x495, Epic_fail_cars.jpg [View same] [iqdb] [saucenao] [google]
2409308

I'm just going to... you know... euthanize my computer now.

>> No.2409348

>>2408501
Lol'd. We've all imagined the universe as a simulation, but never as a flash toy.

>> No.2409761

How do you speedhack this?

>> No.2409780

>>2409761

>>2406863

>> No.2409858
File: 30 KB, 674x498, Autism.png [View same] [iqdb] [saucenao] [google]
2409858

While I don't know much about genetic algorithms, I'm reaching the point where I think the simulation has generated terrain which cannot be surmounted. 70 generations since stability, and over 100 generations since they started reaching this point, the best I've witnessed one manage was to get a lucky bounce and have one wheel just on top of the top of the hill as it stopped.

It could also just be a case of "you can't get there from here" in which case cranking up the mutation rate to something crazy and trying to find another aptitude peak with smaller wheels with the torque to climb it.

>> No.2409869

>>2409308
Don't worry about it. It doesn't even have neurons. The ones that do have neurons though, you should save.

I still keep gene data for an old GA that simulated neurons on my flashdrive. I will revive them one day.

>> No.2409874
File: 38 KB, 876x506, carevolution.png [View same] [iqdb] [saucenao] [google]
2409874

This fucking bump

>> No.2410023

>>2409858
Just let it keep running until it evolves intelligence and then hacks the hill away.

>> No.2410072
File: 33 KB, 874x505, 1.png [View same] [iqdb] [saucenao] [google]
2410072

THAT FUCKING SLOPE

>> No.2410077
File: 25 KB, 821x500, 3.png [View same] [iqdb] [saucenao] [google]
2410077

I have high hopes for this breed.

>> No.2410080
File: 33 KB, 336x278, UNTITLED.jpg [View same] [iqdb] [saucenao] [google]
2410080

FOREVER ALONE

>> No.2410091
File: 29 KB, 807x501, 2.png [View same] [iqdb] [saucenao] [google]
2410091

derpmobile

>> No.2410114
File: 28 KB, 228x206, Untitled-3.jpg [View same] [iqdb] [saucenao] [google]
2410114

master race right here

>> No.2410132

>>2410114
>distance cropped away
Don't think so.

>> No.2410146
File: 53 KB, 822x494, shark.png [View same] [iqdb] [saucenao] [google]
2410146

I'm a shark!

>> No.2410160
File: 26 KB, 838x495, Sin título.png [View same] [iqdb] [saucenao] [google]
2410160

full powaa!

>> No.2410166

Does anyone know what the kill condition is?

It is unfortunate to see your dude going over a hill, landing on the back wheel, and in the process of falling onto the front wheel and it "dies"

>> No.2410169
File: 17 KB, 798x286, Sin título.png [View same] [iqdb] [saucenao] [google]
2410169

LOL

>> No.2410172

>>2410166

Seems to be distance vs time. I'm not entirely sure though either. Catching too much air is a loss as well.

>> No.2410175

>>2410166
i think u dies when go to slow

>> No.2410178
File: 41 KB, 806x544, 25-01-2011 07-32-34 a.m..png [View same] [iqdb] [saucenao] [google]
2410178

this own all my cars every time >_<

>> No.2410183

>>2406579

In GenePool you've got all those things ou're asking for. It's pretty awesome.

>> No.2410190

>>2409874
>>2409874
>>2409874
>>2409874
>>2409874

THIS

Gen 13 and i can't get over that goddamn bump

>> No.2410263

can someone get the source code for this game. I really want to make it better and add sexual breeding and retard removal

>> No.2410276
File: 210 KB, 1366x768, datbump.png [View same] [iqdb] [saucenao] [google]
2410276

dat fuckin bump

>> No.2410296

Beat this: #0 : 38.6

>> No.2410302
File: 28 KB, 798x496, asd.png [View same] [iqdb] [saucenao] [google]
2410302

why the fuck do tires change randomly places and sizes ? I had wonderful tires, car got far with them, and then next gen had tires like shit. I thought good traits were passed ?

tl;dr: someone who is a crossover of /g/ & /sci/, please make a better one.

>> No.2410331
File: 33 KB, 824x592, lifeishard.png [View same] [iqdb] [saucenao] [google]
2410331

Well...

>> No.2410344

>>2410331
Gen 30 had 5 times 166

>> No.2410350

I remember when this first came out. Looked a lot shittier, and even after leaving the window open for 10 hours my cars were still pretty damn stupid and useless. Was it made any better?

>> No.2410351
File: 33 KB, 819x498, asd.png [View same] [iqdb] [saucenao] [google]
2410351

>>2410331
How come everyone has got a huge ass exponential growth in development ?

>> No.2410360

I wish there was a button for

"put this car out of its misery"

>>2406134

>> No.2410363

>>2410351
I first had 100%
I have lowered it to 1% after a few steps from 50 to 40 to 20 to 10 to 5.

>> No.2410367

Gen 140 with 3% mutation.
LOWEST score is 102.7.
More than 3/4 of the scores are above 200.
Top score is 289.9.
U jelly, normalfags?

>> No.2410386
File: 32 KB, 831x495, u all jelly of my car 1.png [View same] [iqdb] [saucenao] [google]
2410386

>>2410367
a pic of one of the cars

>> No.2410400

>>2410386
another one
u all so jelly that I can feel it

>> No.2410403 [DELETED] 
File: 33 KB, 823x502, u all jelly of my car 2.png [View same] [iqdb] [saucenao] [google]
2410403

>>2410400
damnit, forgot pic
got dubs though - there's always something good in bad things

>> No.2410422

>>2410367
>>2410386
>98.9

>> No.2410433
File: 12 KB, 185x138, retarded homer face.jpg [View same] [iqdb] [saucenao] [google]
2410433

>>2410422
>Gen 140 has 102.7 lowest
>pics are of gen 141
>you complain about 98.9
>mfw you are full retard

>> No.2410484

One of my cars could ride upside down.
Too bad it was the 166 boundarie that killed it...

>> No.2410490

278.8

>> No.2410636

Are there better Genetic Algorithms out there?

>> No.2410647

>>2410490
311 \o/

>> No.2410676
File: 153 KB, 1600x900, Screenshot.png [View same] [iqdb] [saucenao] [google]
2410676

>> No.2410682

>>2410676
Shouldn't you just continue with homework?

>> No.2410698

>>2410682
probably, but this very entertaining

>> No.2410704

>>2410676
>Comic Sans
>Comic Sans everywhere
The level of retardedness you have just exhibited is unacceptable on /sci/. Please change your fonts to something more mature, or leave /sci/ forever.

>> No.2410713

>>2410704
and what would be "more mature"?

>> No.2410717
File: 45 KB, 796x509, Capture.png [View same] [iqdb] [saucenao] [google]
2410717

>left it on overnight, still haven't passed 208

I mad

>> No.2410718

>>2410676
>Comic sans as system font

WHAT THE FUCK.

>> No.2410722

>>2410713
Anything else. An awesome example is droid sans.

>> No.2410723

i got 270.7 on generation 9 with zero mutation rate

>> No.2410735
File: 59 KB, 379x214, 1294321177818.jpg [View same] [iqdb] [saucenao] [google]
2410735

>>2410722
>look up droid sans
http://code.google.com/webfonts/family?family=Droid%20Sans
>serifs
>serifs everywhere

>> No.2410773
File: 103 KB, 235x242, 1290991099679.png [View same] [iqdb] [saucenao] [google]
2410773

>>2410722

>> No.2410792

>>2410773
u just mad because it's the best font

>> No.2410864

>>2410792
u just mad because you know its a shitty font

>> No.2410869

>>2410864
u just mad because my tastes > your tastes

>> No.2410888

>>2410869
u just mad because you have nothing better to do than argue with me over the Internet on 4chan

>> No.2410895

>>2410888
u just mad because you don't have either

>> No.2410928

>>2410895
u just mad because you just mad

>> No.2410989

>>2410928
u just mad because your madder

>> No.2411116

interesting but also quite boring because it evolves very slowly

>> No.2411793
File: 45 KB, 812x510, Screenshot.png [View same] [iqdb] [saucenao] [google]
2411793

DAT HILL

>> No.2412390

Anybody else having a problem where the road turns to 2 bumps (essentially stopping your car), big cliff followed by another bump (stopping the car again) and then the steepest hill known to man (so that your car doesn't have enough power to get over it)? At around score 215?

>> No.2412421

This is hilarious.

It's like "If I have 20 cars and they fuck, and their children fuck, and so on and so forth, how long does it take for me to produce a working car?"

>> No.2412424
File: 30 KB, 815x501, Sin título.png [View same] [iqdb] [saucenao] [google]
2412424

look at my speedo!!

>> No.2412553

Somebody please rewrite it so that the number of wheels varies from one to four and the cars run simultaneously. Look into Flash decompilers for getting the source code.

>> No.2412607
File: 24 KB, 100x100, av-153778.gif [View same] [iqdb] [saucenao] [google]
2412607

>mfw my best car in every generation shows up in gen 8 with both its wheels on the same axle

>> No.2413339
File: 35 KB, 789x495, Autism.png [View same] [iqdb] [saucenao] [google]
2413339

>>2412390
Not at all. Not. At. All.

/sarcasm