Genetic algorithms - evolution of a 2D car in Unity

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ต.ค. 2024

ความคิดเห็น • 342

  • @Hinovis-art
    @Hinovis-art 7 ปีที่แล้ว +846

    It's 4am and I'm watching genetic algorithms......

    • @monkeywrench677
      @monkeywrench677 7 ปีที่แล้ว +5

      me too.

    • @soundx8015
      @soundx8015 6 ปีที่แล้ว +1

      Aaron Hinojosa 2.27 right now

    • @blub5494
      @blub5494 6 ปีที่แล้ว +4

      They are actually quite interesting

    • @aspirine999
      @aspirine999 6 ปีที่แล้ว +2

      Next step: minimize time to finish. If you use both time and distance and fitness, I wonder what combination of them would make a greater car evolve faster

    • @arthurgamespixelbr1277
      @arthurgamespixelbr1277 6 ปีที่แล้ว

      Me is a 8 of am

  • @Trotom7
    @Trotom7 7 ปีที่แล้ว +154

    >Adds boxes so the cars can't flip.
    >Best AI proceeds to get rid of the boxes.

    • @sm4llbit
      @sm4llbit  7 ปีที่แล้ว +19

      The essence of evolution :)

  • @crazycoyote7658
    @crazycoyote7658 7 ปีที่แล้ว +293

    It's like a pro version of Hill Climb Racing

  • @AC0KG
    @AC0KG 7 ปีที่แล้ว +125

    It would be interesting to co-evolve the track using a fitness function that selects for tracks that are better at challenging cars. The fitness function for the track could reward tracks that create more complex 'interesting' car movements (flips, backtracks, variations in speed, etc).

    • @sm4llbit
      @sm4llbit  7 ปีที่แล้ว +21

      Yes, I thought would be very interesting to generate levels for a game using evolution as oppose to hand crafted designs. It would be very tricky to setup though, but very interesting idea.

    • @Kevinofrepublic
      @Kevinofrepublic 7 ปีที่แล้ว +2

      The terrain needs to remain constant. The AI is learning yes but it is only learning for a specific track. Theres an example of why the track cant change and its from a MarIO video by SethBling. Idk how to spell his name but anyways he makes an AI that can beat a mario level but the AI despite learning enough to beat the first level cannot and will never beat the second level because the AI didnt learn it specifically.

    • @Kevinofrepublic
      @Kevinofrepublic 7 ปีที่แล้ว

      I mean I assume. I have yet to see an AI that can adapt to new tracks, levels, terrains after successfully completing one.

    • @sm4llbit
      @sm4llbit  7 ปีที่แล้ว +1

      I think he meant, that the car is constant and the track structure is a genotype that evolves.

    • @AC0KG
      @AC0KG 7 ปีที่แล้ว +3

      I'd like to see them co-evolving, responding to each other in a coevolutionary configuration. Cooperative coevolution might tend to lead to boring tracks unless the fitness functions were carefully tuned to select for 'interesting' behaviors.
      The track does not need to remain constant, in general. Most of the examples I've seen of evolving vehicles use randomly generated tracks. A specific implementation might be limited to exactly one terrain, but that is a feature of that specific implementation.
      My own dabbling in this is on the evolution of computer programs that navigate a maze (a very simple simulated stack machine CPU with port-based IO connected to sensors and actuators on a simulated vehicle in the maze, running assembly language programs that evolve). It does not co-evolve the maze, it just randomly generates them, new for every member of the population. That's an interesting idea though, now that I'm thinking about it. I wonder if I can come up with a way to generate the mazes using an evolvable script. I'll have to think about ways to encode a maze-generating routine in a way that can be evolved.
      wiki.ece.cmu.edu/ddl/index.php/Coevolutionary_algorithms

  • @jkoolish
    @jkoolish 7 ปีที่แล้ว +121

    Very cool! I wonder if you could add to the car algorithm a "passenger" object, and trigger a game over when the passenger "dies." How would the successful evolution look different, if it had to also take into account the "safety" of the "passenger"?

    • @hybby
      @hybby 7 ปีที่แล้ว +5

      What would constitute a passenger death? A flip? Because none of the cars completed this track without at least 1 flip.

    • @botondbenyovszky6621
      @botondbenyovszky6621 7 ปีที่แล้ว +8

      add a given size square component, and if that ever touches the ground, it's practically dead.

    • @botondbenyovszky6621
      @botondbenyovszky6621 7 ปีที่แล้ว +6

      @Jack Kalish: You could also add "energy" usage (a component left out from these simulations too often), and also weight as "fitness", since if it can carry more, more effectively, then it's a good machine.

    • @abaundwal
      @abaundwal 6 ปีที่แล้ว +8

      Basically you want to have an AI that plays the hill climb racing game.

    • @YashMRSawant
      @YashMRSawant 4 ปีที่แล้ว

      One thing to note getting a convergence is very tricky.

  • @vinzgilligan6085
    @vinzgilligan6085 7 ปีที่แล้ว +116

    Human music - I like it

    • @jdpg7614
      @jdpg7614 7 ปีที่แล้ว +10

      Vinz Gilligan Only those with 900+ IQ will get this joke.

    • @14031993
      @14031993 5 ปีที่แล้ว +5

      JD PG I only have 899 IQ, what did he mean?

    • @dogeramsey9154
      @dogeramsey9154 5 ปีที่แล้ว

      *Minimum simulation power

    • @theternal
      @theternal 5 ปีที่แล้ว +2

      @@14031993 he mean that morty was just a simulation

    • @EngiNetion
      @EngiNetion 3 ปีที่แล้ว

      lmao

  • @superchet6897
    @superchet6897 7 ปีที่แล้ว +38

    That. Was. Intense.
    The music kept me watching like it was some kind of NASA milestone :P

  • @TheZiGSuN
    @TheZiGSuN 7 ปีที่แล้ว +46

    Очень ждал, что генетический алгоритм в конце концов сгенерирует жигули.

  • @SwegiBärlauch
    @SwegiBärlauch 7 ปีที่แล้ว +59

    And thats how they created the bots in Hill Climb Racing :D

  • @winnie3334
    @winnie3334 7 ปีที่แล้ว +259

    Hey there! Amazing video. I was wondering about a few things:
    Would it be possible to make the terrain randomly generated? Using some sort of noise, the terrain could be different for each genome. That way the cars will be able to drive in different circumstances.
    Also, is it theoretically possible to base the fitness on distance traveled in a certain time? Instead of only stopping when the car gets stuck, wait 20 seconds for each car and then go on to the next one. Would this work? Would they "learn" that speed is important as well?
    Thanks a lot for your time and this video :)

    • @sm4llbit
      @sm4llbit  7 ปีที่แล้ว +50

      winnie33 Hi. about this randomizing of the terrain, I dont really think this would work. The entire experiment is set to evolve the car to do this particular test (track). Any generation might be proven useless on newly randomly generated track because it was evolving to beat previous one. However due to nature of this experiment latest generations shouldnt have a problem to beat any randomized withing some limits track, but this is not what Genetic Algorithms are for. As for the second question It could work but than again from theoretical stand point the experiment is to evolve the car to beat the track. The track has variety of different obstacles, a successful car should be able to beat. Capping test run to 20 second would result in the cars never get to some parts of the track, hence it would (probably) never evolved to beat the track and be able to pass any obstacle from it.

    • @winnie3334
      @winnie3334 7 ปีที่แล้ว +5

      Thanks a lot for the quick and in-detail answer!
      About the random terrain, why aren't genetic algorithms fit for the job? Are there any other neural networks (if that's how it's called) that could do this?
      Anyway, your videos are really nice and informative. I wish you all the best with your channel and look forward to seeing more of these videos :)

    • @sm4llbit
      @sm4llbit  7 ปีที่แล้ว +7

      winnie33 Hi. first to be clear I am not any kind of expert of this matter just a hobbyist so I suggest you read some scientific literature about this topics. With that said, I dont use neural networks here my phenotype just performs a single action driving and fitness evaluates how it did. I am affraid if you want a arbitrary phenotype perform well in any random environment you better call SkyNet. But seriously a neutal net is what you need (I even did one experiment with it and uploaded video). But than agaim neural net is to solve a more complex problem with multiple inputs and outputs (i.e. driving car learns to complete the track). Again any neural net applicatios are very vulnerable to changing environment. There was one example in which net learned to pass level after 2x generation but next level had different kinds of obstacles so the nnet was useless and it needed to learn from start. Finally it all depends what exactly do you mean by random track. In this example as i sad phenotype is simple. Assuming your would have a more complex one with controlles speed breaking and balancing maybe. Than any new random piece of track you generate might constitute new type of obstacle your net is not ready for (but it all depends on how you define it). Than it will need some generations to learn it but it would forget the once you already had because its not testing against them anymore. Again this is just guessing, but I've seen few dozens of nnet examples and in none of them the problem to solve is changing during the experiment.

    • @sm4llbit
      @sm4llbit  7 ปีที่แล้ว +10

      ?

    • @hamburgerfatso
      @hamburgerfatso 7 ปีที่แล้ว

      How about using something like distance squared or cubed divided by time for the fitness, so that it takes into account now fast it travels, but also favourably weights further distances with larger scores?

  • @willperplexed9199
    @willperplexed9199 7 ปีที่แล้ว +151

    one wheel is the best 😌

    • @truthsmiles
      @truthsmiles 7 ปีที่แล้ว +13

      Right. I was surprised that didn't appear.

    • @willperplexed9199
      @willperplexed9199 7 ปีที่แล้ว +35

      Maybe he set a minimum parts limitation.

    • @ardiawanbagusharisa7040
      @ardiawanbagusharisa7040 7 ปีที่แล้ว +1

      Of course, there will be some constraints

    • @truthsmiles
      @truthsmiles 7 ปีที่แล้ว +10

      Or maybe just that a wooden block is required.

    • @RRTVTAMIL
      @RRTVTAMIL 6 ปีที่แล้ว

      李锦州 so

  • @dotdotdot1113
    @dotdotdot1113 6 ปีที่แล้ว

    I like watching these because they demonstrate evolution pretty well

  • @Dylann8245
    @Dylann8245 7 ปีที่แล้ว

    The music helps me appreciate it even more. Awesome.

  • @damienkillani6121
    @damienkillani6121 7 ปีที่แล้ว +9

    This guy and Carykh would have interesting conversations.

  • @snehaedke3504
    @snehaedke3504 4 ปีที่แล้ว

    Thank u, this video cleared my confusions regarding genetic algorithm

  • @cooldued11
    @cooldued11 7 ปีที่แล้ว

    to be honestly it seems randomly generated, it makes its changes so drastically. it had a mostly working formula in 10 then went back about 8 generations and re-cycled through without realizing the wheels being close to the ends makes it more stable

    • @sm4llbit
      @sm4llbit  7 ปีที่แล้ว

      cooldued11 well the initial population is indeed randomly (within bounds) generated.

  • @DayaCIDfan
    @DayaCIDfan 4 ปีที่แล้ว

    woww this is great but it just shows how a machine can only ever be a tool -- what a human can solve with intution and design mindset will take a machine a ton of computing to arrive at by force. But that may not really be a problem with the evolution of computing resources.
    I don't know, I'm just a chemical engineer but this is real cool! :)

  • @alphabetagamma4142
    @alphabetagamma4142 5 ปีที่แล้ว +1

    Great work!!
    Such kind of work is what pushes science forward...
    Kudos to you guys!!!

  • @Layk35
    @Layk35 7 ปีที่แล้ว +22

    This was cool. Did your algorithm eventually learn not to use non-drive wheels?

  • @toasterusedfly
    @toasterusedfly 6 ปีที่แล้ว +4

    turn this into a game where you can build a kart, place wheels and make it heavier. there should be a guy on the car and if he falls off, it should be game over. polish up the textures, remove the statistics menu, and get it reviewed so it can be published to the app store or the google play store

  • @Krebzonide
    @Krebzonide 7 ปีที่แล้ว +1

    You should make it so that after like 50 generations you press a button to make it give a higher score to heavier cars or something like that just to see how they react. I'm sure after a while it would just make a really big car that flops one inch and gets a really high score but it would be fun to test.

  • @science.
    @science. 3 ปีที่แล้ว

    Where did the information about the shape of the wheel, the nature of going forward, and the frame of the wheel come from?

  • @bublebee7635
    @bublebee7635 6 ปีที่แล้ว

    the music in this video is extremely calming haha

  • @Kenbomp
    @Kenbomp 4 ปีที่แล้ว

    This will probably bring back smalltalk and visual based languages back into the limelight. They should try that same model on different tracks see the results

  • @Prutswerk
    @Prutswerk 7 ปีที่แล้ว

    Sometimes I really feel the urge to help those little cars.
    "You go, little fellow, theeeeere you go!"

  • @InfallibleCode
    @InfallibleCode 7 ปีที่แล้ว

    This is awesome! I've been wanting to get into genetic algorithms and machine learning code.

  • @thekittycats8061
    @thekittycats8061 7 ปีที่แล้ว

    This is amazing especially after seeing a carykh video where it too hundreds of generations to make "walking" creatures that kind of shuffled along the ground

  • @Alkanen
    @Alkanen 7 ปีที่แล้ว +1

    This was quite interesting and entertaining. Do you share any of the code anywhere so others can build upon it?

  • @secret486
    @secret486 4 ปีที่แล้ว

    Did the program generate a unicycle with a center of mass inside the wheel?

  • @acebeariously9856
    @acebeariously9856 7 ปีที่แล้ว +9

    its so relaxing to watch machines slowly becoming more and more intelligent than the human race

  • @Flatron303
    @Flatron303 7 ปีที่แล้ว +13

    What language you use for developing AI algorithms/models?

    • @sm4llbit
      @sm4llbit  7 ปีที่แล้ว +9

      Flatron303 it's c# in unity

  • @cffex3858
    @cffex3858 ปีที่แล้ว

    Hello, I am a beginner in genetic algorithm and recently created one of my first genetic algorithm. Sadly I encountered some problems: Each generations, the agents are supposed to get better and better, also to have a chance to get dumber because of the mutation function, to battle this, I implemented etilism (I believe that's the correct term) which selects the best agent from the previous generation and transfer it into the next generation so as to prevent from the algorithm getting 'dumber' agents than the previous agents.
    However, the fitness function increases a bit at the start and slowly decrease?
    For the output of the agents I implemented threshold, if the output is greater than the threshold, the boolean output will mark that as 'true' otherwise 'false'. For the mutation function I also mutated the threshold to be a random number between 0 - 1,

    • @sm4llbit
      @sm4llbit  ปีที่แล้ว

      It's really hard to say whats the issue in your case, but decreasing fitness sounds like something is off. Usually one spends a lot of time tuning hyperparameters for the model to work. Try different inputs scaling. fitness calculation, mutation algo etc.

  • @alpdrone
    @alpdrone 4 ปีที่แล้ว

    Hi, would it bother you if I might use some 10 sec samples for a simple lecture of what could be achieved with AI ?

    • @sm4llbit
      @sm4llbit  4 ปีที่แล้ว

      Not at all, go ahead ♥️

    • @sm4llbit
      @sm4llbit  4 ปีที่แล้ว

      Feel free to use any of my ml videos

  • @l104693
    @l104693 6 ปีที่แล้ว

    Could this be seen as a proof that for this specific example there are no viable cars that are not able to be turned over?

  • @ssjakuma
    @ssjakuma 6 ปีที่แล้ว

    Why do I find this so adorable?

  • @Firejaps
    @Firejaps 7 ปีที่แล้ว +25

    Amazing ! Never saw this type of algorithms, iam very curious about this area now !

    • @rakdos91
      @rakdos91 7 ปีที่แล้ว +5

      you're in for a ride, there's quite some videos about this on youtube. try looking for genetic walking algorithms

    • @The76Malibu
      @The76Malibu 7 ปีที่แล้ว +2

      A youtuber named carykh makes some 'evolution simulator' videos you might like. A really cool type of simulation.

  • @JacobDavidCCunningham
    @JacobDavidCCunningham 7 ปีที่แล้ว +1

    crazy to think what can be accomplished with brute force, but insight is nice to have

  • @sgt391
    @sgt391 3 ปีที่แล้ว

    A nice proof of Occam's Razor

  • @IsaGoodFriend
    @IsaGoodFriend 7 ปีที่แล้ว

    I've always wanted to make one of these neural network/genetic algorithm programs, but I'm still unsure of how to get the actual code written. Are there any video tutorials that can help get me started?

  • @carlclever7538
    @carlclever7538 7 ปีที่แล้ว

    Tomek S Hi! I've been trying to learn how to do similar experiments for a while, but I've been failing to find the right tools to work with if you could give me any tips or guidance I'd be grateful.

  • @Salara2130
    @Salara2130 7 ปีที่แล้ว +3

    Hey, im really intrigued by machine learing/AI. I think I already get the concept of machine learing, but dont understand the niddy griddy part of how you actually implement it. could you advise me some good starting point for getting into it? As a CS student i will have the posibility to get into it later down the line, but i really want to start doing some small projects in the near future.

    • @sm4llbit
      @sm4llbit  7 ปีที่แล้ว +2

      The coding train channel covers quite a lot of this, its very well explained too. Good starting point.

    • @The76Malibu
      @The76Malibu 7 ปีที่แล้ว +1

      TH-camr carykh has done some 'evolution simulator' videos and his code is open source. It's great fun messing with variables and seeing the effects.

  • @AbhimanyuAryan
    @AbhimanyuAryan 7 ปีที่แล้ว +6

    where's the soure code? what library you used?

  • @stimpytehrandomguy7041
    @stimpytehrandomguy7041 6 ปีที่แล้ว

    Like the way generation 21 has a "stabilizer tail/front"
    Like it uses it to defect most of the flips by my calculations.
    Anyway great video.

  • @gagadaddy8713
    @gagadaddy8713 6 ปีที่แล้ว

    Would you please share what is the outputs in this algorithm?

  • @Jonaasti
    @Jonaasti 7 ปีที่แล้ว +2

    Can you Give it data for the distance traveled in the last 5 and 10 seconds(more is better). As well as give it the ability to change its speed at any time. Also, penalize it for flipping the car at any point. Then also give it cargo that it has to carry on the wood/body of the car. Once it is able to do all of that vary well, increase the weight and or size of the cargo.
    Though, can the AI even 'see' the track? Is it just "going forward" without the ability to sense the environment?

  • @DemetriosMPapadakes
    @DemetriosMPapadakes 4 ปีที่แล้ว

    The biggest question is: would all AIs create similar or the same cars, or same final car, for this exact same track, or would there be variance and what would such valence depend on?

    • @好吧-h6k
      @好吧-h6k 2 ปีที่แล้ว

      the outer shell

  • @vasugupta9824
    @vasugupta9824 7 ปีที่แล้ว

    Truly Awesome. Can you please tell me how to integrate AI into Unity and what is your GPU configuration?? Your help will be appreciated because I also want to work on a similar project.

  • @jowenjv4463
    @jowenjv4463 5 ปีที่แล้ว

    What does ''generation'', ''fitness'', ''mutation rate'' and ''population'' means ? How many time it take to go from one generation to another in general ?
    I find all those ''genetic algorithms'' scary, but still interesting
    Thanks.

  • @ЕвгенийПоддубный-ю8о
    @ЕвгенийПоддубный-ю8о 5 ปีที่แล้ว

    В итоге из сложной машинки должно остаться одно колесо, так как ему легче катиться без лишних деталей. То есть отбор ведёт к упрощению. Так же и бенгальскиз тигрон естественный отбор по своему определению должен упрощать и превращать в одноклеточных простейших самых идеальных по выживанию и размножению

  • @JonesCrimson
    @JonesCrimson 6 ปีที่แล้ว

    I noticed you programmed a sort of "shocks and suspension" system, was that capable of changing as well?

    • @sm4llbit
      @sm4llbit  6 ปีที่แล้ว +1

      Jones Crimson that's correct

  • @josepha8657
    @josepha8657 4 ปีที่แล้ว

    What are the inputs of such an algorithm?

  • @sajusathish1622
    @sajusathish1622 3 ปีที่แล้ว

    Do you have the unity files in public domain to explore..?

  • @videomaker5167
    @videomaker5167 7 ปีที่แล้ว

    How did you do this?? I wanted to make a genetic algorithm using unity, but never found it

    • @sm4llbit
      @sm4llbit  7 ปีที่แล้ว

      video maker never found what?

  • @AndrewAce.
    @AndrewAce. 6 ปีที่แล้ว

    Look at that *_off road all wheel drive!_* Is that the 2019 model?

  • @waku12
    @waku12 6 ปีที่แล้ว

    Very cool, is there a way to look at unity project ?

  • @schovi
    @schovi 7 ปีที่แล้ว

    Amazing work there. I am currently experimenting with genetic algorithms and palying with some dump calculations in terminal :)
    And I wonder, what is different between distance and fitness? Why fitness doesn't have value of distance directly? And how you calculate fitness?

    • @sm4llbit
      @sm4llbit  7 ปีที่แล้ว +1

      fitness is a value that describes how good the genome is executing a task it was put to. Having distance as a fitness for this experiment is a logical choice, however, from two cars that can finish the track, the faster one is considered better. Hence the fitness is a function of both distance and average speed. I am not sure if i remember well but it was something like this : fitness = distance + sqrt (avgSpeed); So it favors the distance over speed but doesn't neglect the latter. Once could expand this a bit by having fitness being penalized for car flips or getting stuck.

    • @schovi
      @schovi 7 ปีที่แล้ว

      Makes sense! Thank you

  • @GalHorowitz
    @GalHorowitz 7 ปีที่แล้ว

    Hi, I have a question. What did you use to make the fitness graph?

    • @sm4llbit
      @sm4llbit  7 ปีที่แล้ว

      Unity UI

  • @konnerbaker7886
    @konnerbaker7886 7 ปีที่แล้ว

    I like this music, is it available to the masses?

    • @sm4llbit
      @sm4llbit  7 ปีที่แล้ว

      th-cam.com/video/B4K7Hqv4vts/w-d-xo.html

  • @ZachariahZacXAbraham
    @ZachariahZacXAbraham 6 ปีที่แล้ว

    Did you constrain the number of wheels to two?

  • @fabhi
    @fabhi 5 ปีที่แล้ว

    So, you basically get a BatBike at the pinnacle of evolution!? DC got surprises!

  • @B3Band
    @B3Band 7 ปีที่แล้ว +5

    That AI be like, "Are you SURE one wheel in back and one in the middle won't work?"

  • @thankyouthankyou1172
    @thankyouthankyou1172 4 ปีที่แล้ว

    well, love the music:)

  • @biletv9565
    @biletv9565 6 ปีที่แล้ว +2

    and now - experiment 2, turn on eurobeat and look what will happen.

  • @CAMOBAP795
    @CAMOBAP795 5 ปีที่แล้ว

    @Tomek S Is it possible to find your code somewhere in public?

  • @SiaarZH
    @SiaarZH 7 ปีที่แล้ว

    Hey Tomek S. This is great stuff, I have just started learning about AI myself as a hobby. You got any tips on how I could fast track my progress? Maybe a good online resource of knowledge is out there that I haven't stumbled upon yet...

  • @Kabbinj
    @Kabbinj 7 ปีที่แล้ว

    Did you use an existing framework, or did you build your own genetic algorithm? Also, is the car built and controlled by a NN, or is it directly based on the genetics?

    • @sm4llbit
      @sm4llbit  7 ปีที่แล้ว +1

      Didn't use any frameworks, wrote the code myself. There is no neural network in this example.

  • @DannySullivanMusic
    @DannySullivanMusic 6 ปีที่แล้ว

    Reminds me of that toy car I had when I was a kid that you could drive into walls and it flip upside down and keep driving.

  • @ewliang
    @ewliang 7 ปีที่แล้ว

    Nice job!

  • @christopherharris-coons5207
    @christopherharris-coons5207 7 ปีที่แล้ว

    What was the music you used in the video?

  • @aryamaansingh1894
    @aryamaansingh1894 7 ปีที่แล้ว +72

    Imagine tesla using the same code for self driving cars xD

    • @netcrns
      @netcrns 7 ปีที่แล้ว +21

      so the car changes appearance every time it gets stuck?

    • @Metallijosh100
      @Metallijosh100 6 ปีที่แล้ว +41

      "After 300,000 crashes resulting in over a million deaths, our cars have finally learned how to drive on roads with an accident rate of less than 10%"
      *Audience cheers*

    • @cezarystasiak9498
      @cezarystasiak9498 6 ปีที่แล้ว +2

      Do you think they don't ? Self taught artificial neural networks are everywhere

  • @asdfasdfasdf383
    @asdfasdfasdf383 2 ปีที่แล้ว

    Very cool.
    Is the code Open Source available somewhere?

  • @ellewearsch8329
    @ellewearsch8329 5 ปีที่แล้ว

    how did you make this? could you make a video about that?

  • @aidenthompson7614
    @aidenthompson7614 6 ปีที่แล้ว

    And that son, is how cars are made.

  • @theukuleleist
    @theukuleleist 7 ปีที่แล้ว

    i used to have an app on android that did a similar thing can't remember the name but it helped me sleep

  • @jllarivee60
    @jllarivee60 6 ปีที่แล้ว

    Could this be evidence that the form of a car would be seen on intelligent alien planets by extraterrestrials? I always wonder how intelligent aliens would progress relative to us. Cool stuff.

  • @killermouse0
    @killermouse0 ปีที่แล้ว

    I'd be very curious to know how the phenotype is encoded into a genotype in this example... Does anyone know?

  • @willian5674
    @willian5674 7 ปีที่แล้ว

    That is fucking awesome.

  • @wojciecho
    @wojciecho 5 ปีที่แล้ว

    @Tomek I know how to use genetic algorithm but I don't know how to use it existing game e.g. how can I simulate clicks in existing 2D game simular to this?

    • @sm4llbit
      @sm4llbit  5 ปีที่แล้ว

      Clicks?

    • @wojciecho
      @wojciecho 5 ปีที่แล้ว

      @@sm4llbit keyboard button press to be exact. I don't have source of the game I have only runable version so I have to trigger key press from my program.

  • @EdViaja
    @EdViaja 6 ปีที่แล้ว

    I'm a deep learning researcher, but I would like to learn Genetic Algorithm, do you know a framework that can support GPUs because I have some GPUs and I know GA is a slow (depending on the problem). Thank you in advanced and good video :)

    • @sm4llbit
      @sm4llbit  6 ปีที่แล้ว

      Edgar Medina I didn't use any framework. The code for GA it's really very basic in this example roughly few hundreds lines of code. Check coding train vids, he explains how it's done.

  • @NixDeam
    @NixDeam 6 ปีที่แล้ว

    Can you upload the source to this program? I’m interested in how this works (Ive never made one and want to see how one works before i go in blind creating one)

  • @marcoiscoolies
    @marcoiscoolies 6 ปีที่แล้ว

    just wondering if you're still replying cause I'm interesting by this and might do a similar final project for university, how did you handle the car creation with your genetic algorithm in unity?

  • @cryptexify
    @cryptexify 7 ปีที่แล้ว

    So basically it reinvented 4x4 cars?

  • @rico9163
    @rico9163 6 ปีที่แล้ว

    Couldn’t this be used in 3 dimensions with more parameters to make a more efficient car?

    • @sm4llbit
      @sm4llbit  6 ปีที่แล้ว

      Americo Sculati sure

  • @setyotriwindrasmara6886
    @setyotriwindrasmara6886 5 ปีที่แล้ว

    Hey this work is amazing! 😂
    I wonder what your solution representation looks like. Is it a binary-coded of those 20 decision variables?

    • @sm4llbit
      @sm4llbit  5 ปีที่แล้ว

      The latter 😂

  • @maebbcow
    @maebbcow 4 ปีที่แล้ว

    So satisfying

  • @jabborif
    @jabborif 5 ปีที่แล้ว

    Now I feel the urge to play Elastomania

  • @JohnJohnson-qu2os
    @JohnJohnson-qu2os 4 ปีที่แล้ว

    There is no Creator who created this car, as it is improving and evolutionized itself.

  • @PhillipAdolMacGregor
    @PhillipAdolMacGregor 6 ปีที่แล้ว

    Maybe the track should slowly change through time too

  • @rahulsolankib
    @rahulsolankib 4 ปีที่แล้ว

    Wow yaar maza aa g
    aya

  • @dangs4m230
    @dangs4m230 6 ปีที่แล้ว

    Can I run this on my pc and watch it in real time?

  • @eliyazawa6921
    @eliyazawa6921 7 ปีที่แล้ว +3

    The final design is the first design a toddler would create.

  • @powercoque
    @powercoque 7 ปีที่แล้ว

    What is the genome program you use, pls?

    • @sm4llbit
      @sm4llbit  7 ปีที่แล้ว

      Not exactly sure what you mean, can you elaborate?

    • @powercoque
      @powercoque 7 ปีที่แล้ว

      Tomek S ok, i want to know who do you create that ai and the interface .

    • @GbpsGbps-vn3jy
      @GbpsGbps-vn3jy 7 ปีที่แล้ว

      He asks about which genetic algorithm you used in the simulation

    • @sm4llbit
      @sm4llbit  7 ปีที่แล้ว

      I didn't know there is more than one :)

    • @GbpsGbps-vn3jy
      @GbpsGbps-vn3jy 7 ปีที่แล้ว +1

      The most simple way is when you're mixing the genes while one of the designs finishes the track, but you need mixing based on each track part and each car must have a same lifespan. Genes mutate differently based on surrounding environment for a given time
      Maybe I (and he) made a mistake saying genetic while we should talk about which evolutionary algorithm and which method you are using in the video ...

  • @pdfbrander
    @pdfbrander 6 ปีที่แล้ว

    I managed to listen to a whole minute of that repetitive music before I had to turn the sound off. Do I win a prize?

    • @sm4llbit
      @sm4llbit  6 ปีที่แล้ว

      Dan Blackburn yeah man unfortunately yt doesn't let you change music after you reach some amount of views

    • @pdfbrander
      @pdfbrander 6 ปีที่แล้ว

      No biggie. Least I left a comment and a like.

  • @flyblu80
    @flyblu80 4 ปีที่แล้ว

    I study and apply this algorithms 10 years ago at university.

  • @JC-cr5ty
    @JC-cr5ty 6 ปีที่แล้ว

    Can you make the algorithm create a cell?

  • @mikebellamy
    @mikebellamy 5 ปีที่แล้ว

    The extrapolation implied by the term 'gene' that these models demonstrate how genes could actually evolve ignores the limitations imposed on the process by the Second Law of Thermodynamics. Knowing the latter I can tell you that assumption is wrong.
    Let me know if you want to know why.

    • @dennisreed6345
      @dennisreed6345 4 ปีที่แล้ว +2

      The earth isn't a closed system it gets energy from the sun

    • @droopsmoop
      @droopsmoop 4 ปีที่แล้ว +2

      Bruh how can you forget that the Earth is literally an open system

    • @dennisreed6345
      @dennisreed6345 4 ปีที่แล้ว +1

      @@droopsmoop they're scientifically illiterate

  • @YogeshPersonalChannel
    @YogeshPersonalChannel 6 ปีที่แล้ว

    Can you share your repo or code? I would like to contribute.

  • @muhammadramadan6509
    @muhammadramadan6509 5 ปีที่แล้ว

    can we take a look at your source code ?

  • @xorayondara
    @xorayondara 5 ปีที่แล้ว +1

    damn man..how can I learn about this from scratch?!

  • @glaysonmestre
    @glaysonmestre 7 ปีที่แล้ว

    Can you use this simulator to find perpetual motion or over unity peas make test and make video