Skip to content

armgit / laya

Public Imported from GitHub
0

Non-autoregressive System 1 decision engine. Typed choice, score and yes/no decisions over any text in a single forward pass, in 100+ languages, with a router that picks the right checkpoint per request.

fix(assets): the logo ink was drawn semi-transparent

Nandakishor5f610e16c3a8
diff --git a/assets/logo-lockup-dark.png b/assets/logo-lockup-dark.png
index dd36fd15..503e4997 100644
Binary files a/assets/logo-lockup-dark.png and b/assets/logo-lockup-dark.png differ
diff --git a/assets/logo-lockup-dark.svg b/assets/logo-lockup-dark.svg
index 4c554bff..d7b10bad 100644
--- a/assets/logo-lockup-dark.svg
+++ b/assets/logo-lockup-dark.svg
@@ -2,21 +2,21 @@
width="252" height="72" role="img" aria-label="Laya">
<title>Laya</title>
<g transform="translate(2.00,5.60) scale(0.950)">
- <path d="M 22.141 13.458 A 21.0 21.0 0 1 0 42.500 50.187" fill="none" stroke="#2a78d6" stroke-width="5.0" stroke-linecap="round" opacity="0.95"/>
- <circle cx="48.213" cy="42.609" r="2.782" fill="#2a78d6" opacity="0.929"/>
- <circle cx="49.456" cy="33.958" r="2.527" fill="#2a78d6" opacity="0.894"/>
- <circle cx="46.696" cy="26.535" r="2.291" fill="#2a78d6" opacity="0.852"/>
- <circle cx="41.336" cy="21.918" r="2.067" fill="#2a78d6" opacity="0.803"/>
- <circle cx="35.242" cy="20.694" r="1.852" fill="#2a78d6" opacity="0.749"/>
- <circle cx="30.173" cy="22.422" r="1.642" fill="#2a78d6" opacity="0.691"/>
- <circle cx="27.294" cy="25.889" r="1.438" fill="#2a78d6" opacity="0.628"/>
- <circle cx="26.902" cy="29.558" r="1.239" fill="#2a78d6" opacity="0.562"/>
- <circle cx="28.430" cy="32.075" r="1.043" fill="#2a78d6" opacity="0.493"/>
+ <path d="M 22.141 13.458 A 21.0 21.0 0 1 0 42.500 50.187" fill="none" stroke="#2a78d6" stroke-width="5.0" stroke-linecap="round"/>
+ <circle cx="48.213" cy="42.609" r="2.782" fill="#2a78d6" opacity="0.977"/>
+ <circle cx="49.456" cy="33.958" r="2.527" fill="#2a78d6" opacity="0.939"/>
+ <circle cx="46.696" cy="26.535" r="2.291" fill="#2a78d6" opacity="0.893"/>
+ <circle cx="41.336" cy="21.918" r="2.067" fill="#2a78d6" opacity="0.839"/>
+ <circle cx="35.242" cy="20.694" r="1.852" fill="#2a78d6" opacity="0.780"/>
+ <circle cx="30.173" cy="22.422" r="1.642" fill="#2a78d6" opacity="0.716"/>
+ <circle cx="27.294" cy="25.889" r="1.438" fill="#2a78d6" opacity="0.648"/>
+ <circle cx="26.902" cy="29.558" r="1.239" fill="#2a78d6" opacity="0.576"/>
+ <circle cx="28.430" cy="32.075" r="1.043" fill="#2a78d6" opacity="0.500"/>
<circle cx="30.702" cy="32.690" r="0.850" fill="#2a78d6" opacity="0.420"/>
<circle cx="32.00" cy="32.00" r="2.35" fill="#2a78d6"/>
</g>
<text x="70" y="42" font-family="DejaVu Sans, Helvetica Neue, Helvetica, Arial, sans-serif"
font-size="34" font-weight="600" letter-spacing="0.5" fill="#eceef1">laya</text>
<text x="71.5" y="57" font-family="DejaVu Sans, Helvetica Neue, Helvetica, Arial, sans-serif"
- font-size="10.5" letter-spacing="2.6" fill="#eceef1" opacity="0.62">DECISIONS, NOT TEXT</text>
+ font-size="10.5" letter-spacing="2.6" fill="#eceef1" opacity="0.78">DECISIONS, NOT TEXT</text>
</svg>
diff --git a/assets/logo-lockup.png b/assets/logo-lockup.png
index 4eb8314e..94ec36d3 100644
Binary files a/assets/logo-lockup.png and b/assets/logo-lockup.png differ
diff --git a/assets/logo-lockup.svg b/assets/logo-lockup.svg
index df3c20fd..d78d8619 100644
--- a/assets/logo-lockup.svg
+++ b/assets/logo-lockup.svg
@@ -2,21 +2,21 @@
width="252" height="72" role="img" aria-label="Laya">
<title>Laya</title>
<g transform="translate(2.00,5.60) scale(0.950)">
- <path d="M 22.141 13.458 A 21.0 21.0 0 1 0 42.500 50.187" fill="none" stroke="#2a78d6" stroke-width="5.0" stroke-linecap="round" opacity="0.95"/>
- <circle cx="48.213" cy="42.609" r="2.782" fill="#2a78d6" opacity="0.929"/>
- <circle cx="49.456" cy="33.958" r="2.527" fill="#2a78d6" opacity="0.894"/>
- <circle cx="46.696" cy="26.535" r="2.291" fill="#2a78d6" opacity="0.852"/>
- <circle cx="41.336" cy="21.918" r="2.067" fill="#2a78d6" opacity="0.803"/>
- <circle cx="35.242" cy="20.694" r="1.852" fill="#2a78d6" opacity="0.749"/>
- <circle cx="30.173" cy="22.422" r="1.642" fill="#2a78d6" opacity="0.691"/>
- <circle cx="27.294" cy="25.889" r="1.438" fill="#2a78d6" opacity="0.628"/>
- <circle cx="26.902" cy="29.558" r="1.239" fill="#2a78d6" opacity="0.562"/>
- <circle cx="28.430" cy="32.075" r="1.043" fill="#2a78d6" opacity="0.493"/>
+ <path d="M 22.141 13.458 A 21.0 21.0 0 1 0 42.500 50.187" fill="none" stroke="#2a78d6" stroke-width="5.0" stroke-linecap="round"/>
+ <circle cx="48.213" cy="42.609" r="2.782" fill="#2a78d6" opacity="0.977"/>
+ <circle cx="49.456" cy="33.958" r="2.527" fill="#2a78d6" opacity="0.939"/>
+ <circle cx="46.696" cy="26.535" r="2.291" fill="#2a78d6" opacity="0.893"/>
+ <circle cx="41.336" cy="21.918" r="2.067" fill="#2a78d6" opacity="0.839"/>
+ <circle cx="35.242" cy="20.694" r="1.852" fill="#2a78d6" opacity="0.780"/>
+ <circle cx="30.173" cy="22.422" r="1.642" fill="#2a78d6" opacity="0.716"/>
+ <circle cx="27.294" cy="25.889" r="1.438" fill="#2a78d6" opacity="0.648"/>
+ <circle cx="26.902" cy="29.558" r="1.239" fill="#2a78d6" opacity="0.576"/>
+ <circle cx="28.430" cy="32.075" r="1.043" fill="#2a78d6" opacity="0.500"/>
<circle cx="30.702" cy="32.690" r="0.850" fill="#2a78d6" opacity="0.420"/>
<circle cx="32.00" cy="32.00" r="2.35" fill="#2a78d6"/>
</g>
<text x="70" y="42" font-family="DejaVu Sans, Helvetica Neue, Helvetica, Arial, sans-serif"
font-size="34" font-weight="600" letter-spacing="0.5" fill="#111111">laya</text>
<text x="71.5" y="57" font-family="DejaVu Sans, Helvetica Neue, Helvetica, Arial, sans-serif"
- font-size="10.5" letter-spacing="2.6" fill="#111111" opacity="0.62">DECISIONS, NOT TEXT</text>
+ font-size="10.5" letter-spacing="2.6" fill="#111111" opacity="0.78">DECISIONS, NOT TEXT</text>
</svg>
diff --git a/assets/logo-mark-ink.png b/assets/logo-mark-ink.png
index 3de0fb58..ccf1383b 100644
Binary files a/assets/logo-mark-ink.png and b/assets/logo-mark-ink.png differ
diff --git a/assets/logo-mark-ink.svg b/assets/logo-mark-ink.svg
index 81a5dc2e..45c144b3 100644
--- a/assets/logo-mark-ink.svg
+++ b/assets/logo-mark-ink.svg
@@ -4,16 +4,16 @@
<desc>An open stroke whose end breaks into points that spiral inward and shrink to a single
point: becoming, then dissolving into one.</desc>
<g fill="none" stroke="none">
- <path d="M 22.141 13.458 A 21.0 21.0 0 1 0 42.500 50.187" stroke="#111111" stroke-width="5.0" stroke-linecap="round" opacity="0.95"/>
- <circle cx="48.213" cy="42.609" r="2.782" fill="#111111" opacity="0.929"/>
- <circle cx="49.456" cy="33.958" r="2.527" fill="#111111" opacity="0.894"/>
- <circle cx="46.696" cy="26.535" r="2.291" fill="#111111" opacity="0.852"/>
- <circle cx="41.336" cy="21.918" r="2.067" fill="#111111" opacity="0.803"/>
- <circle cx="35.242" cy="20.694" r="1.852" fill="#111111" opacity="0.749"/>
- <circle cx="30.173" cy="22.422" r="1.642" fill="#111111" opacity="0.691"/>
- <circle cx="27.294" cy="25.889" r="1.438" fill="#111111" opacity="0.628"/>
- <circle cx="26.902" cy="29.558" r="1.239" fill="#111111" opacity="0.562"/>
- <circle cx="28.430" cy="32.075" r="1.043" fill="#111111" opacity="0.493"/>
+ <path d="M 22.141 13.458 A 21.0 21.0 0 1 0 42.500 50.187" stroke="#111111" stroke-width="5.0" stroke-linecap="round"/>
+ <circle cx="48.213" cy="42.609" r="2.782" fill="#111111" opacity="0.977"/>
+ <circle cx="49.456" cy="33.958" r="2.527" fill="#111111" opacity="0.939"/>
+ <circle cx="46.696" cy="26.535" r="2.291" fill="#111111" opacity="0.893"/>
+ <circle cx="41.336" cy="21.918" r="2.067" fill="#111111" opacity="0.839"/>
+ <circle cx="35.242" cy="20.694" r="1.852" fill="#111111" opacity="0.780"/>
+ <circle cx="30.173" cy="22.422" r="1.642" fill="#111111" opacity="0.716"/>
+ <circle cx="27.294" cy="25.889" r="1.438" fill="#111111" opacity="0.648"/>
+ <circle cx="26.902" cy="29.558" r="1.239" fill="#111111" opacity="0.576"/>
+ <circle cx="28.430" cy="32.075" r="1.043" fill="#111111" opacity="0.500"/>
<circle cx="30.702" cy="32.690" r="0.850" fill="#111111" opacity="0.420"/>
<circle cx="32.00" cy="32.00" r="2.35" fill="#111111"/>
</g>
diff --git a/assets/logo-mark-mono.svg b/assets/logo-mark-mono.svg
index d5ea7429..d8930d78 100644
--- a/assets/logo-mark-mono.svg
+++ b/assets/logo-mark-mono.svg
@@ -4,16 +4,16 @@
<desc>An open stroke whose end breaks into points that spiral inward and shrink to a single
point: becoming, then dissolving into one.</desc>
<g fill="none" stroke="none">
- <path d="M 22.141 13.458 A 21.0 21.0 0 1 0 42.500 50.187" stroke="currentColor" stroke-width="5.0" stroke-linecap="round" opacity="0.95"/>
- <circle cx="48.213" cy="42.609" r="2.782" fill="currentColor" opacity="0.929"/>
- <circle cx="49.456" cy="33.958" r="2.527" fill="currentColor" opacity="0.894"/>
- <circle cx="46.696" cy="26.535" r="2.291" fill="currentColor" opacity="0.852"/>
- <circle cx="41.336" cy="21.918" r="2.067" fill="currentColor" opacity="0.803"/>
- <circle cx="35.242" cy="20.694" r="1.852" fill="currentColor" opacity="0.749"/>
- <circle cx="30.173" cy="22.422" r="1.642" fill="currentColor" opacity="0.691"/>
- <circle cx="27.294" cy="25.889" r="1.438" fill="currentColor" opacity="0.628"/>
- <circle cx="26.902" cy="29.558" r="1.239" fill="currentColor" opacity="0.562"/>
- <circle cx="28.430" cy="32.075" r="1.043" fill="currentColor" opacity="0.493"/>
+ <path d="M 22.141 13.458 A 21.0 21.0 0 1 0 42.500 50.187" stroke="currentColor" stroke-width="5.0" stroke-linecap="round"/>
+ <circle cx="48.213" cy="42.609" r="2.782" fill="currentColor" opacity="0.977"/>
+ <circle cx="49.456" cy="33.958" r="2.527" fill="currentColor" opacity="0.939"/>
+ <circle cx="46.696" cy="26.535" r="2.291" fill="currentColor" opacity="0.893"/>
+ <circle cx="41.336" cy="21.918" r="2.067" fill="currentColor" opacity="0.839"/>
+ <circle cx="35.242" cy="20.694" r="1.852" fill="currentColor" opacity="0.780"/>
+ <circle cx="30.173" cy="22.422" r="1.642" fill="currentColor" opacity="0.716"/>
+ <circle cx="27.294" cy="25.889" r="1.438" fill="currentColor" opacity="0.648"/>
+ <circle cx="26.902" cy="29.558" r="1.239" fill="currentColor" opacity="0.576"/>
+ <circle cx="28.430" cy="32.075" r="1.043" fill="currentColor" opacity="0.500"/>
<circle cx="30.702" cy="32.690" r="0.850" fill="currentColor" opacity="0.420"/>
<circle cx="32.00" cy="32.00" r="2.35" fill="currentColor"/>
</g>
diff --git a/assets/logo-mark.png b/assets/logo-mark.png
index c90077fc..a9fe5d0c 100644
Binary files a/assets/logo-mark.png and b/assets/logo-mark.png differ
diff --git a/assets/logo-mark.svg b/assets/logo-mark.svg
index ba86d6a0..b5cde939 100644
--- a/assets/logo-mark.svg
+++ b/assets/logo-mark.svg
@@ -4,16 +4,16 @@
<desc>An open stroke whose end breaks into points that spiral inward and shrink to a single
point: becoming, then dissolving into one.</desc>
<g fill="none" stroke="none">
- <path d="M 22.141 13.458 A 21.0 21.0 0 1 0 42.500 50.187" stroke="#2a78d6" stroke-width="5.0" stroke-linecap="round" opacity="0.95"/>
- <circle cx="48.213" cy="42.609" r="2.782" fill="#2a78d6" opacity="0.929"/>
- <circle cx="49.456" cy="33.958" r="2.527" fill="#2a78d6" opacity="0.894"/>
- <circle cx="46.696" cy="26.535" r="2.291" fill="#2a78d6" opacity="0.852"/>
- <circle cx="41.336" cy="21.918" r="2.067" fill="#2a78d6" opacity="0.803"/>
- <circle cx="35.242" cy="20.694" r="1.852" fill="#2a78d6" opacity="0.749"/>
- <circle cx="30.173" cy="22.422" r="1.642" fill="#2a78d6" opacity="0.691"/>
- <circle cx="27.294" cy="25.889" r="1.438" fill="#2a78d6" opacity="0.628"/>
- <circle cx="26.902" cy="29.558" r="1.239" fill="#2a78d6" opacity="0.562"/>
- <circle cx="28.430" cy="32.075" r="1.043" fill="#2a78d6" opacity="0.493"/>
+ <path d="M 22.141 13.458 A 21.0 21.0 0 1 0 42.500 50.187" stroke="#2a78d6" stroke-width="5.0" stroke-linecap="round"/>
+ <circle cx="48.213" cy="42.609" r="2.782" fill="#2a78d6" opacity="0.977"/>
+ <circle cx="49.456" cy="33.958" r="2.527" fill="#2a78d6" opacity="0.939"/>
+ <circle cx="46.696" cy="26.535" r="2.291" fill="#2a78d6" opacity="0.893"/>
+ <circle cx="41.336" cy="21.918" r="2.067" fill="#2a78d6" opacity="0.839"/>
+ <circle cx="35.242" cy="20.694" r="1.852" fill="#2a78d6" opacity="0.780"/>
+ <circle cx="30.173" cy="22.422" r="1.642" fill="#2a78d6" opacity="0.716"/>
+ <circle cx="27.294" cy="25.889" r="1.438" fill="#2a78d6" opacity="0.648"/>
+ <circle cx="26.902" cy="29.558" r="1.239" fill="#2a78d6" opacity="0.576"/>
+ <circle cx="28.430" cy="32.075" r="1.043" fill="#2a78d6" opacity="0.500"/>
<circle cx="30.702" cy="32.690" r="0.850" fill="#2a78d6" opacity="0.420"/>
<circle cx="32.00" cy="32.00" r="2.35" fill="#2a78d6"/>
</g>
diff --git a/assets/make_logo.py b/assets/make_logo.py
index 3d73e72f..4a2a7928 100644
--- a/assets/make_logo.py
+++ b/assets/make_logo.py
@@ -34,7 +34,11 @@ STROKE = 5.0
ARC_FROM, ARC_TO = 118.0, 300.0 # degrees, measured counter-clockwise from +x
N_DOTS = 10
DOT_MAX, DOT_MIN = 3.1, 0.85
-OP_MAX, OP_MIN = 0.95, 0.42
+# The ramp is the mark's whole idea: the points fade as they spiral in, so the eye closes the
+# loop. It has to START at full ink, though -- the first point reads as the stroke continuing,
+# and at 0.95 the artwork looked washed out on both themes rather than dissolving. The faint
+# end is the design; a faint beginning was not.
+OP_MAX, OP_MIN = 1.0, 0.42
def pt(deg, r=R):
@@ -81,7 +85,7 @@ def mark_svg(color, use_current=False):
<desc>An open stroke whose end breaks into points that spiral inward and shrink to a single
point: becoming, then dissolving into one.</desc>
<g fill="none" stroke="none">
- <path d="%s" stroke="%s" stroke-width="%.1f" stroke-linecap="round" opacity="0.95"/>
+ <path d="%s" stroke="%s" stroke-width="%.1f" stroke-linecap="round"/>
%s
</g>
</svg>
@@ -101,13 +105,13 @@ def lockup_svg(color, text=INK):
width="%d" height="%d" role="img" aria-label="Laya">
<title>Laya</title>
<g transform="translate(%.2f,%.2f) scale(%.3f)">
- <path d="%s" fill="none" stroke="%s" stroke-width="%.1f" stroke-linecap="round" opacity="0.95"/>
+ <path d="%s" fill="none" stroke="%s" stroke-width="%.1f" stroke-linecap="round"/>
%s
</g>
<text x="70" y="%d" font-family="DejaVu Sans, Helvetica Neue, Helvetica, Arial, sans-serif"
font-size="34" font-weight="600" letter-spacing="0.5" fill="%s">laya</text>
<text x="71.5" y="%d" font-family="DejaVu Sans, Helvetica Neue, Helvetica, Arial, sans-serif"
- font-size="10.5" letter-spacing="2.6" fill="%s" opacity="0.62">DECISIONS, NOT TEXT</text>
+ font-size="10.5" letter-spacing="2.6" fill="%s" opacity="0.78">DECISIONS, NOT TEXT</text>
</svg>
''' % (w, h, w, h, tx, ty, s, arc_path(), color, STROKE, dots(color), 42, text, 57, text)