In this video, I calculate Pi using only Minecraft chickens. Enjoy this video? Drop a like and if you got any suggestions leave one in the comments :)
Пікірлер: 563
@niteahxd6 ай бұрын
Note: I'm not a mathematician by any means, it's not my focus of study. So some things here may not be completely accurate. It's just for fun, however some things extra I wanted to clarify: Chickens moving in a uniform way: It seems like sometimes they clump together? Not sure exactly but they seemed to move weirdly sometimes. It's still random and I don't think it would've affected the final value. The circle: I use an arbitrary circle in Minecraft, which is calculated on a website which uses Pi. The way the monte carlo simulation usually works is you use a unit circle, and after generating a point you can check whether it falls within it by calculating it's distance from the origin, which if it is between 0 & 1 it is within the circle, otherwise it's not. But once again, the videos just for fun :) Don't take it too seriously.
@Minecraft.ioRedstone6 ай бұрын
Due to the randomness how chicken walk, they have a higher chance to be near where they were created (search for guassche glockenkurve). Because of that, the chocken loactions isnt purely random, so it tends to increase the value of pi.
@user-hu6yu9wx6h6 ай бұрын
In my lifetime of being known as a maths prodigy, never have I ever even conceived a challenge like this. Well, i predict this KZfaq @niteahxd to be growing exponentially if you keep up these creative ideas. Well as another similar challenge try dividing Any two values into extreme decimals or in a high accuracy using bit flips (0 or 1) and binary divisions, then hence you have created an object that can divide. Use the lay of chickens as a basis of 0 or 1 as in lay and lay, and do it in a ranges of iterations to reduce the probability of error and more. If you do want a clear idea just respond here.
@Boltclick6 ай бұрын
The chickens clump together because when a chicken moves in a random direction, it could hit another chicken, which may prevent it from moving further (or may not, because hitboxes are weird). Because of this, if you have, say, 3 chickens right next to each other, and another chicken walks into the group, the walking chicken will keep trying to walk, but will be stopped by the 3 existing chickens' hitboxes. This will cause it to stop there, increasing the number of chickens grouped to 4. Keep this up, and eventually, you might have like 7 chickens clumped together before random chance breaks them apart again.
@aguyontheinternet84365 ай бұрын
whatever that shape was probably wasn't circle-like enough. A bigger shape might give more accurate results
@Chicken_Soy5 ай бұрын
So smart
@TheComputerCrasher425 ай бұрын
Well the obvious reason you didn't get exactly pi is because mathematicians have been ~0.201 off from the true value this entire time. Chickens in a video game are clearly a better calculation tool than real calculators. In all seriousness though, this video is great! I love math(s) and I love Minecraft, so combining the two is absolutely perfect. You've earned a new subscriber.
@niteahxd5 ай бұрын
Thank you! :)
@sukooo_5 ай бұрын
thats not true who told you that?
@niteahxd5 ай бұрын
@@sukooo_They’re joking
@awesomewow6685 ай бұрын
"in all seriousness"☝🤓
@alexschott95675 ай бұрын
The problem is that you're measuring the area of the hopper-less "circle", but it's not truly a circle. It has an integer area where you could just as easily count the blocks
@Kwauhn.5 ай бұрын
We're gonna need a bigger approximation of a circle
@awesomedavid20125 ай бұрын
You could try using minecart hoppers spawned in by command block to get a very precise circle
@DerPinguim4 ай бұрын
@@Kwauhn. We're just doing the whole Archimedes method but instead of a polygon with more and more faces we're just creating a closer and closer approximation of a circle using squares
@Benw88884 ай бұрын
yeah the chickens didn't really help xD
@faku12204 ай бұрын
4k by 4k hopper minecart circle shall do
@randombetters18236 ай бұрын
Insanely underrated. If not for the low picture quality, I would think you had 100,000 subscribers
@niteahxd6 ай бұрын
Yeah compared to my other ones the quality kinda rubbish. I added audio before the video in my editing software as I did all the voice over first so it used their default settings and not auto imported 1080p60fps, and I only realised after I had done everything and was ready to published. Figured as the bulk of the vid was LaTEX I wouldn’t bother fixing it all again lol.
@BaldiReycaster5 ай бұрын
And if you were kind @randombetters1823, you would be a better person
@Zyra-Not-The-LOL-One5 ай бұрын
@@BaldiReycasterIt wasn’t even meant to be insulting? They just said the video quality was low?
@rednaxela78755 ай бұрын
@@BaldiReycasterhe was literally complimenting the video
@niteahxd5 ай бұрын
@@BaldiReycaster Their comment was not unkind at all, just constructive criticism as the quality should’ve been better (just pure laziness from me as I only realised after I had uploaded and done title, description etc) but thank you :)
@screamingfungus_5 ай бұрын
I highly appreciate the length of this video. Other channels would easily have made this 10+ minutes, but you kept it short and concise! Good job and cool video!
@LeoV65025 ай бұрын
And the area of this video?
@letti42855 ай бұрын
@@LeoV6502Bring out the chickens
@LeoV65025 ай бұрын
@@letti4285 I really wanted to know if he appreciated the area too, not only the length of it.
@LeoV65025 ай бұрын
@@letti4285 But that would be an interesting challenge too.
@johandaun8746 ай бұрын
I like videos where they calculate pi inefficiently and creatively. This video is great! I find it interesting that you didn't get that close to pi even though you used a high amount of samples. It could be because the chickens have a higher probability of being in the middle of the square than the corner. If we would assume the opposite (that the probability of a chicken being anywhere is uniform) then the probability of them laying at least 5833 inside the circle would be around 3*10^-19 which is quite low.
@niteahxd6 ай бұрын
Yeah I'm not sure but probably something todo with the chickens AI. The actual area of the Minecraft circle was 749 blocks just by counting them (And using the chicken method estimated it to 796 blocks). So :p Not sure exactly, but their AI seemed to change a lot depending on where I was afking. It seemed most "random" when I was as close as possible, but as I got further away they seemed to go into clumps in the corners, which was a bit bizarre.
@johandaun8746 ай бұрын
Animals will only pathfind when a player is at most a distance of 32 blocks from them. The reason a chicken has a lower probability of ending up in a corner compared to the center is that there are more blocks that lead to the center compared to the corner. Let's say that the chicken can walk 10 blocks in each direction then there would be around 100 blocks that lead to the corner while around 400 that lead to the center.
@niteahxd6 ай бұрын
@@johandaun874 Yeah that makes sense :) I wonder if there is a way around that while still keeping it in the spirit of being calculated in the same way?
@macaroni86 ай бұрын
Theres... an entire subsection of youtube content where people calculate pi weirdly? i need to check this out...
@dagmarski41336 ай бұрын
@@johandaun874 I think that reasoning is not correct. Using your own argument you could argue that the corners should contain more chickens, since a chicken standing in the center has 400 paths to leave the center and a chicken in the corner has only 100 paths to leave that area.
@5gonza5415 ай бұрын
If I had to guess, the reason your answer is kinda higher is because of how the chickens move. As chickens on the corners have more options to move to the center than the other corners (I assume they have a max range).
@niteahxd5 ай бұрын
Yes you are right, we investigated this in a different comment chain :)
@AnonHooman5 ай бұрын
@@niteahxdThere’s a video that speaks about pi being 3.31 for mobs in Minecraft, explains why and how to use this information. If I’m able to link it the link is: kzfaq.info/get/bejne/rqh5m7aUsNu2eps.htmlsi=D9PKkarLyTeTNlCn
@mkks45595 ай бұрын
Also, Minecraft mobs generally prefer walking towards North-West (IIRC).
@quieker9874 ай бұрын
Also you would probably need a lot more data. You can easily implement a Montecarlo algorithm in Python for example and run a much faster simulation that way. I did it once a few years ago, generated 10 Million random points calculated pi using the same method, repeated the process 20 times and then calculated the mean of all results. Only managed to get Pi accuretly down to 6 digits. So yeah, you would probably Need waaay More chickens and time to get a better result. Still a very cool implemention though!
@AWalYT6 ай бұрын
Not bad, and a really clever way to get that measurement. I remember in my senior physics class I did a science fair project where I wanted to economically measure the speed of sound using a poster tube, a cheap microphone and an old but still usable laptop (For reference, it had a Pentium running at 75 MHz). For one of the judges I demonstrated the concept on the spot and managed to in one shot get a measurement down to about 1/100th of a second in accuracy. I ended up taking first place, which was pretty much just bragging rights. 😆
@theorigin85375 ай бұрын
First video I’ve seen on this channel. This guy is a genius, so why is he mumbling. Hard to understand because of it. Dude speaks more harmonic than I play guitar.
@niteahxd5 ай бұрын
Probably because I have a speech impediment I don’t see how it’s related to my intelligence thanks though
@toeb.4 ай бұрын
Quick and straight to the point. Just subbed!
@magicalman70395 ай бұрын
Really good video, only 2k subs, you have so much room to grow in an area of minecraft which is unknown. If you keep doing videos like this I have no doubt you will be much bigger
@bowlorice6 ай бұрын
Dude this is so well made. I could watch these kinds of videos all day.
@Isaac-pf7vl5 ай бұрын
Same
@eduardo_3326 ай бұрын
Cool video, love that KZfaq is now giving more opportunities to newer KZfaqrs, hope I'll get this help too when I start doing videos again (I stopped for years and now I'm thinking about coming back)
@Kuino5 ай бұрын
Your videos are great, this is one of my favorite type of videos and youre explaining all that is necessary in 2 minutes rather than 10. Wish you got more views
@lmj064 ай бұрын
Awesome video man. Thats amazing that you were able to get a fairly close value with minecraft chickens.
@PSYDET5 ай бұрын
Subbed cool video, hope u get more subs.
@Scute_King6 ай бұрын
You are insanely underrated, these videos are amazing and keep up the Good work❤
@niteahxd6 ай бұрын
Thank you! ❤️
@i_cam5 ай бұрын
Short simple, to the point, shows the result. I love it
@alexbaughman94045 ай бұрын
wow thats a really interesting way to approximate pi, and you explained it in a really straightforward way!
@oAstro.5 ай бұрын
Man this is cool asf, you 100% deserve more subs, keep it up :)
@zzL25365 ай бұрын
Underrated bro! I subbed
@Carusme5 ай бұрын
What a great video! Thank so much for making this!
@PolyhedralMedia6 ай бұрын
That was such a great way to explain Monte Carlo simulations and I love how succinctly you described your experiment, great video!
@niteahxd6 ай бұрын
Thank you! ❤️
@WestProter5 ай бұрын
I really liked this video and seeing manim after working with it all day was cool. One small thought is it’d be easier to understand you if you talked a bit slower. Sometimes it helps me to record a portion of the script at a time so you can breath if you don’t already.
@2BBLER6 ай бұрын
Very underrated, all your videos are so cool!
@niteahxd6 ай бұрын
thank you! :)
@2kaza5 ай бұрын
Neat stuff dude, keep it up
@jonahjlee5 ай бұрын
I think one problem with this technique is that it required you to build a Minecraft circle to get the results. With more chickens and more time, your results would have converged on the result that associates the number of blocks in the circle with the number of blocks in the square, which cannot be pi. Still it's a fun concept. Thanks for the video!
@niteahxd5 ай бұрын
You’re right :)
@BirManyak.4 ай бұрын
This is amazing and quite inspiring. Thanks 👌
@_tinv6 ай бұрын
Commenting just to help out. Good video!
@dynamic64614 ай бұрын
Very cool video, actually informative
@ViperFalcon5 ай бұрын
i love your vids, new sub :D
@JampsMC5 ай бұрын
Not sure i understood most of this video but it did make me go through your other vids, super high quality content! Keep up the good work! If you ever want to do a video together let me know!
@goglinasgolosinas646 ай бұрын
This is really cool video, it deserves a lot more views
@niteahxd6 ай бұрын
Thank you! Some more coming soon now that I’ve finished Uni for christmas :)
@DomiaAbrWyrda4 ай бұрын
Omg I just knew it as soon as I saw the title it was going to be Monte Carlo 😂 I spent a full year on this this thing for my paper to apply to some fancy school (which I failed) Very interesting to see that mc chickens are perfect for this, they lay eggs! Very nice project and video well done
@icoudntfindaname5 ай бұрын
Nice video, mate... Hey, YT algo, recommend awesome stuff like this
@abdulrahmankhalil1155 ай бұрын
I saw on your channel desc that you are a computer science student. I just wanted to say that i think thats really cool although i dont really know much about the subject itself lol. Btw subbed, keep going!
@niteahxd5 ай бұрын
Thank you yeah I just started University studying CS this September :)
@bannapeels5 ай бұрын
great vid bro, just please make your future vids a bit louder because this one seemed oddly quiet
@Skrajne_centrum5 ай бұрын
I like what you got, good job!
@DeclanDSI6 ай бұрын
I liked the video. I think it's overall really well made, but you could stand to speak a little more clearly. Other than that, everything is really interesting. Thanks for the video!
@unknown77615 ай бұрын
This is seriously good content. love your editing style. Just wish the video was longer and you actually go in depth of what you are saying. Great content tho. You got a new sub
@munckysarecool5 ай бұрын
Good job on 1k
@tim3.14154 ай бұрын
Very good video, i really enjoyed it. But for my taste you could speak a bit slower and a little more clearly, but thats just me. Thanks for the good content!!:)
@finnolino3375 ай бұрын
nice video! I dont understand how it works xD bdw im the 1000th sub :>
@conradh13835 ай бұрын
Claiming my here before 1k subs badge. No way you don't blow up dude, this was awesome!
@burgerxxl61156 ай бұрын
Bringing maths and minecraft together hits just the right level of nerdiness for me xD Awesome video!
@niteahxd6 ай бұрын
ty!
@zacvh5 ай бұрын
this is fire bro i was trying to find my own way to calculate pi last semester randomly for fun because im an engineering student and honestly this is cool
@janick82624 ай бұрын
Really love the idea!
@dazednova6 ай бұрын
this is really cool, i wonder if a larger sample size would cause the calculated value to converge to something significantly closer to our much better approximations or if the errors are mainly systematic with the inaccuracies of a minecraft circle and non-exact boundary and whatnot
@niteahxd6 ай бұрын
Error is mainly systematic. Couldn’t be too much larger anyways as once entities are a few chunks away they stop moving entirely
@WackMaDino5 ай бұрын
You probably could get a more accurate result not from a larger circle or more chickens, but just from doing the experiment a bunch of times and averaging. Altho i don’t know how exactly minecraft chicken ai is programmed, but i think it could just always be wrong because im pretty sure mobs tend to stay closer to walls; if they try and path outside the wall but can’t reach there, they stay still, meaning the closer to a wall they are the less likely they are to move, cuz they’re more likely to pick a point outside the wall. Idk if this was changed though, this is like ancient forbidden knowledge. Or them being on a floating platform may counteract this issue because theres no blocks outside, not sure. I guess if that’s the case it would’ve been an underestimate rather than an overestimate so probably not LOL.
@langcao35445 ай бұрын
@@niteahxd what about chunk loaders?
@Mintymondos5 ай бұрын
I’m here before this video blows up and you gain thousands of subs
@MesurDrogon-vh8jk4 ай бұрын
Bruh i found this Channel like a month ago and could bot find it again but thank god i found this video great videos man
@niteahxd4 ай бұрын
Welcome back! Maybe one day I'll make another video..
@MesurDrogon-vh8jk4 ай бұрын
@@niteahxdnow that would be legendary would it?
@Forcoy5 ай бұрын
Onl 343 subs? Ive never seen this level of underrated before. Holy.
@rgbok54535 ай бұрын
This is what KZfaqs about. No unnecessary shenanigans straight to chicken based math
@CriticalMonkey6234 ай бұрын
Just did monte carlo simulations in my parallel programming class at uni, so I was very proud of myself when I guessed you were using a Monte Carlo simulation with the chickens.
@BLACKTIGGA4 ай бұрын
you shoudl def do this again on PI day with a bigger circle or in a diff game. PS this reminds me of what Matt Parker does each year
@theguywhoslate6 ай бұрын
This is pure gold! ❤
@user-gm6qf1ph4n5 ай бұрын
That is a very ROUNDABOUT way of doing it.
@johnathancomet4 ай бұрын
I love that you animated the math like a big math youtuber
@crikhard4 ай бұрын
holy shit why are the comments so brutal, this video is awesome
@Brug984 ай бұрын
it amazes me how many different ways of calculating Pi there is. And every year I found more crazier than the other.
@matthewboyer42125 ай бұрын
The moment I heard Monte Carlo I knew exactly what this was as this is a pretty early thing in CS, however I never expected it to be used in this way. Kudos lmao
@1bustudios5 ай бұрын
Oh wow. You're extremely underrated.
@DungeonMobs5 ай бұрын
Make more of these vids i love this so much hope you get more subs
@niteahxd5 ай бұрын
thank you.. im releasing another soon hopefully planned it out just waiting to have the time to make it
@DungeonMobs5 ай бұрын
Lets goooo@@niteahxd
@joshdeconcentrated26746 ай бұрын
try doing this. use cheat engine to slow down your game down to 25% and then record at 15 fps, then speed up the resulting footage by 4x. this will let you get super smooth 60fps footage that looks like it was recorded on a pc 4x faster than your own. also, if you slow down the voice over, you can leave the animations up for longer which can improve readability. you've got really good production quality otherwise! good stuff man!
@niteahxd6 ай бұрын
My videos usually don’t look this, I just accidentally rendered in 30fps instead of 60fps. This is my first time doing the animations and I did the script first and then tried to fit the animations to them which was a lot harder than I thought it would be so I’ll be trying to do it more side by side in the future. Thanks for the feedback! :)
@lavacat7205 ай бұрын
I'm not sure if chest engine will work on a Java application, it'll probably break something because there might be watchdogs in java watching if it's too slow or something and crash
@Anonymous-zp4hb5 ай бұрын
nice 1. Wasn't expecting that level of accuracy even with that many eggs.
@mace12344 ай бұрын
THIS IS REALLY COOL
@TranquilSeaOfMath5 ай бұрын
Nice approach 🐓.
@zebchicken5 ай бұрын
ur welcome (great vid btw)
@niallmcl4 ай бұрын
Great video. My advice to improve is make your voice clearer. Idk if this is just your mic or if you just need to focus on speaking distinctly eg. 0:39
@RiftedShard5 ай бұрын
Pretty cool
@justADeni6 ай бұрын
Great video! But your voice seems to be a bit raspy. Anyhow, subscribed.
@niteahxd6 ай бұрын
it do be like that sometimes
@jamlion40865 ай бұрын
This is incredible
@EliteG5 ай бұрын
Omg I can’t believe I have found another maths nerd mincrafter 😩…. Earned a sub
@sikf5 ай бұрын
This is fantastic 🎉
@lawnmower...5 ай бұрын
This is great
@danielcarroll88895 ай бұрын
That was great
@Villagerslime5 ай бұрын
Nice!
@baranjan69695 ай бұрын
Beautiful
@soyezegaming5 ай бұрын
500th subscriber!!
@user-to3vk1gi5h5 ай бұрын
This makes me happy
@falconking90915 ай бұрын
This is badass
@zeplexgamingyt96396 ай бұрын
Brooo this is so cool. So underrated
@niteahxd6 ай бұрын
thank u
@REAZNx5 ай бұрын
Great video, slow down a bit though, it’s not a rush.
@daiquirianonymous5 ай бұрын
i think your pi estimate was slightly too high because all the chickens started in the middle. anyway great video, i'm amazed how people come up with this stuff lol
@aze43085 ай бұрын
nice
@crazytiger65 ай бұрын
wow, that's actually impressive
@Cressyn6 ай бұрын
Dude if you got better at voiceovers this video would go crazy, it's such a unique idea
@niteahxd6 ай бұрын
thank you!
@Spidernukleo5 ай бұрын
Incredible
@markmands18784 ай бұрын
dude, you're genius
@cybercop475 ай бұрын
wow I actually did a lot of "geometric" maths using minecraft and seeing someone else do mostly the same makes me feel quite good
@nbmaster235 ай бұрын
awesome video lol
@abellematheux76324 ай бұрын
As others have done, I'm going to give my opinion on the method used. It's honestly very good, and I have absolutely only one criticism to make. The chickens are more likely to be in the middle than near the edges, which explains why the value found is 0.2 above pi. There are several reasons for this. The simplest is that, once on the edge, they won't stay on the edge and will inevitably move closer to the center. The second reason is that, by moving randomly twice in a row, they are more likely to stay in the same place than to move twice in a given direction.
@anandb.25675 ай бұрын
HOLY shit, this is mindblowing.
@KiddyKene5 ай бұрын
epic
@entitythegreat91065 ай бұрын
Bros uploading only bangers
@mitch5235 ай бұрын
Love that ending
@Voshchronos5 ай бұрын
damn, I did not know of this method of estimating pi. real interesting!
@adnzip81985 ай бұрын
Exploitation of obscure mechanics🔥🔥
@generalkenobi3235 ай бұрын
Well edited, right to the point, quick, and a simple yet brilliant explanation of the topic. How does this man only have 1,300 subs?!
@pideperdonus25 ай бұрын
This quality is amazing for a
@agisfcp5 ай бұрын
that's really cool. I wonder if you could do relative approx error within the game.