about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-05-16 15:33:06 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-05-16 15:33:06 -0700
commit5069f829b437c04a15d5bbe8906b9ab87729fcfb (patch)
tree7c207dd3d5c5181490331ace2dd14bbff39efed3
parent444227b3c413c544f357f2b8b7e9394a59a7d839 (diff)
downloadmu-5069f829b437c04a15d5bbe8906b9ab87729fcfb.tar.gz
adjustment to avoid a couple of intersections
Still not ideal. I should probably move the sum node.
-rw-r--r--hest-life.mu8
1 files changed, 4 insertions, 4 deletions
diff --git a/hest-life.mu b/hest-life.mu
index 91d2d4cf..0428e5da 100644
--- a/hest-life.mu
+++ b/hest-life.mu
@@ -59,12 +59,12 @@ fn render0 screen: (addr screen), _self: (addr environment) {
   draw-text-wrapping-right-then-down-from-cursor-over-full-screen screen, "+", 0xf/color, 0/bg
   # conveyers from neighboring inputs to sum node
   draw-monotonic-bezier screen, 0xa0/x0 0x20/y0, 0x100/x1 0x160/y1, 0x180/x2 0x160/y2, 4/color
-  draw-monotonic-bezier screen, 0xa0/x0 0x180/y0, 0x110/x1 0x160/y1, 0x180/x2 0x160/y2, 4/color
+  draw-monotonic-bezier screen, 0xa0/x0 0x180/y0, 0xc0/x1 0x160/y1, 0x180/x2 0x160/y2, 4/color
   draw-monotonic-bezier screen, 0xa0/x0 0x2e0/y0, 0x100/x1 0x160/y1, 0x180/x2 0x160/y2, 4/color
   draw-monotonic-bezier screen, 0x200/x0 0x20/y0, 0x180/x1 0x90/y1, 0x180/x2 0x160/y2, 4/color
   draw-monotonic-bezier screen, 0x200/x0 0x2e0/y0, 0x180/x1 0x200/y1, 0x180/x2 0x160/y2, 4/color
   draw-monotonic-bezier screen, 0x360/x0 0x20/y0, 0x180/x1 0xc0/y1, 0x180/x2 0x160/y2, 4/color
-  draw-monotonic-bezier screen, 0x360/x0 0x180/y0, 0x300/x1 0x160/y1, 0x180/x2 0x160/y2, 4/color
+  draw-monotonic-bezier screen, 0x360/x0 0x180/y0, 0x35c/x1 0x160/y1, 0x180/x2 0x160/y2, 4/color
   draw-monotonic-bezier screen, 0x360/x0 0x2e0/y0, 0x180/x1 0x200/y1, 0x180/x2 0x160/y2, 4/color
   # filter node
   draw-rect screen, 0x200/xmin, 0x180/ymin, 0x220/xmax, 0x1a0/ymax, 0x31/color
@@ -95,12 +95,12 @@ fn render0 screen: (addr screen), _self: (addr environment) {
   u <- divide eight-f
   # points on conveyers from neighboring cells
   draw-bezier-point screen, u, 0xa0/x0 0x20/y0, 0x100/x1 0x160/y1, 0x180/x2 0x160/y2, 7/color, 4/radius
-  draw-bezier-point screen, u, 0xa0/x0 0x180/y0, 0x110/x1 0x160/y1, 0x180/x2 0x160/y2, 7/color, 4/radius
+  draw-bezier-point screen, u, 0xa0/x0 0x180/y0, 0xc0/x1 0x160/y1, 0x180/x2 0x160/y2, 7/color, 4/radius
   draw-bezier-point screen, u, 0xa0/x0 0x2e0/y0, 0x100/x1 0x160/y1, 0x180/x2 0x160/y2, 7/color, 4/radius
   draw-bezier-point screen, u, 0x200/x0 0x20/y0, 0x180/x1 0x90/y1, 0x180/x2 0x160/y2, 7/color, 4/radius
   draw-bezier-point screen, u, 0x200/x0 0x2e0/y0, 0x180/x1 0x200/y1, 0x180/x2 0x160/y2, 7/color, 4/radius
   draw-bezier-point screen, u, 0x360/x0 0x20/y0, 0x180/x1 0xc0/y1, 0x180/x2 0x160/y2, 7/color, 4/radius
-  draw-bezier-point screen, u, 0x360/x0 0x180/y0, 0x300/x1 0x160/y1, 0x180/x2 0x160/y2, 7/color, 4/radius
+  draw-bezier-point screen, u, 0x360/x0 0x180/y0, 0x35c/x1 0x160/y1, 0x180/x2 0x160/y2, 7/color, 4/radius
   draw-bezier-point screen, u, 0x360/x0 0x2e0/y0, 0x180/x1 0x200/y1, 0x180/x2 0x160/y2, 7/color, 4/radius
 }