3D Wireframe

Breather Surface Wireframe

Breather soliton surface wireframe with pink neon styling.

Output
Breather Surface Wireframe
Python
import matplotlib.pyplot as plt
import numpy as np

# Breather surface (simplified)
u = np.linspace(-14, 14, 80)
v = np.linspace(-37, 37, 80)
U, V = np.meshgrid(u, v)

b = 0.4
r = 1 - b**2
w = np.sqrt(r)
denom = b * ((w * np.cosh(b * U))**2 + (b * np.sin(w * V))**2)

X = -U + (2 * r * np.cosh(b * U) * np.sinh(b * U)) / denom
Y = (2 * w * np.cosh(b * U) * (-(w * np.cos(V) * np.cos(w * V)) - np.sin(V) * np.sin(w * V))) / denom
Z = (2 * w * np.cosh(b * U) * (-(w * np.sin(V) * np.cos(w * V)) + np.cos(V) * np.sin(w * V))) / denom

fig = plt.figure(figsize=(10, 8), facecolor='#020B14')
ax = fig.add_subplot(111, projection='3d', facecolor='#020B14')

ax.plot_wireframe(X, Y, Z, rstride=3, cstride=3, color='#F527B0', linewidth=0.4, alpha=0.9)

ax.set_xlabel('X', fontsize=11, color='#94a3b8', labelpad=10)
ax.set_ylabel('Y', fontsize=11, color='#94a3b8', labelpad=10)
ax.set_zlabel('Z', fontsize=11, color='#94a3b8', labelpad=10)
ax.set_title('Breather Surface Wireframe', fontsize=14, color='white', fontweight='bold', pad=20)

ax.tick_params(colors='#64748b', labelsize=8)
ax.xaxis.pane.fill = False
ax.yaxis.pane.fill = False
ax.zaxis.pane.fill = False
ax.xaxis.pane.set_edgecolor('#1e293b')
ax.yaxis.pane.set_edgecolor('#1e293b')
ax.zaxis.pane.set_edgecolor('#1e293b')

plt.tight_layout()
plt.show()
Library

Matplotlib

Category

3D Charts

Did this help you?

Support PyLucid to keep it free & growing

Support