Showing posts with label Python. Show all posts
Showing posts with label Python. Show all posts

Thursday, 10 April 2025

Ocean Ripples Pattern using Python

 import numpy as npimport matplotlib.pyplot as pltfrom mpl_toolkits.mplot3d import Axes3Dfig=plt.figure(figsize=(6,7))ax=fig.add_subplot(111,projection='3d')x=np.linspace(-10,10,200)y=np.linspace(-10,10,200)x,y=np.meshgrid(x,y)r=np.sqrt(x**2+y**2)z=np.sin(r)/rz[r==0]=1surf=ax.plot_surface(x,y,z,cmap='ocean',edgecolor='none')ax.set_title('OceanRipple...

Quantum Vortex 3D Pattern using Python

 import matplotlib.pyplot as pltimport numpy as npfrom mpl_toolkits.mplot3d import Axes3Dtheta=np.linspace(0,20*np.pi,1000)z=np.linspace(-2,2,1000)r=z**2+1x=r*np.sin(theta)y=r*np.cos(theta)fig=plt.figure(figsize=(6,8))ax=fig.add_subplot(111,projection='3d')ax.plot(x,y,z,color='cyan',linewidth=2)ax.set_title('Quantum...

3D Origami Pattern using Python

 import matplotlib.pyplot as pltimport numpy as npx=np.linspace(0,10,100)y=np.linspace(0,10,100)X,Y=np.meshgrid(x,y)Z=np.sin(X)*np.cos(Y)fig=plt.figure(figsize=(8,6))ax=fig.add_subplot(111,projection='3d')ax.plot_surface(X,Y,Z,cmap='plasma',edgecolor='k',linewidth=0.3)ax.set_title("3D...

Sunday, 6 April 2025

Wave Interference Pattern using Python

 import matplotlib.pyplot as pltimport numpy as npfrom mpl_toolkits.mplot3d import Axes3Dx=np.linspace(-10,10,300)y=np.linspace(-10,10,300)X,Y=np.meshgrid(x,y)r1=np.sqrt((X+3)**2+(Y+3)**2)r2=np.sqrt((X-3)**2+(Y-3)**2)Z=np.sin(r1)+np.sin(r2)fig=plt.figure(figsize=(10,6))ax=fig.add_subplot(111,projection='3d')ax.plot_surface(X,Y,Z,cmap='viridis',edgecolor='none')ax.set_title("3D...

Gravitational Wave Simulation Pattern using Python

 import numpy as npimport matplotlib.pyplot as pltfrom mpl_toolkits.mplot3d import Axes3Dx = np.linspace(-5, 5, 100)y = np.linspace(-5, 5, 100)X, Y = np.meshgrid(x, y)frequency=3wavelength=2amplitude=1time=0Z = amplitude * np.sin(frequency...

Popular Posts

Categories

100 Python Programs for Beginner (98) AI (40) Android (24) AngularJS (1) Api (2) Assembly Language (2) aws (17) Azure (7) BI (10) book (4) Books (198) C (77) C# (12) C++ (83) Course (67) Coursera (251) Cybersecurity (25) Data Analysis (3) Data Analytics (3) data management (11) Data Science (149) Data Strucures (8) Deep Learning (21) Django (16) Downloads (3) edx (2) Engineering (14) Euron (29) Events (6) Excel (13) Factorial (1) Finance (6) flask (3) flutter (1) FPL (17) Generative AI (11) Google (36) Hadoop (3) HTML Quiz (1) HTML&CSS (47) IBM (30) IoT (1) IS (25) Java (93) Java quiz (1) Leet Code (4) Machine Learning (85) Meta (22) MICHIGAN (5) microsoft (4) Nvidia (4) Pandas (4) PHP (20) Projects (29) pyth (1) Python (1055) Python Coding Challenge (461) Python Quiz (128) Python Tips (5) Questions (2) R (70) React (6) Scripting (3) security (3) Selenium Webdriver (4) Software (17) SQL (42) UX Research (1) web application (8) Web development (4) web scraping (2)

Followers

Python Coding for Kids ( Free Demo for Everyone)