"So close 🤏🏼 , yet so far ♾️" Explanation and code in description

čas přidán 21. 10. 2023
I am the original creator of this Pi video. This went viral almost on all social media. Got 45 million view on Instagram and 12 million view on Tiktok.
Link to the IG pi post : / cyrfbptryc9
Titok Post : www.tiktok.com/@thiebo_badmin...
If you liked this "visualization of pi", I also made an UHD 1440p widescreen version of this pi simulation which is 3 minutes longer. Here is the link , hope you'd engage there too and help that go viral as well ! :)
• Watch π (Pi) painting ...
If you are looking for a short explanation of the Post :
The outer arm spins around at a speed, precisely π times faster than the inner arm. But because π is this never-ending, irrational number, that outer arm will never, ever stop at its starting point, no matter how long the video goes on. It's like a forever chase scene where the arm always misses the target line by the tiniest bit, and that bit is basically as thin as it gets.
The Detailed explanation of this Pi post by "angzt" from reddit :
Python code for the final drawing made by this mechanism ( Not for the animation ) :
import numpy as np
import matplotlib.pyplot as plt
Create an array of theta values in degrees (e.g., from 0 to 113*360 degrees)
theta_degrees = np.linspace(0, 113*360, 10000)
Convert degrees to radians
theta_radians = np.deg2rad(theta_degrees)
Calculate z(theta) using the formula , 1j is imaginary number
z = np.exp(theta_radians * 1j) + np.exp(np.pi * theta_radians * 1j)
Separate the real and imaginary parts of z
x = np.real(z)
y = np.imag(z)
Create a plot with specific settings
plt.figure(figsize=(10, 10)) # Set a square figure 10x10 inches
plt.plot(x, y, color='white', linewidth=0.5) # Set line color to white and line width to 0.5
plt.gca().set_facecolor('black') # Set background color to black
plt.gca().set_aspect('equal') # Equal aspect ratio
plt.grid(False) # Turn off the grids
plt.xlim(-2.5, 2.5) # X-axis limit
plt.ylim(-2.5, 2.5) # Y-axis limit
plt.show() # Display the plot

Komentáře: 22 000

  • If you enjoyed this pi video , there's a sequel "Phi ( Golden Ratio )". Click on the related video in caption.

    • How do I grab that link?

    • Im not good at math, i don't even know additions and subtraction but I stay under this comment!!

    • This music is so beautiful

    • i was the 100th like

    • ​@bo-to9pb how? Thats the most basic unit to understand being the additive property and subtraction property

  • "The day will come when the stars align" *The stars:*

  • “My love for you is like pi!” “Endless?” “No, irrational.” ☠️☠️

  • The Oppenheimer music makes this so beautiful and cinematic what the hell I would definitely watch this movie

    • You're living this movie my friend

    • Thanks for absolutely ruining this video by mentioning the music from that thing was in it. I've been trying to avoid anything to do with that thing and now that I know that music is from there now I have to try and forget it thanks a lot.

    • ​@@shadowsoulless6227b r o w h a t

    • @@shadowsoulless6227you are welcome, now leave this RUINED video and go

    • ​@@shadowsoulless6227 Hey get back here with this notification. Explain how that is anybody else's problem. I have 17 parrots and use TTS to read youtube comments and now they're all reading your comment repeatedly THANKS A LOT DUDE WTH.

  • mans dropped the most cinematic math edit of all time as if we wouldnt notice

    • Its the music

    • *maths

    • Impressive how Oppenheirmer's theme makes everything so epic and profound!

    • The alan becker of yt shorts yooo

    • ​@@fascinating.fractalsthis helps make math more interesting. Thank you for showing us this when some of our teachers didn't.

  • It is absolutely fascinating how something could go on for so long, getting so close to closure, but being the furthest away from it at the same time

    • Like my quest for getting women

    • Half-Life

    • You've basically just summed up the story of my life. LoL ❤❤❤

    • @@angelsgrannyyou arent unique

    • @@jojobod The best part about being us is when we recognize each other. 😀

  • Sigma edits: 🤡 Space edits: 🗿 Math edits: 🗿 edit: I honestly did not expected this comment to get so many likes..

  • "You're being irrational!" "..But I look pretty while doing it, right?"

    • 🐇 🐇🐇 🐇🐇🐇 🐇🐇🐇🐇 🐇🐇🐇🐇🐇 🐇🐇🐇🐇🐇🐇 🐇🐇🐇🐇🐇🐇 🐇🐇🐇🐇🐇🐇🐇🐇 🐇🐇🐇🐇🐇🐇🐇🐇🐇 🐇🐇🐇🐇🐇 🐇🐇🐇 🐇🐇🐇🐇🐇🐇🐇🐇🐇🐇🐇 🐇🐇🐇🐇🐇🐇🐇🐇🐇🐇🐇🐇🛸

    • Lol you made my day

    • Non terminating and non-recurring, never ending!

    • You deserve a 1000 Likes

    • I am taking this for my story😅😅😭😭

  • Despite having broken down in tears over it, math is art, change my mind. 🍷🗿

  • Fun fact : it will never make a sphere because a line has no thickness... it will continue forever

    • no shit mf

    • So what you're saying is that higher dimensions see more infinitely lower dimensions? So... God?

    • @@varunv2584 less crack bro

    • @@ase40269nah, DMT

  • I didn't know the visualisation of pi could give me an existential crisis.

    • It did give me one lol The pursuit for perfection is infinite and you may find yourself in a loop forever without noticing how beautiful you've become, "good enough" is...well, enough.

    • @@jonnevitu4979 damn, i like u writing that down

    • bro's out here discovering the meaning of life while I'm here thinking that pi is a funny and delicious number

    • ​@@jonnevitu4979sir, this comment is truly beautiful and relatable for so many people out there. I'll start quoting it from now on

    • I think the music does a big part of it, the Oppenheimer soundtrack is just perfection

  • Bro really said "ha you thought" twice😅

  • it looks divine, like something from a great dream or revelation

  • If Pi is being irrational, it's mathematical. When I'm being irrational, I'm dramatic.

    • When you're a fundamental math constant they really cut you alot of slack lol

    • Bro being a drama queen even in math class 💀

    • if 'math' are 'mathematical' and 'physics' are 'physical' than what are 'tests'?

    • @@aqeefizzudin1062testical!!!

    • @@aqeefizzudin1062 bro…

  • Beauty of Mathematics man..literally chills.

  • And now I am become pi.... destroyer of mathematics.

  • Man single-handedly recovered our attention-span 💀

    • Still under 60 seconds with music, cool visuals, and edits...our attention spans are still f*cked

    • @@limejelo Fax

    • yes@@limejelo

    • @@limejeloit was 58 seconds but ok

    • he said under 60 seconds, what are you trying to say@@AdvancedGamer-

  • my brain can’t comprehend this 💀

  • Absolutely love the Oppenheimer theme

  • *Your crush likes you back when the lines align.*

    • Clearly irrational

    • I will be able to read the signs she keeps sending when the world is ready to divide by zero.

    • She likes me and we've been together for years!

    • You didn't need to say that... Just recently she started feeling attached❤❤

    • Somehow this is exceptional advice 🫡

  • Боже,как же залипательно😍до мурашек ❤

  • Did i just witnessed the creation of the universe?

  • That's why the worst sin in geometry is to believe your eyes

    • Not to confuse sin with sin

    • But what is the worst cos?

    • This does look like 90° so it must be 90°

    • ​@@HydrasitoOr the worst tan?

    • Yeah cos you can never trust anything

  • Nothing in life is perfect but it always comes out a masterpiece

  • As a 7th Grader, this is the FIRST time i WANTED to see equations in math questions

  • Visualization on pi being irrational got more art skills than me💀💀

  • Bro found the secret of the universe💀💀💀

  • Isso é fantástico, ele nunca se repete da mesma forma

  • "Sorry, I just won't do it" "Pi, You're being very irrational right now"

  • For those who don’t understand this formula will never end because pi is irrational

  • 40 years old and that was the best visual representation of PI I've ever seen.

    • The golden ratio is the signature of Almighty Allah. Everything from galaxies to tiny atoms has a golden ratio. This proves the creation. There is no coincidence as atheism claims. There is only creation.

    • 40 years old and that was the first visual representation of Pi I’ve ever seen.

    • ​@@motherlandmars5999that doesn't prove shit😂

    • @@conscientunit1157yo dont diss him before you figure out what kinda drugs he is using, it must be some good shit to make him this crazy

    • ​@@motherlandmars5999you are insane lmao

  • I Think For The First Time In My Life I Felt What People With Anxiety Feel... I Think I'm Getting Old 😅😂...

  • i do not understand what is going on or how this represents pi, but holy fuck it looks cool

    • So Pi, as an irrational number, cannot be represented in a ratio (a fraction, essentially). It has an endlessly continuing, non repeating string of decimal points. This pattern is created with two rotating arms - one rotating around the center, they other around the outer point of the first. The outer arm will rotate _n_ times as fast as the inner. So for every inner rotation, the outer will rotate _n_ times. Whatever you plug in for _n_ will produce a unique varient of this pattern that is a distinct and precise visual representation of that number, created when the appropriate ratio of spins is completed. But because pi is irrational, no ratio will ever produce a precise pattern. Instead, it will have increasingly close near misses every time an approximation of pi is reached. So a ratio of 22 to 7 spins will produce that first near miss as 22/7 is an approximation of pi. A ratio of 355 to 113 will produce a much closer near miss as 355/113 is an even more precise approximation. But it will never be precise. Just like writing out more and more decimals of pi gets the expression more and more precise without ever becoming truly and completely precise, this pattern will get closer and closer to being completed but it never will actually be complete.

    • Thank you ​@@Nuvendil

    • ​@@Nuvendil Thanks for this! But I have a question, as and when it gets more and more precise, would there not be a point, where it would meet and we'll get a finite value??

    • @@learningspace8132 No. If you use actual pi for the input, it will get infinitely closer but never actually be precise. Because it cannot be represented in a ratio. So even some absurd ratio of thousands of spins wouldn't make it precise. Just like if you wrote out pi, you would never reach the last decimal point to give it a precise value.

  • the strange urge to make this my profile picture

  • That’s the best rasengan Ive seen if I’d seen one ☝️

  • The amount of love i have for this visualization will end when the line align

    • Binod I

    • It will never 😢

    • How was this visualization made? And can I do the same?

    • It won't line up, that's the point of this video

    • ​@@TabeaTomadiniyep even if it gets closer and closer it will never eventually line up

  • That sound ❤

  • vah kya vdo h aise 3d m koi nhi btata thank u ❤❤

  • That choice in music bro... 🤯🥹 The editing is just brilliant, absolute chills!

    • Me too I was like wow!!!

    • Fr​@@raniqueblackman8096

    • Soundtracks from Oppenheimer 2023. You probably would like "Quantum Mechanics" and "Destroyer of the World".

    • @@HongHong-so1mk is that where the music comes from?! Holy schmoly I have to watch that movie ... I've seen the composer name "Ludwig Göransson" in the description, I didn't realise it was so recent.

    • Bot

  • Christopher Nolan been real quiet since this dropped🥶

  • Math and Physics is Everything and vice-versa😎😎

  • Visual representation of how it feels when you’re doing math and it suddenly makes sense 🔥🗿

    • And then forget it a week after

    • ​@@AstraRemainsfor real😭

    • ​@@AstraRemainsikr

    • This is a visual representation of trial and error within decimal awnsers

    • Technically it will never click

  • Loved your work. Something,this how the mathematics should be explained in schools.

  • The choices I made in my life in a visual form.

  • That's the beauty of this. It's a paradox. It never traces over the same shape twice and continues drawing new lines/arcs forever, yet never fills the circle in completely.

    • xD

    • It isnt a paradox, but it something that for human normal thinking, unexpected, since pi is irrational and its digits continue infinitely, no matter how much time passes, the trace will never return to the origin and the circle will never truly be filled because the Nature of Pi

    • @@Deimos4500 The paradox is that you can draw inside the circle forever and never fill it up. In fact I'll give you one more layer. You can have an infinite number of these running, all from a different starting point, and still never have them overlap each other. And the circle *still* won't fill up completely.

    • ​@@jeffrowisdabest well... yeah. You can't fill anything with something that has no area

    • Our point of view doesnt change. If it did, one might see perfection.

  • Students: *ugh math is boring and hard* The math lore:

  • I love how it gets thicker by barely anything because of the “x + however much it is” every circle

  • Pi has more character development in 30 seconds than I've had in my life of 30 years.

    • underrated comment

    • 🦕 you know this guy?

    • ​@@aqup_ if there was a r/gocommitdie of yt you'd be top post.

    • um… is your pfp just a regular, normal, mirror selfie, no seducting?

    • damn gurl you fine asl

  • Thank you for this great demonstration of Pi as well for the music! You turned me onto this song lol

  • Ohhhh that's how circles are made

  • Pi literally became an art genius☠️

  • Love the way you draw ✍️

  • This is actually beautiful

  • I wish there was a place to exclusively watch content like this. This is so beautiful

    • create a new YT account where you only watch math stuff like this

    • Just go to the channel who made this video, they have loads of similar content

    • Fractile projections?

    • There's a place for that, and it's called the Internet my boy, and that's why the internet is fantastic

    • There is a channel called ,,project Jdm" they do similar satisfying things similiar to this one

  • Good to see such a nice Artwork😊

  • So beautiful ❤❤❤ Thank you I watched this several times and i continue ....

  • Math is hell of a drug

    • yeah, it fucks up your brain a bit too much sometimes, little doses is fun but overdosing is not so much

    • my ol' grandpop died of math overdose 😭

    • ​@@junyan2811meth?

    • Meth

    • I'm rick James b-

  • I like how the speed of the lines change with the tempo of the song

  • Perfect visual representation!!

  • Teacher: please do not draw on the desks Kids in the back:

  • It's not irrational. We are irrational. It is always moving. and it is not 2D.

  • For a second it looked like a 4 dimensional ball. I don't know what a 4d balls actually looks like, but that's what I imagine it would look like

  • I can watch this all day

  • when the math starts to make sense the night before the exam

  • Please make a slow version of it for 1 hour. For patients of insomnia with slow background music

  • Imagine having this type of talent....

  • Why did I watch this 42 times? I lost count, honestly. Amazing visualization.

  • Why does it look divine 😭

  • Exactly why math is beautiful

  • My crosshair: On the enemy’s head My bullets:

  • The way this makes me want to do maths is incredible-

  • This is how it feels trying to draw a circle with a compass

  • i feel like i just saw a universe being born

    • why does that feel like the best way to describe what this video is

    • You just might have. The universe is a series of cosmological events repeating itself but with the influence of time. Bound to never be the same but seek to repeat the same actions.

    • Look up the Mandelbrot set it’s way cooler

  • Came for the music, stayed for the increíble beauty of this pattern. No way can this world be explained by random chance... Interestingly, I know this music not from the movie but from the Dudes from Middle Earth video. Anybody else?

  • When I grow up, I want to be like the person that coded that

  • Circles cant hurt you. Its just circles. The circles:


    • ​@@wanderingbufoonSpherical means in the form of a sphere, and a sphere is in 3 dimensions, while a circle is the right word for the main comment.

    • @@WALT1Zthank you kind sir

    • these arent real circles, these are fake circles designed to destroy you

    • first off, I was referencing something. secondly, as you can see, it moves in a 3 dimensional path. Not 2D. @@WALT1Z

  • I want to see a longer video. Like 1 hour might be okay 👍

  • 真ん中あたりの模様がバランスよくて好き

  • Pi being irrational is f*cking beautiful

    • Until it zooms in on it missing connecting at the end

    • ​@@mrastleysghostI mean that's the point though, Pi never quite connects despite coming so painfully close to doing so

    • ​@@mrastleysghostyou don't understand meaning of irrational do ya...

    • This is not special or specific to pi, irrational flows are dense for any irrational number

    • I agree

  • Nerdruto: How to make rasengan? Jiraiya: Just draw Pi in your hands.

  • Pi goes on and on..its so satisfying

  • Absolutely beautiful. Confined to the reach of the two arms, yet this dot will never copy it's path. Not in eternity. Math is magical 😊

    • Indeed ! I wish more people would see this!

    • If only this would make a woman fall in love with me. OuR love is like Pi, i will never be with another, always faithful to the original 😍

    • ​@@bigtxbullion😢

    • Nothing is magical 😑

    • @@rajmukhekar7468 not with that attitude 😉

  • "Math is the language of the universe!" Math:

  • This shows how it would take to be successful

  • the teacher cutting the pizza at school "parties":

    • Whoever thought a piece of pizza as wide as a pencil and a shot glass worth of Pepsi is a "party" needs to get out and meet people.

    • ​@OtakuUnitedStudio perhaps have the students pay for the party, instead of being a raving pessimist not knowing the salary of a teacher and that all of that party shiz comes out of it.

    • That mini slice was heat, watch it 😤

    • As Anthony Fantano would say, "IT"S ENOUGH SLICES!"""

    • your thousandth like

  • Афигеть, математика открыла мне новый взгляд на вселенную. Я поражен до глубины души, это позволит мне глубже понять все сущее...

  • watching this with a blurry vision is even more crazy

  • Pi is such a tease. It will always miss by "that much"

  • This video is the most underrated video i have seen in a while.only 700 likes?i would love to see more content like this instead of discord memes

    • Not sure if this is going any far here! The same video on Insta got 75 million views.

    • Help I've already watched it 3 times it's so cool

    • @@KaiWang-mf2kn thank you so much!❤️

    • Wow bro this is just 🤯🤯

    • ​@@fascinating.fractalsquestion: is your whole channel creating mathematical fractals? Are you creating them from drawing or is it some kind of program you wrote? If it is a program is it possible to convert it to GLSL shaders?

  • Красота математики, геометрии,физики и графики. И звук. Что за трек?

  • This the most fascinating yet incredibly infuriationg video ive seen ina long while. My inner perfectionist is on the werge of a mental breakdown

  • how a video can be satisfying and unsatisfying at the same time:

    • Dude at the end I was like "No fucking way. It makes a perfect sphere?" 2 Seconds later it zooms in to massive disappointment. What a ride.

    • F*ck! I was about to comment the same thing! Beat me to it by 9 hours! 😂

    • @@RexTorreslol

    • because shut up

    • That’s Pi for you😂

  • I'm so easily entertained. ❤

  • Respect Bro 🖖

  • If maths was more cinematic in school i probably wouldve followed a completely different career path

    • Same

    • If we had teachers like this

    • Yeah. They should have used CGI to get people into math. After all, Toy Story was only possible because of advanced mathematics :)

    • Maybe you're the one who weren't cinematic enough for maths and not the other way around.

    • You yourself couldn't visualise math that's why you're blaming your teachers.

  • One of the most satisfying clip ever seen ❤️

  • I don't know what program you used, but it probably approximated pi as a rational number (it's hard to do otherwise) and given enough laps the starting and drawing points will meet

  • Am I the only one who wants to see this spread out over a much longer period of time? It would make lovely, meditative wall art.

    • Thiền định - tĩnh tâm , hoàn toàn đồng ý với bạn và tôi thật sự rất thích tác phẩm này . Nhìn vào tác phẩm này tôi như cảm nhận mọi sự và vạn vật đều đều trong đấy cả . 💫🌙☄️🌠🌌🌍

    • It does. Just look around. 🌀🧿

    • 10 hour version 😂(I would genuinely put that on regularly )

    • How about the duration of the universe?

    • It would just become white after a long time

  • So cool and beautiful!

  • Bro this is art