Skip to content
Snippets Groups Projects
Commit 7d0c3431 authored by fima's avatar fima :beers:
Browse files

identation hotfix

parent 4c3c8856
No related branches found
No related tags found
No related merge requests found
......@@ -109,9 +109,9 @@ def generate_volume(
) / np.sqrt(3 * ((base_shape[0] / 2) ** 2))
# Generate Perlin noise and adjust the values based on the distance from the center
# This creates a spherical shape with noise
volume[i][j][k] = (1 + pnoise3(i * noise_scale, j * noise_scale, k * noise_scale)) * (
1 - dist
)
volume[i][j][k] = (
1 + pnoise3(i * noise_scale, j * noise_scale, k * noise_scale)
) * (1 - dist)
# Normalize
volume = (volume - np.min(volume)) / (np.max(volume) - np.min(volume))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment