“So close 🤏🏼,yet so far ♾️“ Explanation and code in description #maths #satisfying #adhd #ocd #art

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 : Titok Post : @thiebo_badminton/video/7292488315930971424 --------------------------------------------------- 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 ! :) --------------------------------------------------- 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 as plt # Create an array of theta values in degrees (e.g., from 0 to 113*360 degrees) theta_degrees = (0, 113*360, 10000) # Convert degrees to radians theta_radians = (theta_degrees) # Calculate z(theta) using the formula , 1j is imaginary number z = (theta_radians * 1j) ( * theta_radians * 1j) # Separate the real and imaginary parts of z x = (z) y = (z) # Create a plot with specific settings (figsize=(10, 10)) # Set a square figure 10x10 inches (x, y, color=’white’, linewidth=0.5) # Set line color to white and line width to 0.5 ().set_facecolor(’black’) # Set background color to black ().set_aspect(’equal’) # Equal aspect ratio (False) # Turn off the grids (-2.5, 2.5) # X-axis limit (-2.5, 2.5) # Y-axis limit () # Display the plot
Back to Top