MakerWorld
Sculptures
Zum Modell
Sine Wave Surface Function Trippy Art
128
Downloads
129
Likes
46
Makes
Hey MakerWorld! This is a sculpture that I created for the mathematics design contest here. I'm too late because life got in the way, but I figured I would still post it! The profile prints at a small layer height for optimal results. This is the plot of the surface: z = sin(x^2) sin(y^2). Through hours and hours of trial an error, I figured out a cool way to make this surface and I'll explain how, in case someone wants to do the same thing in the future! First I created a Python script using ChatGPT that took the z values in increments of 1 from -5 to 5. It then saved the points to a .txt file. The script goes as follows: import numpy as npimport matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D # Define the function def z(x, y):return np.sin(x**2) * np.sin(y**2) # Define the range for x and yx = np.arange(-5, 6, 1)y = np.arange(-5, 6, 1) # Create a meshgrid for x and yX, Y = np.meshgrid(x, y) # Calculate Z valuesZ = z(X, Y) # Create a 3D plotfig = plt.figure()a
Hast du dieses Modell gedruckt? Einloggen und dein Make teilen!
Melde dich an, um einen Kommentar zu hinterlassen
AnmeldenNoch keine Kommentare – sei der Erste!