3D Wireframe

Helix Tube Wireframe

Helical tube surface wireframe with blue neon styling.

Output
Helix Tube Wireframe
Python
import matplotlib.pyplot as plt
import numpy as np

# Parametric helix tube
u = np.linspace(0, 4 * np.pi, 100)
v = np.linspace(0, 2 * np.pi, 20)
U, V = np.meshgrid(u, v)

R = 3  # Helix radius
r = 0.5  # Tube radius
X = (R + r * np.cos(V)) * np.cos(U)
Y = (R + r * np.cos(V)) * np.sin(U)
Z = r * np.sin(V) + U / 2

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

# Wireframe with blue #276CF5
ax.plot_wireframe(X, Y, Z, rstride=3, cstride=1, color='#276CF5', linewidth=0.5, alpha=0.9)

ax.set_xlabel('X', fontsize=11, color='#374151', labelpad=10)
ax.set_ylabel('Y', fontsize=11, color='#374151', labelpad=10)
ax.set_zlabel('Z', fontsize=11, color='#374151', labelpad=10)
ax.set_title('Helix Tube Wireframe', fontsize=14, color='#1f2937', fontweight='bold', pad=20)

ax.tick_params(colors='#6b7280', labelsize=8)
ax.xaxis.pane.fill = False
ax.yaxis.pane.fill = False
ax.zaxis.pane.fill = False
ax.xaxis.pane.set_edgecolor('#e5e7eb')
ax.yaxis.pane.set_edgecolor('#e5e7eb')
ax.zaxis.pane.set_edgecolor('#e5e7eb')
ax.grid(True, alpha=0.3, color='#9ca3af')

plt.tight_layout()
plt.show()
Library

Matplotlib

Category

3D Charts

Did this help you?

Support PyLucid to keep it free & growing

Support