Wow I'm early as heck! It's dan the man! #RecursiveTrain
@Twitchi
7 жыл бұрын
Best tag so far ;)
@TheCodingTrain
7 жыл бұрын
Good one, let's try it!
@sarangs8441
7 жыл бұрын
Team 98 Wow!
@sadhlife
7 жыл бұрын
Oh man how hard I wish it could be #RecursiveRainbow 😢
@Twitchi
7 жыл бұрын
When the Sierpinski triangle just suddenly showed I burst out laughing :D
@GarretTheShadow
6 жыл бұрын
Exactly same reaction for me too
@kyloren5129
7 жыл бұрын
to understand recursion, you must first understand recursion
@truthShallPrevailRRVS
6 жыл бұрын
lmao thats exactly what recursion is :D :D :D
@Xpegasu
6 жыл бұрын
Nice
@mattjac610
5 жыл бұрын
to understand recursion, you must first understand recursion to understand recursion, you must first understand recursion to understand recursion, you must first understand recursion to understand recursion, you must first understand recursion to understand recursion, you must first understand recursion to understand recursion, you must first understand recursion to understand recursion, you must first understand recursion to understand recursion, you must first understand recursion to understand recursion, you must first understand recursion to understand recursion, you must first understand recursion to understand recursion, you must first understand recursion to understand recursion, you must first understand recursion Maximum call stack size exceeded.
@Luka-he5mr
5 жыл бұрын
To understand recursion, you must first understand recursion. To understand recursion, you must first understand recursion. To understand recursion, you must first understand recursion. To understand recursion, you must first understand recursion. To understand recursion, you must first understand recursion. To understand recursion, you must first understand recursion. To understand recursion, you must first understand recursion. To understand recursion, you must first understand recursion. To understand recursion, you must first understand recursion. To understand recursion, you must first understand recursion. To understand recursion, you must first understand recursion. To understand recursion, you must first understand recursion. To understand recursion, you must first understand recursion. To understand recursion, you must first understand recursion. To understand recursion, you must first understand recursion. To understand recursion, you must first understand recursion. To understand recursion, you must first understand recursion. To understand recursion, you must first understand recursion. To understand recursion, you must first understand recursion. To understand recursion, you must first understand recursion. To understand recursion, you must first understand recursion. To understand recursion, you must first understand recursion. To understand recursion, you must first understand recursion. To understand recursion, you must first understand recursion. To understand recursion, you must first understand recursion. To understand recursion, you must first understand recursion. To understand recursion, you must first understand recursion. To understand recursion, you must first understand recursion. Maximum recursion call stack exceeded. Maximum recursion call stack exceeded. Maximum recursion call stack exceeded. Maximum recursion call stack exceeded. Maximum recursion call stack exceeded. Maximum recursion call stack exceeded. Maximum recursion call stack exceeded. Maximum recursion call stack exceeded. Maximum recursion call stack exceeded. Maximum recursion call stack exceeded. Maximum recursion call stack exceeded. Maximum recursion call stack exceeded. Maximum recursion call stack exceeded. Maximum recursion call stack exceeded. Maximum recursion call stack exceeded. Maximum recursion call stack exceeded. Maximum recursion call stack exceeded. ...
@davutsauze8319
4 жыл бұрын
Thanks Kylo Ren
@jakieboiZ94
7 жыл бұрын
Sierpinski Triangle straight outta nowhere!
@DanielRLuke
5 жыл бұрын
Sierpinski triangle straight outta Compton, yo.
@DanielMuvdi
7 жыл бұрын
I can't believe that i actually understand all this video, is been a huge journey for me to actually learn java-script and I finally feel that i can understand it. i'm doing so much thing by me own thanks Daniel for this great channel with so much information!
@LaraiFox
7 жыл бұрын
Wow, nice. Way to go rain on someone else's accomplishment. -_-
@tcocaine
7 жыл бұрын
thanks for the nice input zach, you're literally reflecting someone elses opinion in a youtube comment. Nice.
@PaymhGaming
7 жыл бұрын
@ZachAttackRandom which makes no sense since more and more people/companies are moving to javascript....
@jaytee4431
5 жыл бұрын
Finally found an explanation on recursive functions that actually makes sense! Love that you thoroughly explained how your code worked, how you broke it down on the whiteboard, and how you used the circles as a visual example to illustrate what happened every time the recursion happened
@ankitakesari6402
6 жыл бұрын
The way he said '' I' m using a mac''. I don't know how to stop loving him.
@dominick253
Жыл бұрын
I don't know why but I absolutely love recursive functions. Just mind melting thinking about how a function calls itself. For me it's like thinking about infinity.
@vorpal22
Жыл бұрын
Recursive functions are beautiful, especially if you can make them tail-recursive to avoid stack overflows. They're generally how you loop in functional programming, which is becoming more and more popular. Since I discovered Kotlin and functional programming, it's what I use in my programming unless I have a good reason not to.
@those1kidds
2 жыл бұрын
I love you, you are an amazing teacher, I'm a teacher as well, and maybe one day I'll be a 10th as good as you. Love your videos/humor/teaching style. Thank you for sharing your knowledge with us!
@kossboss
Жыл бұрын
I’ve been programming as a hobby for so many years and this helped close some gaps that I had in my recursion thinking. How you mentioned it’s a loop, which I already know but not I just think of it as when the recursive function comes in it just redoes the function from the beginning like in a for loop. Of course need exit conditions too
@sarangs8441
7 жыл бұрын
You should make a new series-something like Coding shorts which introduce an idea like recursion or 10print and let us the community build on the idea you provide.
@TheCodingTrain
7 жыл бұрын
Interesting, this is how I think about the coding challenges. Do you see these shorter ones as different?
@spacewad8745
7 жыл бұрын
Dan! When are the constructors and classes videos coming, you even deleted the livestream which had these vids.??
@sarangs8441
7 жыл бұрын
The Coding Train These indulge us more and make us think more creatively than creating a project. These idea videos gives us a platform to improve our logical thinking even more. This is my opinion.
@TheCodingTrain
7 жыл бұрын
Ṗṛẫḃḝṩȟ Sṹɓéḓì Those videos are coming out in the next couple of days. However, the live stream is still available: kzitem.info/news/bejne/jois2HiQnWOpiaw -MB
@spacewad8745
7 жыл бұрын
Oh! Thank You , Dan
@lizardkeeper100
3 жыл бұрын
I am so glad I found this video. I had a programming teach last year call recursion magic and told the class not to think about it. fractals I can wrap my head around magic I can't. I finally understand recursion, thank you!
@Lyrik-Klinge
5 жыл бұрын
Your channel is so motivation! As an adult you are playing with the code blocks like a child with his toy blocks to build great projects ... Go on!
@sadhlife
7 жыл бұрын
#RecursiveRainbow would have been perfect. but, you know...
@wiscatbijles
7 жыл бұрын
Yeah, would definitely have been better.
@mmbower1
4 жыл бұрын
Nothing but good spirits and great learning on this channel
@krystofpiorecky1463
7 жыл бұрын
No recursion, less lines :) Btw, nice video ;) var sw = 300; //start width var mw = 2; //minimal width for(i = 0; (sw / Math.pow(2, i)) > mw; i++) for(j = 0; j < Math.pow(2,i); j++) ellipse((sw / Math.pow(2, i))*(1+2*j), 300, sw / Math.pow(2, i));
@TheCodingTrain
7 жыл бұрын
nice work!
@krystofpiorecky1463
7 жыл бұрын
:)
@sven_93
7 жыл бұрын
I remember when coding challenges were like "I'm going to do that and try in 10 minutes". Now there isn't even a timer anymore :/
@jank-official
Жыл бұрын
I love your videos! You are always so animated and lively. Very inspiring! One question - you promote a lot of 'Coding Rainbow' and other things rainbow related. Do you identify as part of the community as well?
@albertocalabrese2958
7 жыл бұрын
Recursion is a very powerful instrument, but i think that's something that you should use only if you know the theory behind it. You have to understand how it works exactly, it can cause so many problems if you don't think what it does. I think it would be nice if you'd made a video about it more detailed :) Also explaining when it's good to use it and when to avoid it :)
@TheCodingTrain
7 жыл бұрын
thanks for the feedback! (check out my nature of code videos on recursion for a little bit of a "deeper dive")
@pseudonym033
6 жыл бұрын
I can't wait to try this! I'm just not able to wrap my head around the concept of recursion and it's really depressing me so hopefully something more fun than the bloody factorial or fibonacci will help the penney drop
@TheCodingTrain
6 жыл бұрын
How did it go?
@pseudonym033
6 жыл бұрын
Really good thank you! What a creative way to show us recursion. Thanks for everything you do!
@raphaelmorgan2307
3 жыл бұрын
I used this tutorial to make an svg image generator that makes really cool pretty fractals!
@krystianzawadzki975
7 жыл бұрын
You are like Bob Train (From Bob Ross 😂)
@arshadjaveed7877
7 жыл бұрын
Is it possible to add z axis to the fractal?🤔 It would be amazing to visualize it in 3D😍
@arshadjaveed7877
7 жыл бұрын
Billy G It would form a Sierpinski Pyramid I think 😅
@BillBodkin
7 жыл бұрын
lol yess!!! Lemme try make one XD
@arshadjaveed7877
7 жыл бұрын
Billy G Awsome Job😉👏👏
@BillBodkin
7 жыл бұрын
thanks!
@ntarun2000
7 жыл бұрын
It's so beautiful
@NeelSandellISAWESOME
4 жыл бұрын
Wow this is a nice visualization of recursion
@Ree-rr1js
2 жыл бұрын
I love the way he explain things ♥
@MrPhiineasKK
7 жыл бұрын
Can you create some pattern using Fibonacci?
@Safelyacrosstheroad
7 жыл бұрын
Bruno Lucas codepen.io/RedHenDev/pen/MmGGXW Here's a spiral using the recursive sequence, using p5. Enjoy!
@MrPhiineasKK
7 жыл бұрын
Wow Nice!!!!
@DaminGamerMC
2 жыл бұрын
bruh the triangle fractal came so out of the blue lmao I got so surprised
@Pikrip
7 жыл бұрын
I wow'd when you made a sierpinski triangle out of circles
@tesseract7586
2 жыл бұрын
the sirpinski triangle is so suprising #RecursiveTrain
@darogajee3286
7 жыл бұрын
Thats what real programming channel would do.. Tackle recursion and its types.. Double recursion.and vrarious problem like it.
@ashishkingdom
7 жыл бұрын
_Thank You for this video, _*_Danial_*
@TGrod
2 жыл бұрын
Увидеть треугольник Серпинского было неожиданно)
@willembenjaminvanede4065
5 жыл бұрын
Very interesting technique:) thanks for the great lesson!
@0x656e
4 жыл бұрын
Amazing video
@avibank
7 жыл бұрын
That white board wall is all I want when I grow up.
@goesaroundcomingaround4059
3 жыл бұрын
You're good teacher , I got it thanks
@wheeler2137
6 жыл бұрын
Sierpinski triangle surprised me so much haha
@ArnoldsKtm
7 жыл бұрын
Recursion is always fun.
@michaelyadchuk4989
6 жыл бұрын
The ellipse at 2:18 looks like the first frame in the 3blue1brown intro animation!!! #veryminorthingsthatmostpeopledontcareabout
@jeanjan7683
2 жыл бұрын
so cool thanks
@fre1253
7 жыл бұрын
love when you are with this shirt
@EricFernandoMosqueraVelandia
7 жыл бұрын
I finally understood what recursion is. n_n
@FalcoGer
Жыл бұрын
I don't like recursion for several reasons. 1. It's easy to get wrong 2. It's extremely slow due to creating a function call stack frame every time 3. It eats up the limited stack memory very rapidly, causing an OOM crash if you do any appreciable amount of it. A few hundred function calls deep and things just die. 4. It's 100% not required and can always be undone into a loop of some sort 5. It's difficult to read and understand 6. It's nearly impossible to debug. Enjoy your stacktraces. For example I tested a factorial function in c++, which might make sense for implementation given the recursive definition in math for the factorial function. Recursion crashed rather swiftly. I can't remember the exact value, but it was not very large. On the other hand a loop based version was 5 million times faster and of course it never crashes. I was using a math library for arbitrary large integers of course to avoid overflow. To be fair, some recursive solutions are extremely beautiful, such as the towers of hanoi. But generally recursion is a bad approach and should be avoided.
@muzgash97
7 жыл бұрын
This guy is awesome.
@sarangs8441
7 жыл бұрын
Can you continue building your AI library in JavaScript in the neural networks playlist. I loved it as I follow Siraj Raval, I was excited at executing it in js.
@rhys9408
6 жыл бұрын
Code in Processing!: void setup() { size(600, 600); } void draw() { background(0); stroke(255); noFill(); drawCircle(300, 200, 600); noLoop(); } void drawCircle(float x, float y, float d){ ellipse(x, y, d, d); if (d > 2) { float newD = d * 0.5; drawCircle(x + newD, y, newD); drawCircle(x - newD, y, newD); //drawCircle(x, y + d * 0.5, d * 0.5); } }
@pabloescobar2089
7 жыл бұрын
you're great! God bless
@m4tt_314
7 жыл бұрын
big like, fucking good quality of video ;) sorry if it's not the first one :D i haven't watched your videos since the bike accident :/
@s-nonymous0273
2 жыл бұрын
Well, I've altered the recursive function from the video slightly to include the +y direction, and what I got is....a solid square rotated 45°--not that much interesting.
@sarangs8441
7 жыл бұрын
Dan you rock. Your are the funniest best teacher in the world. can I mail you some doubts on 10print?
@TheCodingTrain
7 жыл бұрын
can you ask at forum.processing.org?
@sarangs8441
7 жыл бұрын
The Coding Train Sure thanks. I asked cuz I'm planning to make a 10print.js library after being inspired from your video.
@manualvarado2212
6 жыл бұрын
Te quiero mucho Dani
@swarpatel2927
6 жыл бұрын
I like your work
@mattiviljanen8109
6 жыл бұрын
If you now understand recursion, great! If not, please take a closer look at this video: kzitem.info/news/bejne/y4apwKuoj2udl2U
@jeffreychen6591
7 жыл бұрын
Hey. This is very crazy, and interesting but.... Can you code a text editor? Just a simple one.
@cap.blue-97sama99
5 жыл бұрын
Amazing content!
@arshadjaveed7877
7 жыл бұрын
Awsome😃... you're Soo coool
@shantanu391996
7 жыл бұрын
the best coder!
@KaelinatorPVP
7 жыл бұрын
Oh my goodness! How did Sierpinski's triangle come out of that?!
@ColaBeGaming
7 жыл бұрын
Great video! Is your microphone peaking a bit in this video or do I have to get my headset changed?
@TheCodingTrain
7 жыл бұрын
yes, it is, I've corrected it (I hope) for future videos.
@dest97
7 жыл бұрын
Hey Dan, keep it up with the great content! By the way, this video seems familiar - did you upload it already sometime in the past??
@TheCodingTrain
7 жыл бұрын
I've made videos about fractals and recursion before (also this is an edited version of a livestream).
@saurabhahuja6707
7 жыл бұрын
please take a session on compiler and parser
@truthShallPrevailRRVS
6 жыл бұрын
Triangle was magic bro !!!! Illuminati :D :D :D
@frederickgivens9261
2 жыл бұрын
I want so fucking ham on this i invented a whole new technology so I can't share it but I'm going to release it as a set of like 10 NFTs that game developers can buy and then as holders release games based on it.
@Aspectalice
7 жыл бұрын
nice video!
@jokes108
2 жыл бұрын
Why does he execute the second call of the function? The code never gets there?
@zachdraper4995
4 жыл бұрын
What do I have to download to use this code? Java? P5? Atom? All of them
@simonbohnen1384
7 жыл бұрын
maybe #recursiontrain?😂
@nnmrts
7 жыл бұрын
Well, omg. Why did it form the Sierpinski Triangle? :o
@XoIoRouge
5 жыл бұрын
Geometry!
@adfer2574
3 жыл бұрын
why doesn't it draw the left side when I do, if (x < width) instead of if (d > 2)?
@Gers217
3 жыл бұрын
Hey someone knows what library is he using to draw? Looks awesome and I want to give it a try
@jackpot1377
7 жыл бұрын
Does Dany has finished with processing? Every videos since the end of the hollidays are about P5...
@shalomblau921
4 жыл бұрын
Is there a way to draw (update the window) through the recursive function in real time?
@NStripleseven
4 жыл бұрын
Recursion: a word that means recursion
@barbellbilly
7 жыл бұрын
Damn that mouse
@konstantinrebrov675
4 жыл бұрын
I had no idea how recursion and sacred geometry are so closely interconnected.
@memofie
4 жыл бұрын
So, Trover saves the universe has stolen the eyes recursion idea
@sergehulne
7 жыл бұрын
Recursion is about recursion. Did I win the challenge?
@vimalsheoran8040
7 жыл бұрын
Followed every challenge and did it in Processing.py I am looking to make tutorials and videos on Processing.py any suggestions Mr. Daniel
@francium511
7 жыл бұрын
How you make these kind of videos? It's very interesting.
@ryanlewis7596
7 жыл бұрын
Just wanted to chime in about how not all fractals are self-similar. Most aren't, just the more fun ones are ;p
@vishalmalhotra1974
7 жыл бұрын
At 6:02 why did he put d>2? Why not any other number than 2?
@sarangs8441
7 жыл бұрын
What is difference between p5.js and processing.js (shown in Khan Academy)
@TheCodingTrain
7 жыл бұрын
I think I talk about this in this video? kzitem.info/news/bejne/p5qpvYugqqGBfoo
@KanalMcLP
7 жыл бұрын
Looks like a 3d binary tree from top
@bhavyathakur7804
7 жыл бұрын
Halfway in the Video, I felt I'm on weed.
@delanolourenco
7 жыл бұрын
I really love your videos! Could you make a basic Minecraft style game in p5 coding challenge?
@SpringySpring04
2 жыл бұрын
Lmao
@BeisballPlayer
7 жыл бұрын
#cleanthesmudge
@gajendranaidu8431
6 жыл бұрын
Sierpinski triangle and finally eyes Illuminati Confirmed :)
@kamilbolka
7 жыл бұрын
Could you give us tutorial on how to use jQuery?
@scriptic_
7 жыл бұрын
I made an easily adjustable interface for the fractal pattern to see what other fun animations could be made for glitch effects or just for viewer entertainment. Multishape, Multicolor, Definitely one of my favorite projects: kadengriffith.me/shapeRecursion.html
@langieNZ
7 жыл бұрын
My favorite slider is the 'Circle Probability' one. Nice job.
@TheCodingTrain
7 жыл бұрын
great work!
@praveenchakravarthy2776
7 жыл бұрын
U r awesome...
@0xTim
7 жыл бұрын
Make a Coding Challenge on Procrastination... or just don't make a video on Neural Networks ;P
@DaniVigaru
7 жыл бұрын
1:53 how does he do that? i did not find the shortcut or package to that
@DaniVigaru
6 жыл бұрын
sorry, should have ellaborated. i've seen in a lot of his videos when using atom he has a shortcut to auto align stuff in paranthesys and things like that, and i think that he uses a package because the align thing i've found in atom doesn't work like that
Пікірлер: 193