Skip to content

Commit

Permalink
regen images
Browse files Browse the repository at this point in the history
  • Loading branch information
scottshambaugh committed Dec 18, 2023
1 parent 3475da2 commit c91a251
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/gen_graphics.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def animate_2d_trefoil(savedir):
def animate(frame):
x, y, z = generate_trefoil(frame)
x, y, z, _ = sort_by_z(x, y, z, kwargs=dict())
offset_left, offset_right = calc_2d_offsets(axstereo.eye_balance, z, axstereo.z_scale,
offset_left, offset_right = calc_2d_offsets(axstereo.eye_balance, z,
axstereo.d, axstereo.ipd)
scatter[0].set_offsets(np.stack([x + offset_left, y]).T)
scatter[1].set_offsets(np.stack([x - offset_right, y]).T)
Expand Down Expand Up @@ -95,7 +95,7 @@ def main():
plot_3d_trefoil(currdir)
plot_anaglyph_trefoil(currdir)
animate_2d_trefoil(currdir)
animate_3d_trefoil(currdir)
# animate_3d_trefoil(currdir)


if __name__ == '__main__':
Expand Down
Binary file modified docs/trefoil_2d.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 docs/trefoil_2d_animation.gif
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 docs/trefoil_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 docs/trefoil_anaglyph.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c91a251

Please sign in to comment.