code wiki / (root) / nx_award_ui_census.nx

nx_award_ui_census.nx source

↩ module page · 99 lines · 8342 B

1// nx_award_ui_census.nx -- honest maturity scorecard of our UI vs the AWARD-WINNING / "objectively incredible" bar 2// (Awwwards Site-of-the-Day + CSS Design Awards + Webby), grounded in the Nishi researcher's banked corpus 3// (knowledge/fetched/aw_*.raw: Awwwards judging = Design/Usability/Creativity/Content; art-direction; visual 4// hierarchy; motion; grid; Swiss style). This is the AESTHETIC-EXCELLENCE axis the brand_census (capability) and 5// uxcx (structure/a11y) do NOT measure -- it answers the operator's "fine but not incredible / they look the same". 6// Same liar-kill idiom as nx_brand_census: PARITY/EXCEEDS need measured evidence. GREEN = the map is HONEST (not 7// "we won an award"); the ABSENT cells ARE the build list toward award-winning. No EXCEEDS claimed -- we are not 8// there yet, and we say so. license_tier: ORIGINAL expect_exit: 0 9import "nx_syscalls.nx" 10 11const G_ABSENT: i64 = 0 12const G_PRESENT: i64 = 1 13const G_PARITY: i64 = 2 14const G_EXCEEDS: i64 = 3 15 16func sw(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } 17func sn(v: i64) -> i64 { let bb: *u8=sys_mmap(28); var m: i64=v; if m<0{m=0-m;sys_write(1,"-" as *u8,1)} let t: *u8=sys_mmap(28); var k: i64=0; if m==0{t[0]=48 as u8;k=1} while m>0{t[k]=(48+(m%10)) as u8;m=m/10;k=k+1} var i: i64=0; while i<k{bb[i]=t[k-1-i];i=i+1} sys_write(1,bb,k); return 0 } 18 19func grade_name(g: i64) -> i64 { 20 if g==G_ABSENT { sw("ABSENT " as *u8) } 21 if g==G_PRESENT { sw("PRESENT" as *u8) } 22 if g==G_PARITY { sw("PARITY " as *u8) } 23 if g==G_EXCEEDS { sw("EXCEEDS" as *u8) } 24 return 0 25} 26func cap_valid(grade: i64, has_ev: i64) -> i64 { if grade >= G_PARITY { if has_ev == 0 { return 0 } } return 1 } 27func row(pillar: *u8, cap: *u8, grade: i64, base: *u8, evidence: *u8, has_ev: i64, tot: *i64) -> i64 { 28 sw(" " as *u8); sw(pillar); sw(" | " as *u8); sw(cap); sw(" -> " as *u8); grade_name(grade) 29 if cap_valid(grade, has_ev) == 0 { sw(" <== INVALID (LIAR-KILL)" as *u8); tot[4] = tot[4] + 1 } 30 else { if has_ev == 1 { sw(" [" as *u8); sw(evidence); sw("]" as *u8) } } 31 sw(" {vs " as *u8); sw(base); sw("}" as *u8); sw("\n" as *u8) 32 tot[grade] = tot[grade] + 1 33 return 0 34} 35 36func main() -> i64 { 37 let tot: *i64 = sys_mmap(64) as *i64 38 tot[0]=0; tot[1]=0; tot[2]=0; tot[3]=0; tot[4]=0 39 40 sw("=== nx_award_ui_census -- our UI vs the AWARD-WINNING bar (Awwwards/CSSDA/Webby), honest ===\n" as *u8) 41 sw("grounded in knowledge/fetched/aw_*.raw (13 sources). ABSENT cells = the build list to 'incredible'. No self-scored win.\n" as *u8) 42 43 sw("-- AD ART DIRECTION & CREATIVITY (Awwwards weights Design+Creativity highest -> where 'wow' is won) --\n" as *u8) 44 row("AD" as *u8, "distinctive art direction / non-template identity" as *u8, G_PRESENT, "Awwwards SOTD unique concept" as *u8, "ev: lds_award.html aurora/editorial art direction (breaks the shared template)" as *u8, 1, tot) 45 row("AD" as *u8, "signature hero moment (full-bleed generative art + motion)" as *u8, G_PRESENT, "award heroes = a designed spectacle" as *u8, "ev: nx_award_page_probe aurora + constellation hero" as *u8, 1, tot) 46 row("AD" as *u8, "visual concept / storytelling thread" as *u8, G_PRESENT, "award sites carry a narrative" as *u8, "ev: probe 01/02/03 editorial narrative" as *u8, 1, tot) 47 row("AD" as *u8, "bold / expressive colour + gradient artistry" as *u8, G_PRESENT, "award colour is daring" as *u8, "ev: probe aurora bold palette on dark" as *u8, 1, tot) 48 49 sw("-- TY TYPOGRAPHY --\n" as *u8) 50 row("TY" as *u8, "expressive display typography (type-as-hero, huge/characterful)" as *u8, G_PRESENT, "award type is a focal point" as *u8, "ev: probe clamp 11.5vw gradient-filled display type" as *u8, 1, tot) 51 row("TY" as *u8, "distinctive typeface beyond the system stack" as *u8, G_ABSENT, "award custom/variable fonts; ⚠sovereign no-external-font tension = must ship a bundled face" as *u8, "" as *u8, 0, tot) 52 row("TY" as *u8, "modular type scale + rhythm" as *u8, G_PRESENT, "Material type scale" as *u8, "ev: nx_brand_typescale" as *u8, 1, tot) 53 54 sw("-- MO MOTION / CHOREOGRAPHY (the 'wow' layer -- aw_motion/aw_parallax/aw_webanim) --\n" as *u8) 55 row("MO" as *u8, "scroll-triggered reveal / choreography (no-JS)" as *u8, G_PRESENT, "award scroll-storytelling" as *u8, "ev: probe animation-timeline:view() reveals" as *u8, 1, tot) 56 row("MO" as *u8, "page-load / entrance animation" as *u8, G_PRESENT, "award intros" as *u8, "ev: probe staggered @keyframes entrance" as *u8, 1, tot) 57 row("MO" as *u8, "micro-interaction hover craft" as *u8, G_PRESENT, "Framer interactions" as *u8, "ev: our hover lifts + nx_brand_polish (basic)" as *u8, 1, tot) 58 row("MO" as *u8, "prefers-reduced-motion respect" as *u8, G_PRESENT, "a11y motion norms" as *u8, "ev: kit + skin honor it" as *u8, 1, tot) 59 60 sw("-- IM IMAGERY & RICHNESS --\n" as *u8) 61 row("IM" as *u8, "hero imagery / generative illustration (sovereign)" as *u8, G_PRESENT, "award striking visuals; sovereign = generate our own" as *u8, "ev: lds_award generative SVG art (aurora+constellation); photography = further step" as *u8, 1, tot) 62 row("IM" as *u8, "3D / WebGL / canvas artistry" as *u8, G_ABSENT, "Awwwards 3D winners; we have sovereign raster but it is NOT wired to the browser" as *u8, "" as *u8, 0, tot) 63 row("IM" as *u8, "custom SVG iconography" as *u8, G_PRESENT, "icon craft" as *u8, "ev: our inline stroke SVGs" as *u8, 1, tot) 64 65 sw("-- LA LAYOUT --\n" as *u8) 66 row("LA" as *u8, "grid-breaking / asymmetric / editorial layout" as *u8, G_PRESENT, "award editorial layouts" as *u8, "ev: probe asymmetric editorial grid (nth-child alternation)" as *u8, 1, tot) 67 row("LA" as *u8, "generous whitespace / composition" as *u8, G_PRESENT, "Swiss grid; 8pt" as *u8, "ev: nx_brand_spacescale" as *u8, 1, tot) 68 row("LA" as *u8, "responsive fluid layout" as *u8, G_PRESENT, "responsive design" as *u8, "ev: our @media + clamp()" as *u8, 1, tot) 69 70 sw("-- FN FOUNDATION (Awwwards weights Usability+Content ~40%; Webby requires a11y -> our real strength) --\n" as *u8) 71 row("FN" as *u8, "usability / clear IA / low-friction" as *u8, G_PRESENT, "Awwwards Usability" as *u8, "ev: nx_sitegen_exceed publish-gate" as *u8, 1, tot) 72 row("FN" as *u8, "accessibility WCAG (Webby floor)" as *u8, G_PRESENT, "Webby/EAA a11y" as *u8, "ev: nx_a11y gates + enforcer" as *u8, 1, tot) 73 row("FN" as *u8, "performance / no-jank (fast, tiny, zero external)" as *u8, G_PRESENT, "award perf budgets" as *u8, "ev: sovereign, no external asset, ~14KB" as *u8, 1, tot) 74 row("FN" as *u8, "cohesive design tokens / theming" as *u8, G_PRESENT, "design systems" as *u8, "ev: nx_brand_tokens + nx_sclass_kit" as *u8, 1, tot) 75 row("FN" as *u8, "content / copy quality" as *u8, G_PRESENT, "Awwwards Content" as *u8, "ev: our written copy" as *u8, 1, tot) 76 77 sw("--- DISTRIBUTION ---\n" as *u8) 78 sw(" ABSENT=" as *u8); sn(tot[0]); sw(" PRESENT=" as *u8); sn(tot[1]); sw(" PARITY=" as *u8); sn(tot[2]); sw(" EXCEEDS=" as *u8); sn(tot[3]) 79 let total: i64 = tot[0]+tot[1]+tot[2]+tot[3] 80 sw(" TOTAL=" as *u8); sn(total); sw("\n" as *u8) 81 sw(" invalid_rows=" as *u8); sn(tot[4]); sw("\n" as *u8) 82 83 var neg_ok: i64 = 1 84 if cap_valid(G_EXCEEDS, 0) != 0 { neg_ok = 0 } 85 if cap_valid(G_PRESENT, 0) != 1 { neg_ok = 0 } 86 sw(" NEG-CONTROL liar-kill fires: " as *u8); if neg_ok==1 { sw("YES\n" as *u8) } else { sw("NO\n" as *u8) } 87 88 sw(" HONEST READ: after lds_award.html the CREATIVITY techniques (art-direction/signature-hero/storytelling/\n" as *u8) 89 sw(" bold-colour/expressive-type/scroll+entrance-motion/grid-breaking/generative-illustration) are now PRESENT,\n" as *u8) 90 sw(" byte-proven by nx_award_page_probe (10/10). STILL ABSENT: distinctive TYPEFACE (bundle a font) + 3D/WebGL.\n" as *u8) 91 sw(" EXCEEDS stays 0 -- award-quality BEAUTY is human-judged (operator), never byte-scored. Next: roll across all pages.\n" as *u8) 92 93 var green: i64 = 0 94 if tot[4] == 0 { if neg_ok == 1 { if tot[3] == 0 { green = 1 } } } 95 if green == 1 { sw("VERDICT: GREEN (map is HONEST -- techniques now PRESENT via lds_award; 2 ABSENT [typeface,3D]; ZERO self-scored beauty-win)\n" as *u8); sys_exit(0) } 96 sw("VERDICT: RED\n" as *u8) 97 sys_exit(1) 98 return 1 99}