const h = 20, w= 100, yC = 10 , xC = 25 ; ; ; ;function inside ( n , s , l ) {return ( n - xC ) * ( n - xC ) + ( s -yC ) * ( s - yC ) < l * l } ; ; ; functionoutside ( n , s , l ) { return ( n -xC ) * ( n - xC ) + ( s- yC ) * ( s - yC ) >= l * l} ; functionstars ( n , s , l ) { return ! ( ! inside (n , s , l ) || ! outside ( n, s , l- 2 ) )|| ! ( l > w ) && stars ( n , s ,l +4 ) }; const sp = n => " " . repeat ( n) , ln =n=>"|". /**/ repeat ( n ) , ss = [ ln ( 100 ), ln ( 12 )+sp( 8) + ln ( 60 ) + sp ( 7 ) + ln ( 13 ) , ln ( 1+ 10 ) + sp(1 + 11 ) + ln ( 1 + 1 + 1 ) + sp ( 11 + 11 +5 + 20 )+ln ( 2+1 +1 )+sp ( 3 + 3 + 3 + 3) + ln ( 1 + 5 + 5) , ln (1 + 9) +sp(3 +4 + 6 ) + ln ( 2 ) + sp ( 25 + 25 ) + ln ( 2 )+sp(12) + ln (3 + 2 + 6 ) , ln ( 1 + 2 + 3 + 2 +2) +sp(13)+ ln ( 1 ) + sp ( 1 + 10 + 20 + 30 - 10 ) + ln ( 2)+ sp (1 + 6 + 1 + 2 + 3) + ln ( 3 + 7 ) , ln (4+5 )+ sp(10 +3) +ln ( 2 ) + sp ( 52 ) + ln ( 1 ) +sp /**/ (6 + 7) + ln (10) , ln ( 9 ) + sp ( 5 + 2 +6 )+ln (1 ) +sp(53 ) + ln(2 ) + sp ( 13 ) + ln (9 ) , ln( 8 )+sp ( 14 ) + ln (1 )+ sp( 5 + 4 + 45) + ln (1) /**/ + sp ( 1 +12 )+ ln ( 9 ) ,ln( 8 )+sp ( 13 ) + ln ( 2 ) + sp ( 5 +49) +ln( 1) +sp(14 ) + ln ( 8 ) , ln( 7)+sp( 1+13)+ ln ( 1 ) + sp ( 5 +50 )+ln(2 ) + sp ( 13) + ln ( 1+2+5 ), ln(7 ) + sp ( 1 + 13 ) + ln ( 1 ) + sp ( 6 + 30 + 20 )+/**/ ln ( 1 ) + sp ( 14 ) +ln ( 7 ) , ln ( 7)+sp ( 13 ) + ln (2) + sp ( 56 ) + ln ( 1 ) /**/ + sp ( 1+ 13 ) + ln ( 7 ) , ln ( 6 ) + sp( 14 ) + ln ( 1 ) + sp ( 57 ) + ln (2 ) + sp ( 14 ) + ln ( 6 ) , ln ( 6) + sp ( 13 ) + ln ( 2 ) + sp ( 1 +7+ 25 + 25 ) + ln ( 1 ) + sp ( 14 ) + ln ( 6 ) , ln ( 5 ) + sp ( 2 + 1 +11) + ln ( 2 ) + sp (3 +4 +1 +50) +'' + ln ( 2 ) + sp (6 + 3 + 4) + ln (2+4 ), ln ( 5) +sp (7 + 7) + ln ( 1) +sp ( 9 +10 +23 +17 ) + ln(2) + sp (14 ) + ln(5),ln (4) +sp ( 13) +ln(5 + 30 + 30 ) +sp ( 13 ) + ln ( 5 ), ln( 4)+sp(9+ 1)+ ln ( 3 ) + ln(1 ) + sp ( 3) + /**/ "o o o" + sp(4) +"" +"" +"() []" + sp(4)+"#/#/#"+sp (5)+"[+][+]"+sp(3)+"Q" +" Q Q"+sp(4)+"%.%.%"+ ".%.%"+sp(3)+ln(6) +sp(10)+ ln(5),ln(5)+sp(4)+ln(8 )+sp(3)+"O O O"+sp(4)+ "// //"+sp(4)+"#/#/#"+sp(6) +"[][][]"+sp(4)+"b b"+ sp(6)+"%.%.%.%.%"+sp(3 )+ln(11)+sp(4)+ln(5),ln(100 ) ]; function view(n){ console .clear() ; for (let s=0;s<h;s++){let l=ss[ s],p="";for(let t=0;t< w;t+=2)" "!=l[t] ||" " !=l[t+1]?p+=l[ t ] +l[t+1]: stars(t/2,s,n+2,0)?p+= Math.random()>.4?". ": " ":p+=" ";console.log(p) }}let f=0;setInterval( ()=>{view(f),f<3?f++:f =0},100)/*VR*/
Astronaut
Javascript
"Programmers are the astronauts of the digital universe, navigating the endless cosmos of code. Through the light of logic and creativity, they transform the void of the unknown into realms of endless possibility, crafting realities from the raw material of ideas." - ChatGPT
Terminal