Skip to content

Commit

Permalink
gallery, minor bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
brsr committed May 10, 2018
1 parent ca19360 commit 56bb022
Show file tree
Hide file tree
Showing 20 changed files with 1,036 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bin/breakdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def plot_base(ax, shape, line_pts_n=50, color='blue'):

def breakdown_into_bary(n=4, m=2, line_pts_n=50, degenerate=False):
base_bary = np.eye(3)
frame = breakdown.frame_triangle(base_bary, n, m)
frame = breakdown.frame_triangle(n, m, base_bary)
if not degenerate:
frame = frame.reshape((-1, 2, 3))
norm = np.linalg.norm(frame[:, 0]-frame[:, 1], axis=-1)
Expand Down Expand Up @@ -275,7 +275,7 @@ def main():
for pt, lin in zip(pts, lindex_here):
ax.annotate(','.join(str(x) for x in lin), xy=pt[:2],
textcoords='data', zorder=100)

if z == 0 and len(names) == 1:
inv = inverse(pts)
invlines = inverse(lines)
Expand Down
Empty file modified bin/compare.py
100644 → 100755
Empty file.
Empty file modified bin/compare_anti.sh
100644 → 100755
Empty file.
Empty file modified bin/gcopoly.py
100644 → 100755
Empty file.
Empty file modified bin/gcostats.py
100644 → 100755
Empty file.
Empty file modified bin/nslerp.py
100644 → 100755
Empty file.
Binary file added docs/3di.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 added docs/4di.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 56bb022

Please sign in to comment.