"Goodbye! I mean not goodbye, in the past-the future for you-I'll see again, goodbye-not goodbye..." This dude is awesome
@sanjarmirakhmedov40167 жыл бұрын
Hello Mr. Daniel Shiffman, you are one of the greatest teachers in the world. When I watch your videos I don't get bored and at the same time I also learn something new. Wish you good luck with new videos sir.
@Le_Codex7 жыл бұрын
He is awesome for 1 thing. He bought an entire white board wall just to make explaning us things easier.
@xavierhorton57897 жыл бұрын
I am an enormous fan of this series, every time I find myself looking to try a new concept I come here! Thank you!
@Lanr1s7 жыл бұрын
Awesome series !
@panta_rhei.264 жыл бұрын
These videos are extremely informative even years later. Thanks Daniel for all your hard work, you make the KZbin coding landscape so much more fun.
@neoblackcyptron3 жыл бұрын
These videos are gold. I built my first genetic algorithm in c++ following the video series to evaluate words. I used a genetic algorithm that used one alpha dominant fitness candidate to cross over with all my other candidates with mutation thrown in and it worked. This video will help me go further. I’m planning to use OpenGL with c++ to implement what is shown here. I’m also really pumped regarding the neuroevolution playlist.
@sahajamatya7 жыл бұрын
Thank you so much for putting such time and effort into vids like these.
@henruh077 жыл бұрын
Daniel, your ability to teach and have fun and make what you're teaching fun to learn is incredible, and ,although I don't personally use p5.js, you've taught me so much about object-oriented programming as well as algorithms and data structures. Keep up the good work!
@TheCodingTrain7 жыл бұрын
Thank you!!
@aloveofsurf5 жыл бұрын
This is a beautiful journey you're offering to everyone. Thank you very much for sharing.
@aloveofsurf5 жыл бұрын
Bravo! Thank you for the accessible knowledge that is a true gift to all of us.
@aloveofsurf5 жыл бұрын
Aweful lot of aw, me goin' on. Breathe in deep breaths whose depth is only constrained by the greatness you want to live like you believe you've attained. Thank the creator of this video because this is a wonderfully exciting project for an individual taking it on while at the same time being promising to have many people introduced to the idea of computational hacking with models recreationally.
@seymurhamidov60917 ай бұрын
Best teacher and explanations! This man deserves best
@doomlexus8357 жыл бұрын
Great content as always - I just so happened to see this video in the playlist. Awesome!
@christianjt70186 жыл бұрын
You keep surprising us with awesome projects, one after another :)
@RanTutorials7 жыл бұрын
Set up a forum on your website and for each video where you would like to see submissions you should create a thread where a user can do so.
@memorablename51877 жыл бұрын
John Koza did this over 20 years ago, back then this was super advanced stuff. After my exams im going to follow a long with this, for my Inteligent agents modules i actually had a very similar course work assignment, but it wasnt evolved behaviour just programmed.
@matthewbraun65177 жыл бұрын
So fantastic! The wife and I enjoy watching the live streams :D Keep up the Amazing work!
@discoboy15007 жыл бұрын
Matthew Braun waw u and ur wife code that's so cool for u and ur partner in life to have the same passion goodluck in life for the both of u ^^
@matthewbraun65177 жыл бұрын
My wife doesn't code yet :D She just enjoys Dan's enthusiastic approach to life and is hooked on this.dot song :D
@discoboy15007 жыл бұрын
I knew it was 2 gud to be true :p
@TheCodingTrain7 жыл бұрын
Thank you!
@TheDarkOLeo7 жыл бұрын
I see the first few seconds, I'm hyped.
@daniellang42977 жыл бұрын
I love it! You are such a great and positive guy!
@alexi11826 жыл бұрын
I've been a programmer for the last 6 years now, and I know shit about neural crap. After watching this, I didn't turn into an expert or something, but at least the "crap" part is gone. Thanks Dan!!
@dynamicgecko12137 жыл бұрын
7:50 that is interesting because this algorithm can be used for scenarios in which the result is not obvious, like for example building an architectural structure much more efficiently.
7 жыл бұрын
i was wathcing this live! :D i love your videos, keep making them! :3
@TheCodingTrain7 жыл бұрын
Thank you!
@Naeddyr7 жыл бұрын
I'm not a programmer (though I know how), but I've had in mind for the longest time an evolution game that is similar to this. The basis would be the game of Snake, the genes are a binary tree (or a pair of them) that basically make a program that decides whether the snake goes forward (trees don't agree), right (both trees 'exit' right) or left (both tree 'exit' left), and the snakes would clone and procreate by doing some 'physical' action in the space. Probably find an 'unfertilized' egg or something, this is the hardest part to figure out. Kissing snakes? The snakes expend energy by moving through the binary tree program inside of them, and gain energy (and length = fat reserves) by eating generated snake food pellets or by eating the remnants of other, dead snakes. Naturally, they have to be able to 'see'... and they do so in a kind of Manhattan space manner, Z space in front and N to the left or right... Someday!
@rebornreaper1943 жыл бұрын
Have you made it? If not, you should
@koushikvarma26112 жыл бұрын
Ii hope i had a professor like in my university, who will teach with that much energy. So, Happy to learn from you.
@adomasz.39587 жыл бұрын
Love your videos!
@Tomyk99917 жыл бұрын
Finally. New videos! :o
@letoan2857 жыл бұрын
you are Genius Dev ever!
@rebuffedsalmon62647 жыл бұрын
Hey Daniel. You should consider doing a programming setup/room tour video. I'd love to see how you have your stream setup, and what you use when writing code. Thanks!
@Elyx07 жыл бұрын
He already did! It's in his videos somewhere
@kosmic0006 жыл бұрын
amazing and very interesting as usual dan
@mhmdalharbi23707 жыл бұрын
Finally i was waiting for you 😃
@MarkusBurrer7 жыл бұрын
Great series. And perfect timing. I want to do something in a Minecraft like game with A* pathfinding, steering behavior and maybe a little bit of evolution. I want to make mobs evolve over time to chase the player better and better
@TheCodingTrain7 жыл бұрын
Cool, please share if you do, I love minecraft!
@MarkusBurrer7 жыл бұрын
It is not Minecraft. The game is called Minetest and is open source. And if you make a series about AI you should also make videos about State Machines and GOAP
@TheCodingTrain7 жыл бұрын
Great suggestions!
@lonelybookworm5 жыл бұрын
What a NICE challenge
@RaccoonEatingCacti5 жыл бұрын
I really like the kind of things you're making in all your videos! I was trying to do some stuff like this using python, but after finding your processing and p5 videos I got hooked. I don't plan on giving up python, but I'm curious if you use processing and p5 because they're better suited for this 'modelling' stuff or if it's just preference? They have a very powerful API, so I'm glad to pick up the languages anyway. By the way your spirit is very refreshing, thank you very much for doing this.
@ahmedhafez37582 жыл бұрын
you're a legend
@Max-bh8tg7 жыл бұрын
Your mannerisms are very entertaining
@vigneshpadmanabhan4 жыл бұрын
Can we have a session with a side by side comparison between reinforced learning and genetic algorithm working on the same problem ? Thanks !
@gaziagulnarmohit_4 жыл бұрын
Amazing video really u r cool...
@WistrelChianti2 жыл бұрын
that error looks like it might be whatever the JS equivalent of array out of bounds exception as it happens when the food vanishes. So guessing something in the draw function and it using an old value for the length of the array
@anidea80124 жыл бұрын
Hi , i am from future and i have gud news for you that is you'll get a million subscribers in 2020 so keep it up😹
@cameronnichols99057 жыл бұрын
How about implementing a genetic algorithm with machine learning? Such as the food has a label of 1, and the poison has a label of -1, and the vehicles would learn what to eat, and what avoid... I'll look into this when I'm done watching this series.
@cameronnichols99057 жыл бұрын
And after watching more of the video, I learn this is being implemented lol
@amdreallyfast7 жыл бұрын
Out of curiosity, why is p5's vector positioning upside down? Velocity 0 goes down. Similarly, using beginShape() and endShape(), vertex(-100, -100) and vertex(+100, -100) makes a 200-pixel horizontal line above the centerline of the canvas. I found this in your setup code for this session: github.com/shiffman/The-Nature-of-Code-Examples-p5.js/tree/master/chp06_agents/NOC_6_01_Seek
@fuoser7 жыл бұрын
good guy dan links to all unreleased parts.
@tomburris83807 жыл бұрын
Nice haircut Dan :)
@TheCodingTrain7 жыл бұрын
Thank you!
@rizkiheryandi57597 жыл бұрын
he show about how great to be a frontend developer 😎😎😎
@0Destroyergm05 жыл бұрын
I'm having trouble understanding why we add PI / 2 from the vector.heading? Which angle are we getting exactly when we say vector.heading? Relative to which line?? That part with angles always confused me with vectors and simulations, and I'm not sure how you knew exactly to add PI / 2 to make it face the mouse. Can anyone explain a bit?
@moaddoghmi79815 жыл бұрын
Same for me!!
@finnlyonn2373 жыл бұрын
PI / 2 = 90 degrees
@Spartacus695 жыл бұрын
These videos are amazing at 1.5 speed. #toomuchcaffeine
@jakubandrzej7917 жыл бұрын
Would you, by any chance do a video about random forests? Please :D
@jakubandrzej7917 жыл бұрын
will do :D
@numero7mojeangering6 жыл бұрын
it wil be nice if the agent can see the color of the food but not tell if i'ts poison or not, it will learn it after some time. With this in mind wou can have food that give you more life than other and some that kill you instantly, and also some fake food with color that dont mach with what the food will do
@PaulGoux5 жыл бұрын
Wow it took me 2 days to complete this.....
@CSRocks7 жыл бұрын
Great video! Was anyone able to catch what's written on Dan's t-shirt?
@TheCodingTrain7 жыл бұрын
It's "Common Place" a poetry podcast! commonpodcast.com
@CSRocks7 жыл бұрын
Thank you Dan!
@Hirukaki5 жыл бұрын
I really enjoy following along in this videos but I cannot find where to start on this one! You say the link is in description, but which one? I'd rather follow along with a vid, but even if there is the code on github i can just copy and paste I'd be happy. But nothing I can find in the links you provide matches the example you start with!
@TheCodingTrain5 жыл бұрын
You can find the code and links to related videos here! thecodingtrain.com/CodingChallenges/069.1-steering-evolution.html (Also, maybe this one will help: thecodingtrain.com/CodingChallenges/059-steering-text-paths.html)
@PaulGoux5 жыл бұрын
Where can I post examples of our own creations based on your code?
@beaverjoe91716 жыл бұрын
OMG I spent many times to check and tell myself the food can be written in the object file because this is one global can be used anywhere. and change some to the food and keep others list. And always find why some errors on my running broswer. And finally I speed up to the end you find the food should be list.....
@martlesmartlesmartles7 жыл бұрын
could you make a video on making a chat with p5.js?
@1morelight7 жыл бұрын
Shouldn't these videos of this coding challenge be after the ones about genetic algorithms in the "Intelligence and Learning" playlist? They are before. As always great video! Thaaaaaanks :)
@TheCodingTrain7 жыл бұрын
Yes, good point! I've fixed it now.
@1morelight7 жыл бұрын
👏👏👏👏
@pereirayip8815 жыл бұрын
Hey Daniel! Is there anyway that I can have this drawn in angular ? I have having issues converting this over..
@sleep30174 жыл бұрын
Where can I get your transparent laptop on your left?
@attyuttamsaha87 жыл бұрын
can you tell me some possible applications of this project that you have built? Thanks :)
@xavierhorton57897 жыл бұрын
Does he do lectures anywhere publicly? Does anyone know?
@gumbilicious17 жыл бұрын
Xavier Horton he is a professor at NYU I believe
@RRoda7 жыл бұрын
I love you ❤️
@anuragghosh11396 жыл бұрын
Hey I want to do my college BTech project on this but I am having a hard time explaining what it's applications are....could you suggest a few?
@prateek6502-y4p5 жыл бұрын
Hi coding train...I am from future. Pls make tutorials on reinforcement learning
@adamrozzon79017 жыл бұрын
Im learning JavaScript like : I copy what he does and I start learning what do different lines do.
@rky.917 жыл бұрын
this is realy cool! can you provide code of this challenge also for processing environment? :) please
@TheCodingTrain7 жыл бұрын
I would love to do this! Please file an issue at the github repo and I will try to get to it (or maybe someone will volunteer to port!)
@xFrizix7 жыл бұрын
1:53 poisson dots :D
@Tetzuoe7 жыл бұрын
I feel compelled to comment about the itchy nose
@GabREAL19837 жыл бұрын
your hair is too short. your stuff is still on point and funny.
@sohailape6 жыл бұрын
one question, i studied you tutorial of steering a object but you used processing in that tutorial not p5.js . When i implement the code in js it is saying there is no PVector in p5.js file. I couldn't find much on google about this. Please help
@TheCodingTrain6 жыл бұрын
look for createVector()
@sohailape6 жыл бұрын
thanks
@syedbaryalay58496 жыл бұрын
You are wearing both your favourite colours
@angelcaru5 жыл бұрын
4:17 Its called punishment
@dogefromage19177 жыл бұрын
does someone know why my live preview closes if i open the chrome console?
@dashsmashing7 жыл бұрын
So is steering similar to LERP, linear interpolation?
@persus20017 жыл бұрын
Dan, can you make a video about how to create a multiplayer app using javascript
@TheCodingTrain7 жыл бұрын
If you look for my agario challenge and my shared drawing canvas that will help you get started.
@persus20017 жыл бұрын
Thanks
@Dignometry7 жыл бұрын
0:47 observe the right poison
@JoseMorales-vv5fx7 жыл бұрын
Am I the only one that is new to coding ? I'm going for a major thats bachelor of science in software engineering. It seems pretty fun
@TheCodingTrain7 жыл бұрын
You can use these playlists to start from scratch! kzbin.infoplaylists?view=50&shelf_id=14&sort=dd kzbin.infoplaylists?view=50&shelf_id=2&sort=dd
@JoseMorales-vv5fx7 жыл бұрын
Thank you so much. You honestly make coding seem really fun. God Bless!!
@therickestric7 жыл бұрын
i just downloaded atom to code with p5.js but i cant see the result of the code (viewer) what can i do to use chrome as viewer or which package does daniel use
@gumbilicious17 жыл бұрын
Ricardo Rico you have to make an HTML page to run the JavaScript in. There is an example of how to this in the p5.js download. I think the example is in a folder called "blank example" or something similar, it uses an HTML page called index.html and a js file called sketch.js. You can open sketch.js with atom and insert your code there and then open up index.html in a web browser to view the results. Hope this helps
@sohailape6 жыл бұрын
can anyone suggest a software or framework where i can make such small games or prototype programs easily
@holthuizenoemoet5916 жыл бұрын
WOW, why is the video description in Dutch for me ? ( surreal feeling wtf) .
@shayanjavadi7 жыл бұрын
Dan what are the chances that you could start start using ES6 syntax? Also why no use prototype instead of this.
@TheCodingTrain7 жыл бұрын
I've started using prototype more in my videos (since I made a tutorial about it) and would like to adopt ES6, but am holding off as p5.js examples are generally all written with ES5. Would love opinions and advice about this.
@shayanjavadi7 жыл бұрын
The Coding Train Maybe you can have the community help you rewrite some of the examples in ES6, or maybe make a separate guide for it. I'd personally be interested in helping And then maybe you could make a lesson on ES6? I know people that watch your videos that would kill for that. You're an amazing teacher by the way!
@Held0067 жыл бұрын
Where does he link to the code he starts out with (@09.28)?
@thegreenhoneybee96877 жыл бұрын
github.com/shiffman/The-Nature-of-Code-Examples-p5.js/tree/master/chp06_agents/NOC_6_01_Seek Your welcome :P
@DieTankstellenCrew7 жыл бұрын
what a nice guy :D thank you ^^
@kelvin805837 жыл бұрын
How do you install that thing that you write the code?
@redhen7 жыл бұрын
Kermit Pika das Galaxias Also, check out CodePen: here is a pen template with the p5 library already set up for you - codepen.io/RedHenDev/pen/MpJeoo
@kelvin805837 жыл бұрын
ok, thank you
@TidalMaker7 жыл бұрын
You have beautiful salt-and-pepper hair.
@therickestric7 жыл бұрын
i cant install p5 or processing, can anyone help?........... i just found that there is no editor for p5, which one does dan use, or i should get
@Fledron7 жыл бұрын
Ricardo Rico You can? Or you can't?
@therickestric7 жыл бұрын
cant, sorry
@Fledron7 жыл бұрын
Ricardo Rico Do you get any error message?
@therickestric7 жыл бұрын
in processing its very long but the first thing it says is "java.lang.nullpointerexception" and then describes lots of errors all like "base". can you recomend an editor for p5, or its better to download the old one
@Fledron7 жыл бұрын
Ricardo Rico I have never done anything with processing, I use Java. But you could Google if there is maybe an Eclipse Plugin for it, or just an processing editor. If nothing works, just use Notepad++, because it still has code highlighting.
@edfarage7 жыл бұрын
Do you think this can work for a game like chess?
@goldmanlee84037 жыл бұрын
Ed Farage it would work, but it wouldnt be the most effective methid because the system would start out with no clue what to do
@DSK_ytbe6 жыл бұрын
Hi, could a genetic algorithm learn backgammon?
@D4rkS7der7 жыл бұрын
Pink t-shirt and purple hoodie? Really? ...Anyway, great video as always! I love your excitement and this topic is really interesting!
@mendisterenfeld26687 жыл бұрын
Can I use this language on visual Studio?
@ledues33367 жыл бұрын
Yes, but I'm 99% sure you are gonna have to tick some more boxes in the installer program
@mendisterenfeld26687 жыл бұрын
Le due S like what?
@gumbilicious17 жыл бұрын
You can use this when making asp.net pages in visual studio. I usually just place the p5.js library in my js folder and then run another include on my HTML page to include it and that is it
@mendisterenfeld26687 жыл бұрын
Le due S didn't work
@gumbilicious17 жыл бұрын
mendi stern I don't know what to tell you because I have done this quite often and it worked just fine. If I was at my computer I'd paste a sample, but I am not
@mikedelmonaco61937 жыл бұрын
What is he writing his code in? It looks nothing like p5js
@TheCodingTrain7 жыл бұрын
I'm using the atom editor, here are some other workflow videos: sublime text: kzbin.info/www/bejne/i3Srq5-Lnql3Z5I atom editor: kzbin.info/www/bejne/mmSylHmbrcpsf80 brackets: kzbin.info/www/bejne/pJ69k5uDltOJmbs codepen: kzbin.info/www/bejne/a5jJhpqEpbhpobs
@mikedelmonaco61937 жыл бұрын
Thanks for the reply!
@ashikmahmood40186 жыл бұрын
p5 js or processing????
@angelcaru3 жыл бұрын
p5.js
@Twitchi7 жыл бұрын
No one talking about the itchy nose? for shame youtube comments for shame
@kuskus_th137 жыл бұрын
*I'M GONNA GIVE YOU A CONSEQUENCE*
@bbugarschi6 жыл бұрын
is it just me or does the video skip frames every now and then?
@RadioHeavenTamil7 жыл бұрын
3rd comment
@kalenmcnamara87117 жыл бұрын
69.....hehehe
@mathiasgredal987 жыл бұрын
Someone make diep.io with this thing
@maxscribner17437 жыл бұрын
Haha I made this same project a year ago
@TheCodingTrain7 жыл бұрын
Would love to see it!
@rebornreaper1943 жыл бұрын
Don't worry I won't talk about your itchy nose. 🙂
@joraforever98997 жыл бұрын
can you make this series so its more for grown people, so i dont look like an idiot when watching your outro, your content is really good for starting programers, and i dont think that 7 y.o. kids will be interested in js.
@Illusionaire17 жыл бұрын
If you are worried about looking grown up, you haven't.
@Twitchi7 жыл бұрын
Have to agree with illusionaire here, like honestly, why are you so worried about appearing "grown up"?
@Fledron7 жыл бұрын
JoraForever Erm, it IS for grown people. As you said, most children are NOT interested in programming (except me)
@memorablename51877 жыл бұрын
lol what 7 year old can write genetic algorithms.... im 21 and been programming for 5 years and I have a hard time with this stuff still
@Fledron7 жыл бұрын
It's easier learning things when you're a kid. That's why.
@mrreese23422 жыл бұрын
p5.min.js:3 Uncaught TypeError: e.copy is not a function at l.default.Vector.sub (p5.min.js:3:622389) at Vehicle.seek (vehicle.js:56:31) at draw (sketch.js:51:11) at o.default.redraw (p5.min.js:3:493894) at _draw (p5.min.js:3:430041)