Visualization of Pi as an irrational number! - HD #maths #satisfying #adhd #spirograph

Here is the HD version of my Viral Pi post! Function : z(t) = e^ti e^pi*ti t is timeStamp value, but in radians, i is imaginary number and e is euler’s constant Music : “Deer“ by Adrian Berenguer. Detailed explanation of Pi post by angzt from reddit : Python code for final steady drawing : 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