// SHINAI Design System — Component Library // ─── TOKENS ──────────────────────────────────────────────────────────────── const GOLD='#C9A050',GOLD_L='#E2C470',GOLD_D='#8B6A22'; const BLUE='#3AAEE8',BLUE_D='#1872B8'; const PLAT='#A6AEBB',COPPER='#C47038'; const BG_D='#090A0E',SF_D='#111219',SF_D2='#191A24',BR_D='#242530'; const TX_P='#EBE7DF',TX_S='#888294'; const BG_L='#F5F2EB',SF_L='#FFFFFF',BR_L='#DDD8CE'; const TX_DK='#19170F',TX_DKS='#68624F'; const FD="'Cormorant Garamond', Georgia, serif"; const FU="'Space Grotesk', system-ui, sans-serif"; // ─── HELPERS ─────────────────────────────────────────────────────────────── function mkRand(s){let x=(s^0xcafe)>>>0;return()=>{x^=x<<13;x^=x>>>17;x^=x<<5;return(x>>>0)/0xffffffff;}} function ptD(pts){return pts.map(([x,y],i)=>`${i?'L':'M'}${x.toFixed(1)},${y.toFixed(1)}`).join(' ');} function lerp(a,b,t){return a+(b-a)*t;} function hx(h){return[parseInt(h.slice(1,3),16),parseInt(h.slice(3,5),16),parseInt(h.slice(5,7),16)];} function lerpCol(c1,c2,t){const [r1,g1,b1]=hx(c1),[r2,g2,b2]=hx(c2);return`rgb(${Math.round(lerp(r1,r2,t))},${Math.round(lerp(g1,g2,t))},${Math.round(lerp(b1,b2,t))})`;} // ─── MESH DECORATION ─────────────────────────────────────────────────────── function MeshDeco({seed=1,n=35,w,h,c,alpha=0.12,maxD,st={}}){ const col=c||GOLD; const md=maxD||Math.min(w,h)*0.28; const r=mkRand(seed); const pts=Array.from({length:n},()=>[r()*w,r()*h]); const lines=[]; for(let i=0;i {lines.map(([i,j],k)=>( ))} {pts.map(([cx,cy],i)=>( ))} ); } // ─── LINE / AREA CHART ───────────────────────────────────────────────────── function ShinaiLineChart({dark=true,w=680,h=390}){ const bg=dark?SF_D:SF_L,bor=dark?BR_D:BR_L,gc=dark?'#1C1D28':'#ECE7DC'; const ac=dark?TX_S:TX_DKS,lc=dark?TX_P:TX_DK; const months=['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec']; const acc=[87,89,91,88,92,94,93,95,94,96,97,98]; const spd=[72,75,74,78,81,80,84,85,87,88,90,92]; const pl=65,pr=25,pt=58,pb=50; const pw=w-pl-pr,ph=h-pt-pb; const yMn=65,yMx=100; const xOf=i=>pl+i/11*pw; const yOf=v=>pt+ph-(v-yMn)/(yMx-yMn)*ph; const aPts=acc.map((v,i)=>[xOf(i),yOf(v)]); const sPts=spd.map((v,i)=>[xOf(i),yOf(v)]); const bl=pt+ph; const uid=`lc${dark?1:2}`; return(
AI Processing Performance
12-Month Trend · SHINAI Platform
Accuracy Speed Index
{[70,75,80,85,90,95,100].map(v=>( {v} ))} {months.map((m,i)=>( {m} ))} {aPts.map(([x,y],i)=>( ))}
SHINAI®
); } // ─── BAR CHART ───────────────────────────────────────────────────────────── function ShinaiBarChart({dark=true,w=680,h=390}){ const bg=dark?SF_D:SF_L,bor=dark?BR_D:BR_L,gc=dark?'#1C1D28':'#ECE7DC'; const ac=dark?TX_S:TX_DKS,lc=dark?TX_P:TX_DK; const cats=['LiDAR','NeRF','Gaussian','Photogrammetry']; const vals=[94,89,96,82]; const cols=[GOLD,BLUE,GOLD_L,PLAT]; const pl=68,pr=28,pt=60,pb=52; const pw=w-pl-pr,ph=h-pt-pb; const bw=pw/cats.length; const bPad=bw*0.22; const uid=`bc${dark?1:2}`; return(
3D Scan Quality by Method
Composite Quality Score · 0–100
{cols.map((c,i)=>( ))} {[0,20,40,60,80,100].map(v=>( {v} ))} {vals.map((v,i)=>{ const bh=(v/100)*ph,bx=pl+i*bw+bPad,bWidth=bw-bPad*2,by=pt+ph-bh; return( {v} {cats[i]} ); })}
); } // ─── SCATTER / POINT CLOUD ────────────────────────────────────────────────── function ShinaiScatterChart({w=680,h=390}){ const uid='scat'; const r=mkRand(99); const n=72; const pl=62,pr=28,pt=60,pb=52; const pw=w-pl-pr,ph=h-pt-pb; const pts=Array.from({length:n},()=>{ const depth=r(); let x=r(),y=r(); // slight clustering x=x*0.85+0.08; y=y*0.82+0.09; return{x,y,depth,sz:1.8+r()*3.2}; }); return(
Point Cloud Density Analysis
Spatial Distribution · Depth Mapping
Depth
NearFar
{/* Grid */} {Array.from({length:9},(_,i)=>)} {Array.from({length:9},(_,i)=>)} {/* Mesh connections */} {pts.map((p1,i)=>pts.slice(i+1,i+5).map((p2,j)=>{ const d=Math.hypot((p1.x-p2.x)*pw,(p1.y-p2.y)*ph); if(d>65)return null; return ; }))} {/* Points */} {pts.map((p,i)=>{ const cx=pl+p.x*pw,cy=pt+(1-p.y)*ph; return ; })} {['0','0.2','0.4','0.6','0.8','1.0'].map((v,i)=>( {v} ))} {['0','0.2','0.4','0.6','0.8','1.0'].map((v,i)=>( {v} ))} SCAN WIDTH (m) SCAN HEIGHT (m)
); } // ─── RADAR CHART ──────────────────────────────────────────────────────────── function ShinaiRadarChart({w=680,h=390}){ const dims=['Accuracy','Speed','Resolution','Coverage','Portability']; const N=dims.length; const shinai=[95,88,97,82,79]; const avg=[74,76,70,80,75]; const cx=w/2,cy=(h+20)/2; const R=Math.min(w,h)*0.31; const ang=i=>Math.PI/2-i*(2*Math.PI/N); const pol=(v,i)=>{const a=ang(i),r2=(v/100)*R;return[cx+r2*Math.cos(a),cy-r2*Math.sin(a)];}; const sPts=shinai.map((v,i)=>pol(v,i)); const aPts=avg.map((v,i)=>pol(v,i)); return(
Technology Capability Matrix
Comparative Analysis · 5 Dimensions
SHINAI AI Industry Avg
{[20,40,60,80,100].map(v=>( pol(v,i).join(',')).join(' ')} fill="none" stroke={BR_D} strokeWidth={v===100?'1':'0.6'} opacity={v===100?1:0.7}/> ))} {dims.map((_,i)=>{const [x2,y2]=pol(100,i);return ;} )} p.join(',')).join(' ')} fill={PLAT} fillOpacity="0.08" stroke={PLAT} strokeWidth="1.5" opacity="0.5"/> p.join(',')).join(' ')} fill={GOLD} fillOpacity="0.14" stroke={GOLD} strokeWidth="2" filter="url(#gwRadar)"/> {sPts.map(([x,y],i)=>( ))} {dims.map((d,i)=>{ const a=ang(i),lr=R+30,lx=cx+lr*Math.cos(a),ly=cy-lr*Math.sin(a); const ta=Math.abs(Math.cos(a))<0.15?'middle':Math.cos(a)>0?'start':'end'; return {d}; })} {[20,40,60,80,100].map(v=>( {v} ))}
); } // ─── KPI CARDS ───────────────────────────────────────────────────────────── function ShinaiKPICards({dark=true,w=720,h=215}){ const bg=dark?SF_D:SF_L,bor=dark?BR_D:BR_L,lc=dark?TX_P:TX_DK,sc=dark?TX_S:TX_DKS; const cards=[ {label:'Scan Accuracy',value:'98.7',unit:'%',sub:'+1.3pp vs prior quarter',col:GOLD,spark:[82,85,84,87,89,91,93,92,95,97,98,98.7]}, {label:'Point Throughput',value:'2.3M',unit:'/sec',sub:'Peak sustained rate',col:BLUE,spark:[1.1,1.3,1.5,1.6,1.8,1.9,2.0,2.0,2.1,2.2,2.25,2.3]}, {label:'Spatial Precision',value:'0.4',unit:'mm',sub:'Sub-millimeter grade',col:PLAT,spark:[1.2,1.1,0.9,0.85,0.8,0.75,0.7,0.65,0.6,0.55,0.45,0.4]}, {label:'Platform Uptime',value:'99.2',unit:'%',sub:'vs 99.0% SLA target',col:COPPER,spark:[98,98.5,97.8,98.8,99,99.1,99.2,99.0,99.1,99.3,99.2,99.2]}, ]; function Spark({data,col}){ const mn=Math.min(...data),mx=Math.max(...data); const W=76,H=36; const pts=data.map((v,i)=>[i/(data.length-1)*W,(1-(v-mn)/(mx-mn))*H]); const ckey=col.replace('#',''); return( ); } return(
{cards.map((c,i)=>(
{c.label}
{c.value} {c.unit}
{c.sub}
))}
); } // ─── COLOR PALETTE ────────────────────────────────────────────────────────── function ShinaiColorPalette({w=860,h=300}){ const swatches=[ {name:'Gold',hex:'#C9A050',role:'Primary accent'}, {name:'Gold Light',hex:'#E2C470',role:'Highlight'}, {name:'Electric Blue',hex:'#3AAEE8',role:'Secondary / Data'}, {name:'Platinum',hex:'#A6AEBB',role:'Tertiary'}, {name:'Copper',hex:'#C47038',role:'Warning'}, {name:'Obsidian',hex:'#090A0E',role:'Dark BG'}, {name:'Surface',hex:'#111219',role:'Dark Card'}, {name:'Border',hex:'#242530',role:'Dark Stroke'}, {name:'Cream',hex:'#F5F2EB',role:'Light BG'}, {name:'White',hex:'#FFFFFF',role:'Light Card'}, ]; return(
Color Palette
SHINAI Brand Design System
{swatches.map(s=>(
{s.name}
{s.hex}
{s.role}
))}
); } // ─── TYPOGRAPHY ───────────────────────────────────────────────────────────── function ShinaiTypography({w=860,h=370}){ return(
Display — Cormorant Garamond
The Future
Is Spatial.
Precision at Scale
SHINAI 3D Intelligence Platform
{['44px Display','28px H1','20px H2','16px H3','14px Body'].map(s=>( {s} ))}
UI / Data — Space Grotesk
98.7% Accuracy
AI Processing Performance
SHINAI's neural mesh engine delivers industry-leading point cloud reconstruction with sub-millimeter precision.
Scan Method · LiDAR · 2.3M pts/sec
{['30px Metric','18px Label','13px Body','10px Caption','9px Tag'].map(s=>( {s} ))}
); } // ─── SLIDE TITLE ──────────────────────────────────────────────────────────── function ShinaiSlideTitle({dark=true,w=1280,h=720}){ const bg=dark?BG_D:BG_L,tc=dark?TX_P:TX_DK,ac=dark?TX_S:TX_DKS,bor=dark?BR_D:BR_L; return(
{/* Gold accent line */}
{/* Main text */}
The Future of
3D Intelligence
SHINAI AI Platform · Q2 2026
shinai3d.com
{/* Right accent line */}
{/* Footer */}
SHINAI®
Confidential · 2026
01
); } // ─── SLIDE CONTENT ────────────────────────────────────────────────────────── function ShinaiSlideContent({dark=true,w=1280,h=720}){ const bg=dark?BG_D:BG_L,tc=dark?TX_P:TX_DK,ac=dark?TX_S:TX_DKS,sf=dark?SF_D:SF_L,bor=dark?BR_D:BR_L; return(
{/* Header */}
3D Scan Performance
Q2 2026 · Comparative Analysis
SHINAI®
{/* Body */}
{[['98.7%','Accuracy','vs 82% industry avg'],['2.3M','Points/sec','Peak throughput'],['0.4mm','Precision','Sub-mm grade']].map(([v,l,s])=>(
{v}
{l}
{s}
))}
[ chart area ]
Drop chart component here
{/* Footer */}
shinai3d.com
{[1,2,3,4,5].map(i=>(
))}
02 / 05
); } // ─── DOCUMENT HEADER ──────────────────────────────────────────────────────── function ShinaiDocHeader({w=1000,h=280}){ return(
Technical Report
3D Scan Accuracy Benchmarks — 2026
SHINAI AI PLATFORM · Q2 2026 · CONFIDENTIAL
SHINAI
); } // ─── DOCUMENT DATA SECTION ────────────────────────────────────────────────── function ShinaiDocDataSection({w=1000,h=430}){ const rows=[ ['SHINAI AI','98.7%','2.3M/s','0.4mm',true], ['LiDAR Direct','94.0%','1.8M/s','0.6mm',false], ['NeRF-based','89.0%','0.4M/s','0.8mm',false], ['Photogrammetry','82.0%','0.2M/s','1.2mm',false], ]; return(
Section 3: Comparative Analysis
Key Findings
{[ ['1.','SHINAI AI achieves 98.7% spatial accuracy — 16.7pp above the industry average of 82%.'], ['2.','Gaussian Splatting integration reduces post-processing time by 43% vs. traditional pipelines.'], ['3.','Sub-millimeter precision maintained at scan distances up to 50 meters in field conditions.'], ].map(([n,t])=>(
{n} {t}
))}
Benchmark Data
{['Method','Accuracy','Throughput','Precision'].map(h=>( ))} {rows.map(([m,a,s,p,hi])=>( ))}
{h}
{m} {a} {s} {p}
); } // ─── EXPORTS ──────────────────────────────────────────────────────────────── Object.assign(window, { ShinaiLineChart, ShinaiBarChart, ShinaiScatterChart, ShinaiRadarChart, ShinaiKPICards, ShinaiColorPalette, ShinaiTypography, ShinaiSlideTitle, ShinaiSlideContent, ShinaiDocHeader, ShinaiDocDataSection, MeshDeco, GOLD, BLUE, PLAT, COPPER, BG_D, SF_D, SF_D2, BR_D, TX_P, TX_S, BG_L, SF_L, BR_L, TX_DK, TX_DKS, FD, FU });