Skip to content

Commit

Permalink
test references
Browse files Browse the repository at this point in the history
  • Loading branch information
artur-trzesiok committed Jun 28, 2024
1 parent 3c1df4b commit b54e670
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Binary file modified k3d/test/references/vector_field_3d.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified k3d/test/references/vector_field_3d_no_head.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified k3d/test/references/vector_field_3d_scale.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions k3d/test/test_visual_vector_field_3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@


def f(x, y, z):
return (np.sin(float(x) / width * np.pi * 2.0) * 1.015,
np.cos(float(y) / height * np.pi * 2.0) * 1.015,
np.sin(float(z) / length * np.pi * 2.0) * 1.015)
return (np.sin(float(x) / width * np.pi * 2.0) * 1.05,
np.cos(float(y) / height * np.pi * 2.0) * 1.05,
np.sin(float(z) / length * np.pi * 2.0) * 1.05)


colors = np.array(
Expand Down

0 comments on commit b54e670

Please sign in to comment.