Random Walker in p5.js (Coding Challenge 52)

Поділитися
Вставка
  • Опубліковано 26 чер 2024
  • In this coding challenge, I simulate a "random walk" with the p5.js library. This video is part of the course Nature of Code at ITP, Tisch, NYU. Code: thecodingtrain.com/challenges...
    🕹️ p5.js Web Editor Sketch: editor.p5js.org/codingtrain/s...
    🎥 Previous video: • A* Pathfinding Algorit...
    🎥 Next video: • Coding Challenge #53: ...
    🎥 All videos: • Coding Challenges
    References:
    🚶🏽‍♀️ Random walk Wikipedia article: en.wikipedia.org/wiki/Random_...
    5️⃣ random Function Reference Page: p5js.org/reference/#/p5/random
    5️⃣ floor Function Reference Page: p5js.org/reference/#/p5/floor
    📕 The Nature of Code GitHub (Spring 2017): github.com/nature-of-code/NOC...
    Live Stream Archive:
    🔴 Live Stream #73: • Live Stream #73: Rando...
    Related Coding Challenges:
    🚂 #53 Random Walker with Vectors and Lévy Flight: • Coding Challenge #53: ...
    🚂 #162 Self Avoiding Walk: • Coding Challenge 162: ...
    Timestamps:
    0:00 Introduction to the Random Walker Coding Challenge
    1:56 Whiteboard explanation of a random walk
    6:48 Into the code...drawing a point!
    7:30 Picking a random number between 0 and 4 using p5.js's 'random' and 'floor' functions
    9:58 Setting up the code to use the random number
    12:26 First run! The point...it wibbles...it wobbles
    12:48 Stop clearing the background every frame so that we can see the point's path
    13:10 Discussion of the possibilities of the random walker
    Editing by Mathieu Blanchette
    Animations by Jason Heglund
    Music from Epidemic Sound
    🚂 Website: thecodingtrain.com/
    👾 Share Your Creation! thecodingtrain.com/guides/pas...
    🚩 Suggest Topics: github.com/CodingTrain/Sugges...
    💡 GitHub: github.com/CodingTrain
    💬 Discord: / discord
    💖 Membership: ua-cam.com/users/thecodingtrainjoin
    🛒 Store: standard.tv/codingtrain
    🖋️ Twitter: / thecodingtrain
    📸 Instagram: / the.coding.train
    🎥 Coding Challenges: • Coding Challenges
    🎥 Intro to Programming: • Start learning here!
    🔗 p5.js: p5js.org
    🔗 p5.js Web Editor: editor.p5js.org/
    🔗 Processing: processing.org
    📄 Code of Conduct: github.com/CodingTrain/Code-o...
    This description was auto-generated. If you see a problem, please open an issue: github.com/CodingTrain/thecod...
    #random #floor #randomwalker #p5js #javascript #processing #java

КОМЕНТАРІ • 230

  • @waelandelder9698
    @waelandelder9698 5 років тому +20

    One of the best coding teachers, great job!

  • @branislavbily6381
    @branislavbily6381 7 років тому +6

    I just wanted to say that you taught me more about programming than my teacher did in half a year by a mile. Your students are really lucky :D

  • @SubparFiddle
    @SubparFiddle 7 років тому +3

    Congratulations on 200,000 subs, Daniel! They're well-deserved!

  • @hassengaming1100
    @hassengaming1100 4 роки тому

    i really miss theses kind of videos and i find them helping me the most

  • @sck3570
    @sck3570 7 років тому +7

    Nice 200,000 subscribers , congrats man you really deserve more

  • @Lovi07
    @Lovi07 7 років тому +1

    You just hit 200000 subs! Congrats Daniel! Keep up the good work!

  • @Calz20Videos
    @Calz20Videos 7 років тому

    You deserve more subs. I am working on a p5.js video for my channel and I mentioned you because you are one of the best teachers on youtube. My coding challenge was a tag game.

  • @tomdecock6027
    @tomdecock6027 7 років тому

    Man I love you !! Never knew coding stuff would be fun after 2 years of college

  • @SaintPepsiSanCoca
    @SaintPepsiSanCoca 7 років тому +5

    wow your channel has grown heaps! congrats on almost 200k! wow.
    Also, love the train flute, keep it up!

  • @DefY0806
    @DefY0806 7 років тому +1

    Exactly 200.000 subscribers!
    Congratulations :)

  • @that_lurker
    @that_lurker 7 років тому +105

    You know a coder is legit when he has a longish beard :P

    • @webgpu
      @webgpu 3 роки тому +2

      and apparently this has nothing to do with testosterone levels

  • @igniculus_
    @igniculus_ 7 років тому +2

    Congratulations for 200k subscribers !!!!

  • @Brahvim
    @Brahvim 2 роки тому +1

    Coding Challenge #52, yay! If you were producing and releasing these every week, it would mean that you made year's worth of content :o

  • @ricksouth6818
    @ricksouth6818 7 років тому +1

    Keep up the good work.

  • @TheDotdane
    @TheDotdane 7 років тому

    Gratz on 200k subs!

  • @kosmic000
    @kosmic000 7 років тому +1

    awesome vid daniel!

  • @KydroxHD
    @KydroxHD 7 років тому +8

    Is there another youtuber like you that makes coding entertaining for other languages?

    • @Slada1
      @Slada1 6 років тому +5

      KydroxHD He is unique

  • @maskedraider8017
    @maskedraider8017 7 років тому +5

    Thats what you call an unique outro xD

  • @redsalmon9966
    @redsalmon9966 7 років тому

    200k subs congrats😃

  • @lodelux6318
    @lodelux6318 7 років тому

    congrats on 200k :DD

  • @TheDarkOLeo
    @TheDarkOLeo 7 років тому +55

    I'm sorry dan, I'm never very creative with your videos, i just follow them step by step and be happy that i made a little application :D

    • @TheCodingTrain
      @TheCodingTrain  4 роки тому +24

      Perfectly great way to experience them too, I approve!

  • @albertjjimenezp
    @albertjjimenezp 5 місяців тому +1

    Genial!!!, muchas felicitaciones, y te pasa igual que a muchos de nosostros con la sentencia SWITCH, puedes usar tambien un map
    {
    0: "UP",
    1: "LEFT",
    2: "DOWN",
    3: "RIGHT"
    }

  • @Texplanations
    @Texplanations 7 років тому +3

    YESSSSSSSSSSSSS!!!!!!!! YOU HIT 200K !!!!!!!!

  • @christophercaptain
    @christophercaptain 7 років тому +1

    you rock bro.

  • @costantementescacchi8317
    @costantementescacchi8317 7 років тому

    The best... Awesome! Thx

  • @d_sanu
    @d_sanu 8 місяців тому

    Random (stochastic) processes are typically used for communication purpose, to model the transmitter & receiver of analog/digital signals

  • @winro7436
    @winro7436 7 років тому +2

    nice job brah

  • @niiiko_gn
    @niiiko_gn 7 років тому

    your style in the vidoes are really entertainment :D

  • @Thehero394
    @Thehero394 7 років тому

    I always give u a like before I watch the video. Cuz I know you r awesome

  • @ChildofDestiny22
    @ChildofDestiny22 7 років тому

    Why is this so entertaining to watch?

  • @Jaultaub
    @Jaultaub 7 років тому

    love your vids!!

  • @grizzlycougar
    @grizzlycougar 7 років тому

    Like the new set up. Lol I always forget how to set up a switch statement too.

  • @NaphineBubbles
    @NaphineBubbles 7 років тому +3

    that thumbnail

  • @universalworthy2169
    @universalworthy2169 Рік тому

    'I got a thing in my brain' lol , me too Dan

  • @PeguinDesign
    @PeguinDesign 7 років тому

    The first time I ever used p5js I created this exactly (even the colour choice was the same), eerie. Danel are you a time traveler?

  • @TheNickinator96
    @TheNickinator96 7 років тому

    I just coded a similar thing in vPython. I set it so that whenever it got a certain distance from the center, it would reset it's position back to the center. It looks pretty cool!

  • @MixandmingleStuff
    @MixandmingleStuff 7 років тому

    Random walkers but based on another variable (ex : resources) would be fun !

  • @rishavmitra5732
    @rishavmitra5732 Рік тому

    I really love your videos. I have also implemented some of your projects, but in Python and Pygame (since I'm more comfortable with that)

  • @yowshi5270
    @yowshi5270 7 років тому

    Amazing vid !

  • @c0mpuipf
    @c0mpuipf 7 років тому +1

    i tried to modify the random walker to something that can give me something of a stock market evolution feeling. It's really weird because the same things sort of apply (fibonacci retracement, double tops/bottoms etc.
    this is what i put in draw:
    stroke(255);
    strokeWeight(8);
    point(x, y);
    x = x + 10;
    var yr = floor(random(2));
    switch(yr) {
    case 0:
    y = y + 10;
    break;
    case 1:
    y = y - 10;
    break;
    }

  • @AbhijitZimare
    @AbhijitZimare 7 років тому

    200,000th Subscriber :)

  • @Pyropter
    @Pyropter 7 років тому +1

    I feel like such an idiot. We had to do a project for my digital media class where we create a basic paint program using P5. I got it to draw lines but for some reason the lines would immediately disappear after being painted onto the canvas. So I made it so that the program would store all of the coordinates for every line drawn in a vector and then repeatedly update the screen by looping through the vector and drawing said lines for every frame. I submitted that.
    After watching this video, I now realize that the reason for my issue was because I put background(255) at the beginning of my draw() function, which repeatedly refreshes the screen. If I had simply removed that line, the project would've been so much easier. Rip.

  • @rjgucela7125
    @rjgucela7125 7 років тому

    hello sir daniel, i would like to ask if there is a user input in processing? like cin>> for c++ what is for processing?

  • @Algebrodadio
    @Algebrodadio 7 років тому

    @The Coding Train Persi Diaconis had a great lecture series on - essentially - what does it mean to be random. Highly recommended.

  • @pranav_r
    @pranav_r 7 років тому

    Is there the possibility that these videos will be available in 1080p in the future? I would really love that. (Hey, it can only help a great channel, right?)

  • @BendMeOverDaddy
    @BendMeOverDaddy 7 років тому +3

    You look like one of my teachers at school, I'm in Australia though.

  • @poorusher
    @poorusher 2 роки тому

    Yes! People bang on about using switch statements but they only allow you to test one variable, IF statement is much more flexible (IMHO)

  • @midnightrizer
    @midnightrizer 5 років тому

    The Classic Example i associate with random walk is hill climb/ cliff or the Drunkards walk. which is the term i first learned in place of random walk.

  • @stefanpopa6668
    @stefanpopa6668 7 років тому

    200K subscribers!!!

  • @malvinmejia4575
    @malvinmejia4575 7 років тому

    Dan can you code a countdown timer circular like, with a line as big as a radius mapped to the countdown time that changes the color of the circle as it moves?

  • @pleabargain
    @pleabargain 7 років тому +2

    8:30 explains the floor function

  • @gautehestad8192
    @gautehestad8192 7 років тому

    I am a big fan of your work, and I would very much like to see more videoes on how to use the Kinect. Using libraries to find skeletons, faces, hands etc. tnx

  • @mrnarason
    @mrnarason 7 років тому

    I'm trying to model a cheetah and antelope chase system using random walkers. How would you implement it so that if one walker is in contact/intersects the other walker the program terminates? Also I'm trying to use your other video on attraction and repulsion to model the attraction of the walker to the other walker.

  • @ibrohimbekrustambekov6701
    @ibrohimbekrustambekov6701 2 роки тому

    Hi Daniel Shiffman!
    First of all, let me express my sincere appriciation to your esteemed efforts! And now I started reading your book which is called "the Nature of Code". And here is my question: 1. when playing randomCounts in rect like this:var randomCounts = [];
    for (var i = 0; i < 20; i++) {
    randomCounts[i] = 0;
    }
    var rectWidth = floor(width/randomCounts.length);
    noStroke();
    // Animate the distribution of random numbers over time
    var draw = function() {
    background(255, 255, 255);
    var index = floor(random(randomCounts.length));
    randomCounts[index]++;

    for (var i = 0; i < randomCounts.length; i++) {
    fill(mouseX, mouseY, mouseY);
    rect(i*rectWidth,
    height-randomCounts[i],
    rectWidth-1,
    randomCounts[i]);
    fill(0, 0, 0);
    text(i, i*rectWidth+1, height-10);
    }
    }; how can I make it rapidly on screen I mean, how can I play the drawing again from begining, without clicking "Restart".

    • @TheCodingTrain
      @TheCodingTrain  2 роки тому

      Come and join the discord, it's a better place for code discussion and help! thecodingtrain.com/discord

    • @ibrohimbekrustambekov6701
      @ibrohimbekrustambekov6701 2 роки тому

      I am sorry Sir! But it is not working it is showing @@TheCodingTrain "hCapta" over and over or maybe this course is done only during certain hours, I live in Tashkent, Uzbekistan. That's why maybe our clocks may differ? All in all, Thank you for your kind attention and corporation!

  • @yanfoo
    @yanfoo 7 років тому +1

    Instead of a switch statement, in JavaScript, you can map an object or array with a function and call it.
    var fn = [ function a(x) { return x + 1; }, function b(x) { return x - 1; } ];
    var x = 100;
    var i = floor(random(2));
    var v = fn[i](x);
    No if, no switch, clean syntax.
    EDIT: it's slower and not useful on small use cases, but if there are many branches, it keeps the code clean and scalable.

    • @TheCodingTrain
      @TheCodingTrain  7 років тому

      thanks for the tip!

    • @MatsEngstrom
      @MatsEngstrom 7 років тому +2

      Yanick Rochon, Sure, no switch and no ifs. But incredibly much harder to read. If anyone of my coders every would write code like that I'd have a serious talk with him about how important readability and maintanibility of code are.

    • @yanfoo
      @yanfoo 7 років тому

      Mats Engstrom look at this StackOverflow question, to which I answered : stackoverflow.com/questions/3336709/custom-range-variable-set-with-jquery-ui-slider/3336837#3336837
      My answer is much easier to maintain than the alternative, using a switch case, one. If your student writes unreadable code, sure, I 100% agree with your. Then again, if your student comes and write a gient blob of IF statements, I'd also have a word with him.
      There are things, in software engineering, called design patterns (I know you know, but some people might not), and my comment addresses one of them, notably the strategy pattern (en.wikipedia.org/wiki/Strategy_pattern)
      In my examples, I used dummy variable names, but if sementic names are used, things would make much more sense.

    • @_tjoeaon
      @_tjoeaon 7 років тому

      Mats Engstrom Yanick Rochon I like it, but isn't this just a preference? It's not a 'best practise' for sure.
      Isn't dropping if/else statements part of functional programming? This is a different paradigm. A lot of companies implement this so not everywhere you will get a rant about readability etc, as this compensates for the pros of this paradigm.

    • @yanfoo
      @yanfoo 7 років тому

      Fabian Tjoe-A-On of course. Software engineering is not about knowing design patterns, but when to use them.

  • @anisulfatma8943
    @anisulfatma8943 4 роки тому

    You could simply put an array with four objects as the argument of the random function.
    Here's what you could do:
    let rand = random([{
    x: 1, y: 0
    }, {
    x: -1, y: 0
    }, {
    x: 0, y: 1
    }, {
    x: 0, y: -1
    }];
    x += rand.x;
    y += rand.y;
    And you know the rest
    Really like your vids btw

  • @FrostSabre41
    @FrostSabre41 7 років тому

    It'd honestly make more sense if you looked more behind you rather than directly to your left when looking at the big green screen.
    Just a little something I picked up and my OCD gets to me

  • @thavrisco1632
    @thavrisco1632 7 років тому +1

    ayy, Coding Challenges are back.

  • @BendMeOverDaddy
    @BendMeOverDaddy 7 років тому +2

    The Coding Train...bow

  • @JohnJ-xm3fg
    @JohnJ-xm3fg 7 років тому

    +The Coding Train
    Try coding a "virtual smartphone" android or iOS where it isn't actual iOS or Android but you can scroll the home screen or code one of the iPhone / android apps (like clock)

  • @fraznofire2508
    @fraznofire2508 7 років тому +1

    how would I make it so as the path gets older it changes color so you can actually see where it is in all of it

  • @LegionDesu
    @LegionDesu 7 років тому

    I wish you where my programming teacher in college. my teacher was so cut and dry from the book.

  • @lolfm
    @lolfm 7 років тому

    200k reached :D

  • @markuseby5267
    @markuseby5267 7 років тому

    Listening to the p5 while I'm programming in python(3.2) going to class later for c++. Yep I am going to mix everything up.

    • @markuseby5267
      @markuseby5267 7 років тому +1

      Ewe case, I prefer if, Else if

  • @bennysh
    @bennysh 7 років тому +5

    Everytime you say "DOT", the word "THIS" pops up in my head. Am I watching too many of your vids? :)

    • @Brahvim
      @Brahvim 2 роки тому

      HAH! Same :joy:

  • @Fun-Planet
    @Fun-Planet 3 роки тому +3

    8:02 can we use the decimal part for the angle

  • @JohnDoe-ef3nv
    @JohnDoe-ef3nv 3 роки тому

    what do I do with index.html? Because I open the program in a local server and it doesn't do anything

  • @albertoalegria3019
    @albertoalegria3019 7 років тому

    'Can we say that this is a very simple cellular automaton?

  • @kabapy2
    @kabapy2 7 років тому +15

    More AI videos, please

  • @JohnDoe-ef3nv
    @JohnDoe-ef3nv 3 роки тому

    how did you get the program to actually run ?

  • @jovanrakocevic9360
    @jovanrakocevic9360 5 років тому

    I never remember the switch syntax either. And when I look it up it always reminds me how ugly it is...

  • @darkmatt7382
    @darkmatt7382 7 років тому

    What is this program you use?

  • @MrSmileyturnsgrumpy
    @MrSmileyturnsgrumpy 7 років тому

    Another person who can't remember switch syntax! I'm not alone!

  • @karloivusic1525
    @karloivusic1525 7 років тому +8

    I know this video has nothing to do with it, but will you make a tutorial series for neural networks, like you did for genetic algorithms?

    • @TheCodingTrain
      @TheCodingTrain  7 років тому +3

      Yes, planning to!

    • @karloivusic1525
      @karloivusic1525 7 років тому

      +The Coding Train Great, looking forward to it

    • @lala-ql4tl
      @lala-ql4tl 7 років тому

      Karlo Ivusic uujjj j J. H

    • @asgaines
      @asgaines 7 років тому +1

      Thank God! Your explanations are easy to understand, fun, and exciting. Don't worry about all the people who comment about "cringe." You're kickass

  • @Luca-jy8ne
    @Luca-jy8ne 7 років тому

    I always use else if as well xD I don't know why, maybe because it basically does the same thing and I feel safer with if :D

  • @eyeguard031
    @eyeguard031 7 років тому

    what the floor! :D

  • @zKite00
    @zKite00 7 років тому

    14:44 the random walker made a demon

  • @FreezeBlaze
    @FreezeBlaze 7 років тому

    How do you make it show when you open it up? I'm trying to follow along (I'm completely new to this stuff) and it won't open up in my browser.

    • @TheCodingTrain
      @TheCodingTrain  7 років тому

      This video might help! ua-cam.com/video/UCHzlUiDD10/v-deo.html

    • @FreezeBlaze
      @FreezeBlaze 7 років тому

      Alright so that video helped me fix many of my issues. The only thing I have left to find out is how to set up the index file (when you have the libraries folder, the .js and the index.html). I have no clue how to set this up and any help would be appreciated! Thanks a lot.

  • @otheslo
    @otheslo 7 років тому +7

    "nine nine nine nine" actually sounded like german saying "no no no no" :D

  • @UnbornFamas
    @UnbornFamas 5 років тому

    Hey I have Processing i3 latest one & its not picking up on the term -> 'Function' it doesn't not recognize it anyone know what I am doing wrong please any help is appreciated thank you.

  • @ilustrado7291
    @ilustrado7291 7 років тому

    I'm back from being off the grid. So the Coding Rainbow has been rebranded? Link to more info guys pls! Thanks!

  • @andrewsharpe4764
    @andrewsharpe4764 Рік тому

    Where can I buy coding train branded train whistles?

  • @HERWIN192
    @HERWIN192 6 років тому

    Sir, after watching your video about random walk, suddenly pop up a question in my brain :D. Can you make a video that visualize a flower or something with random walk? [It's like l-system visualize trees]. I'm until now trying it with p5 following your tutorial because of my curiosity about random walk. I hope u can make the video sir. Thank you. [I'm from Indonesia sir, i'm really like your videos and the way you're explaining it are easy to understand]

  • @WhisperVT
    @WhisperVT 7 років тому +15

    Awesome video! Instead of saying 'I lost my train of thought', definitely start saying 'I lost my coding train of thought'. :P

  • @ZubAirT
    @ZubAirT 7 років тому

    oh, somewhat reminds me of Mars Rovers

  • @Trickzter
    @Trickzter 7 років тому +7

    can you do a tutorial on how to code a platformer game with gravity and platforms?

    • @stepgod1800
      @stepgod1800 7 років тому +1

      Yes I always wonder how you code those things it seems so difficult

    • @lumi4307
      @lumi4307 7 років тому +1

      I just use other peoples platformers as templates then custimize as my own

    • @teddyfreaks9906
      @teddyfreaks9906 7 років тому

      Hes very busy person he might be able to do it though

    • @ShadeTeam
      @ShadeTeam 7 років тому

      Gravity is so hard to make

    • @BuRRak
      @BuRRak 7 років тому +1

      Gravity is not that hard to code!
      Source of bouncy balls (made by me):
      ball[] balls = new ball[10];
      void setup() {
      size(700, 700);
      colorMode(HSB);
      for(int i = 0; i < balls.length; i++) {
      balls[i] = new ball();
      }
      }
      void draw() {
      background(51);
      for(int i = 0; i < balls.length; i++) {
      balls[i].update();
      balls[i].show();
      }
      }
      class ball {
      PVector loc = new PVector(random(width),random(height));
      float velocity = 10;
      float acc = 0;
      float gravity = 0.01;
      float velx = 3;
      void update() {
      acc += gravity;
      velocity += acc;
      loc.y += velocity;
      if(loc.y + velocity + 24 > height) {
      float p = (velocity / 100) * 90;
      velocity = -p;
      if(velocity < 1) {
      loc.y = height - 24;
      }
      }
      loc.x += velx;
      if(loc.x + velx > width || loc.x + velx < 0) {
      velx = -velx;
      }
      velx = (velx/100)*99;
      }
      void show() {
      stroke(map(loc.y,0,height,0,255),255,255);
      fill(map(loc.y,0,height,0,255),255,255);
      ellipse(loc.x,loc.y,48,48);
      }
      }

  • @xPawno
    @xPawno 7 років тому

    can you make something like random walker but each time dot moves it play's some piano note and like 30 cases 30 notes, i think it will make nice song

  • @dragon12850
    @dragon12850 7 років тому +1

    Just curious, how many WPM can you type?

  • @LadislavFeldsam
    @LadislavFeldsam 7 років тому

    can you make some neural network coding?

  • @lloydphute9615
    @lloydphute9615 7 років тому

    dude , do u have some Python codes?

  • @EliteWheatProdctionZ
    @EliteWheatProdctionZ 7 років тому

    instead of using ceil or floor, you could just truncate the float

    • @gasatocom
      @gasatocom 7 років тому

      Hunter Spurdo Doesn't floor() just do that?

  • @VictorSv
    @VictorSv 7 років тому

    Just started with p5 today and was just wondering how i can make it so the dot won't go offscreen? if anyone knows please let me know i am currently using it as my desktop background but it keeps going off the screen.

    • @MrKraignos
      @MrKraignos 7 років тому

      Check the x and y coordinates of the dot against the boundaries of your canvas.
      if (x < 0 && x > width) {
      // you're outside (on the horizontal axis)
      }
      Same with height for the y (vertical axis).
      Does that help ?

  • @christophschneider3260
    @christophschneider3260 7 років тому +3

    199.669 subs, ooooooh, so close!!!

    • @cadfoot568
      @cadfoot568 7 років тому +2

      Christoph Schneider 200k special would be great

    • @christophschneider3260
      @christophschneider3260 7 років тому +2

      cadfoot Yes! but what could he do? Livestream? or a Musicvideo with his flute and his awesome soundsamples ;)

  • @ilyaexo2005
    @ilyaexo2005 7 років тому

    What the floor?! 😂

    • @kuskus_th13
      @kuskus_th13 7 років тому +1

      Илья Еремин What the ceiling?

  • @queetok
    @queetok Рік тому

    Where's intro Billy?

  • @mrfrozen770
    @mrfrozen770 3 роки тому

    how to code these in mathematica?

  • @yogeissler1666
    @yogeissler1666 7 років тому

    Why didn't you use the random Value as an angle and changed the position based on that angle with an radius of 1. Then you could round the values in the output bit still have a more random random walker

    • @TheCodingTrain
      @TheCodingTrain  7 років тому

      I do that in the next video I'm going to release soon!

  • @ebonylongbow127
    @ebonylongbow127 7 років тому

    what is the link to the code?

  • @itsnottylor4011
    @itsnottylor4011 7 років тому

    I wonder how a random walker would perform in a maze.

  • @gabrielchargualafcomm1117
    @gabrielchargualafcomm1117 3 роки тому

    Does anyone know how to do this? but in Matlab?