Coding Challenge #69.3: Evolutionary Steering Behaviors – Part 3

[ad_1]
This is part 3 (five parts total) of an evolutionary steering behaviors coding challenge. The goal is to create a system where autonomous steering agents evolve the behavior of eating food (green dots) and avoiding poison (red dots).

This challenge is part of the spring 2017 ITP “Intelligence and Learning” course (

Link to Part 1:
Link to Part 2:
Link to Part 4:
Link to Part 5:

Support this channel on Patreon:
To buy Coding Train merchandise:

Send me your questions and coding challenges!:

Contact:
Twitter:
The Coding Train website:

Links discussed in this video:
The Nature of Code Part 2 (Spring 2017) – Intelligence and Learning:
Repo for Autonomous Agents in p5.js:
Nature of Code:
Craig Reynolds’ Steering Behaviors:
My Video on Autonomous Agents and Steering:
My Genetic Algorithm Playlist:
My Video on Vectors in p5.js:

Source Code for the all Video Lessons:

p5.js:
Processing:

For More Coding Challenges:
For More Intelligence and Learning:

Help us caption & translate this video!


Posted

in

by

Tags:

Comments

28 responses to “Coding Challenge #69.3: Evolutionary Steering Behaviors – Part 3”

  1. Spektar Spartan Avatar

    can he do java and js

  2. TheDarkOLeo Avatar

    I've coded along and there is this one guy that has survived for like 10 Minutes now.
    I've named him jerry.
    I don't want to refresh the page because I got attached.

  3. bysTaXx Gaming Avatar

    I wish I grabbed this video live, because DNA should have simply have been an object itself to better organise everything without commenting the hell out of everything

  4. TheWGBbroz Avatar

    The last one alive was sort of immune for the poison because it's perception for the poison was so low that it doesn't even see it and thus doesn't eat it. Pretty interesting

  5. Code Pizza Avatar

    Hey guys! Im a web developer in NYC trying to complete my associates. A few months ago I learned soo much Javascript from Daniel Shiffman. This week i got inspired to do the same whats hes doing. Check out my channel Im making HTML, CSS, and javascript videos. Subscribe it would mean alot to me ! Thank you

  6. francois dufranc Avatar

    Awesome lesson !
    I am watching your for a month, and gave a shot to P5 to reproduce this lesson yesterday with the full video.
    I love it, i love your lessons, you are showing great subjects, interresting projects, fun and really well explained!
    Don't change anything (or too much…) stay just like you are since i am watching <3

    Greetings from Belgium

  7. Mathias Koizumi Avatar

    OMG…thats kinda cool : /

  8. Mark Jordan Avatar

    I love this guy 😉

  9. Carrot Slice Avatar

    Amazing video as always! I got a suggestion: Make a chat bot that talks like a human and learns from your conversations

  10. Simon Matthews Avatar

    Awesome video Daniel!

  11. Raja Williams Avatar

    Can you do a video on p5.play?

  12. R M Avatar

    Thank you for all your videos! I really wish you would make a video about shaders, I can't find any that gives a good explanation from a Processing point of view.

  13. Javier Query Couce Avatar

    I love how the mother eats the food of the newborn cells killing them by starvation

  14. Apostou Avatar

    YEAH, daily dose of the coding train arrived, choo choo mothercoder

  15. Rahul Creations Avatar

    can u tell me your Gmail address please

  16. JoraForever Avatar

    13:57 that creature has discovered a bug, it doesn't eat the red stuff

  17. Deusdedit John Avatar

    I noticed that the poison wasn't getting eaten by the last vehicle, however since the poison neither decayed nor was it being removed after a time we could be looking at a scenario where a large amount of poison exists making it hard for even the best vehicles to survive.

  18. Dennis Kim Avatar

    Thanks so much for this! Keep doing what you do!

  19. Dark_R3puls3r Avatar

    could you do a coding challenge on The pendulus thing I think that would be very cool

  20. Kumaresh Rajalingam Avatar

    Hi I saw your series It's awesome but we need some stufss like virtual reality means mainly on webVR like A-Frame can u please do these series?

  21. Fullstack Devs Avatar

    at 9:44 the food perception is the same as the poison perception, if you notice whenever the food gets into the poison perception it starts steering towards it

  22. GryTrean Avatar

    Oh wow, I didn't notice that there were unpublished videos

  23. MrBloodyshadow Avatar

    Wouldn't be better to map the distance to the poison with the repulsion force instead of using perception radius?
    The repulsion would be low when it's really far and strong when it's close.

  24. Dashsmashing Avatar

    Love how your other laptop is in the shot, but translucent. A ghost laptop!

  25. Ibakon Ferba Avatar

    I noticed that some of the vehicles are eating poison and it has no effect on them. The reason is probably that you never restricted the health, so they have so much food that the health is way more than 1, so even the -0.5 of the poison don't bring it back under 1 again

  26. The Circuit Avatar

    Poison won't be eaten if it can't see it. Move the perception test to the seek function call

  27. Dadderdew Avatar

    Wouldn't it be better instead of giving them a perception radius to use the distance between the veichle and the closest food/poison to determine how much force does the steering have? Because like this the veichle might not be able to find any more food even if there still is some in the world.

Leave a Reply

Your email address will not be published. Required fields are marked *