13:10: "Maybe the optimal one might just kind of appear", Dan says as the optimal one gloriously emerges behind him, at that exact moment, after all others died
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
I'm making food/poision with ranging health The other thing I do is a make a gene pool select and combine two parents, then replace a random gene in the pool if its better I also have genes with a score and normalized value, re-normalise all values when there is a new high score
For the lazy, here is the link for the stay within walls code: github.com/shiffman/The-Nature-of-Code-Examples-p5.js/tree/master/chp06_agents/NOC_6_03_StayWithinWalls your welcome :P
Why fix it? I don't have time every day to watch stuff much easier to binge when I have time. It also works out for TCT because youtube's system rewards reliable upload schedules, its a win win!
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.
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.
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
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
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
I tried to click to the p5.js sketch to try to implement the evolotion myself, by when it opened the final version was already there :( does anyone have a backup ??
Imagine Dan H being god giving a presentation to his 5th dimensional being colleagues on how he created humans. Like dna dna dna dna lets go add two more!
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.
neat! i really like the avoid edges thing. added that to my "Boids" project. using the stuff you show me here. lovin it. i'm getting a strange behaviour ... the boids like the bottom of the canvas! I want to add one or two more buttons to the simulation, but you can see it in action here at my self-hosted website: night-stand.ca/boids/index.html do the boids just wanna turn one direction over another (clockwise over counter-clockwise)? PS: If you check out my boids, you can press 1, 2 or 3 to change the speed of the boids (those are the buttons i want to add to the sim)
13:10: "Maybe the optimal one might just kind of appear", Dan says as the optimal one gloriously emerges behind him, at that exact moment, after all others died
13:57 that creature has discovered a bug, it doesn't eat the red stuff
isn't that what we want??
6:14 the little vehicle struggles trying to reach the piece of food in front of him... But the other vehicle steals it with arrogance
Love how your other laptop is in the shot, but translucent. A ghost laptop!
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
7:00 just pass perception as an argument straight away
Also, initialize record as perception to remove unnecessary check
"I want to be a little bit more thoughtful about this", *adds uncommented magic constant to cut-and-pasted code*... 💯🔥
Poison won't be eaten if it can't see it. Move the perception test to the seek function call
Wait, the video was uploaded few hours ago but your comment is 5 days old. How?
It was in the Intelligence and Learning playlist, but as unlisted.
Whoa Bisofic you're right... That's weird
all videos were available in the description
yes,it's a bug
Thanks so much for this! Keep doing what you do!
I'm making food/poision with ranging health
The other thing I do is a make a gene pool select and combine two parents, then replace a random gene in the pool if its better
I also have genes with a score and normalized value, re-normalise all values when there is a new high score
For the lazy, here is the link for the stay within walls code:
github.com/shiffman/The-Nature-of-Code-Examples-p5.js/tree/master/chp06_agents/NOC_6_03_StayWithinWalls
your welcome :P
Thank you for linking this!
Why fix it? I don't have time every day to watch stuff much easier to binge when I have time. It also works out for TCT because youtube's system rewards reliable upload schedules, its a win win!
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.
Good point!
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.
It's on my list!
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
Also this heavily affects their lifetime
Yes, it would interesting to see how capping their health affects the evolution.
I loved "Poision percepton"
YEAH, daily dose of the coding train arrived, choo choo mothercoder
Amazing video as always! I got a suggestion: Make a chat bot that talks like a human and learns from your conversations
What a leap
That's the whole field of NLP right there.
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
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
It's so repelled by the poison on the other side of the screen that it cannot eat the food right next to it. Sounds like anxiety disorder.
could you do a coding challenge on The pendulus thing I think that would be very cool
hey but what happens if there is no food/poison in it's perception? it gives an error
I love this guy ;)
I love how the mother eats the food of the newborn cells killing them by starvation
I tried to click to the p5.js sketch to try to implement the evolotion myself, by when it opened the final version was already there :(
does anyone have a backup ??
Imagine Dan H being god giving a presentation to his 5th dimensional being colleagues on how he created humans. Like dna dna dna dna lets go add two more!
Can anyone help I have an error where at the beginning there are a lot of vehicles just flying off of the screen?
Oh wow, I didn't notice that there were unpublished videos
this is art by using code
Can you do a video on p5.play?
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.
You can actually serialize that agent and save as binary data for later use.
neat! i really like the avoid edges thing. added that to my "Boids" project. using the stuff you show me here. lovin it. i'm getting a strange behaviour ... the boids like the bottom of the canvas! I want to add one or two more buttons to the simulation, but you can see it in action here at my self-hosted website: night-stand.ca/boids/index.html
do the boids just wanna turn one direction over another (clockwise over counter-clockwise)?
PS: If you check out my boids, you can press 1, 2 or 3 to change the speed of the boids (those are the buttons i want to add to the sim)
ugh i wanna do vr but i dont have windows
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?
Please use proper variable names. "d" is not a proper variable name. Nobody, except you, knows what it is. I'm triggered. lol