-
-
Save mame/47c5ba78e2445e0fc4b841d95a9ae256 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%;;;;;eval$s= %w{v=%(%;;;;;ev | |
al$s=%w{#$s}*"";exi t#);w=v*9;$><<"%;\e[H | |
\e[J";(($>.tty?)?0:99 ).upto(99){| i|o="\e[ | |
H";64.times{|y|y*=2;s=" ";t=[[88,15, 7,7,3, 1],[ | |
100,92,10,8,4,1.5],[66,11 5,5,5,2,3],[2 8,72 ,7,7, | |
3,-0.5],[16,41,6,6,3,-1.5]];u=t.map{|a, b,c,d, | |
e,f|[a+Math.cos(f+i/9.0)*e,b+Math.sin(f +i/9.0 | |
)*2*e,e,e]};125.times{|x|b=32;[[[55,17,13,13],[84,21, 17,17],[ | |
97,43,21,9],[95,62,13,14],[92,91,19,17 ],[68,109,16,16],[45,107,12,12],[ | |
33,90,8,13],[23,69,15,15],[20,43,13,13] ,[38,49,12,12],[37,30,12,12]],t,u | |
].each{|a|b+=a.any?{|a,b,c,d|(x-a)**2.0 /c/c+(y-b)**2.0/d/d<[i,98].min/98 | |
.0}?3:0};s<<b};o<<s.gsub(v>""?/[#&)] /:/(?<=#)#|[&)]/){i<99?"%c[%dm% | |
c%c[0m"%[27,[41,47,44][ $&.ord/3-11],32,27]:$&==?&?"" | |
<<32:(v>""?v:(w)).slice!(0,1)}.rstr ip<<10};$><<o;sleep(1e-3) | |
}}*"";exit#%;;;;;eval$s=%w{v=%(%;;;;;e val$s=%w{#$s}*"";exit | |
##) #;w=v*9;$><<"%;\e[H\e[J";(($ #>.tty?)?0:99).upto(99){|i|o="\e[H | |
#" ;64 #.times{|y|y*=2;s="";t=[ #[88,15,7,7,3,1],[100,92,10,8,4,1.5 | |
#],[66,1 #15,5,5,2,3],[28,72,7,7, #3,-0.5],[16,41,6,6,3,-1.5]];u=t.map{|a | |
#,b,c,d, #e,f|[a+Math.cos(f+i/9.0)* #e,b+Math.sin(f+i/9.0)*2*e,e,e]};125.time | |
#s{ #|x|b=32;[[[55,17,13,13],[8 #4,21,17,17],[97,43,21,9],[95,62,13,14],[ | |
#92,9 #1,19,17],[68,109,16,16],[45,1 #07,12,12],[33,90,8,13],[23,69,15,15],[ | |
#20,43,13,13],[38,49,12,12],[37,30,12,12] #],t,u].each{|a|b+=a.any?{|a,b,c,d| | |
#(x-a)**2.0/c/c+(y-b)**2.0/d/d<[i,98].mi #n/98.0}?3:0};s<<b};o<<s.gs | |
#ub(v>""?/[#&)]/:/(?<=#)#|[&)]/){i<99?" #%c[%dm%c%c[0m"%[27 | |
#,[41,47,44][ #$&.ord/3-11],32,27]: #$&==?&?""<<32:(v>""? | |
#v:(w)).slice!(0,1)}.rstrip<<10} #;$><<o;sleep(1e-3)}}*" | |
#";exit#%;;;;;eval$s=%w{v=%(%;;;; #;eval$s=%w{#$s}*"";exit# | |
#);w=v*9;$><<"%;\e[H\e[J";(($>. #tty?)?0:99).upto(99){|i| | |
#o="\e[H";64.times{|y|y*=2; #s="";t=[[88,15,7,7,3,1], | |
#[100,92,10,8,4,1 #.5],[66,1 #15,5,5,2,3],[28,72,7,7,3 | |
#,-0.5],[16,41, 6,6,3 #,-1.5 #]];u=t.map{|a,b,c,d,e,f| | |
#[a+Math.cos(f +i/9.0 #)*e #,b+Math.sin(f+i/9.0)*2 | |
#*e,e,e]};125 #.t #imes{|x|b=32;[[[55,1 | |
#7,13,13],[84 #,2 #1,17,17],[97,43,21 | |
#,9],[95,62,1 #3, #14],[92,91,1 | |
#9,17],[68,10 #9, #16,16],[45,107,1 | |
#2,12],[33,90 #,8,1 #3],[23,69,15,15],[20,43, | |
#13,13],[38,49,12,12],[37, #30,12,12]],t,u].each{|a|b+=a | |
#.any?{|a,b,c,d|(x-a)**2 #.0/c/c+(y-b)**2.0/d/d<[i,98].min | |
#/98.0}?3:0};s< #<b};o<<s.gsub(v>""?/[#&)]/:/(?<=#) | |
##|[&)]/){i<99? #"%c[%dm%c%c[0m"%[27 #,[4 | |
#1,47,44][$&.or #d/3-11],32,27]:$& ==? #& | |
#?""<<32:(v>""? #v:(w)).slice!(0, 1)}.rst # | |
#rip<<10};$><<o #;sleep(1e-3)}}*" ";exit# # | |
#%;;;;;eval$s=% #w{v=%(%;;;;;eval$s=%w{#$s}* "";exit # | |
##);w=v*9;$><<"%;\e[H\e[ #J";(($>.tty?)?0:99).upto(99){|i| #o | |
#="\e[H";64.times{|y|y*=2; #s="";t=[[88,15,7,7,3,1],[100,92,10,8 #,4 | |
#,1.5],[66,115,5,5,2,3],[28,72,7,7,3,-0.5],[16,41,6,6,3,-1.5]];u=t.map{|a,b,c,d,e | |
#,f|[a+Math.cos(f+i/9.0)*e,b+Math.sin(f+i/9.0)*2*e,e,e]};125.times{|x|b=32;[[ | |
#[55,17,13,13],[84,21,17,17],[97,43,21,9],[95,62,13,14],[92,91,19,17],[ | |
#68,109,16,16],[45,107,12,12],[33,90,8,13],[23,69,15,15],[20,43,13, | |
#13],[38,49,12,12],[37,30,12,12]],t,u].each{|a|b+= | |
#a.any?{|a,b,c,d|(x-a)**2.0/c/c+(y-b)**2.0/d/d<[i, | |
#98].min/98.0}?3:0};s<<b};o< #<s.gsub(v>""? | |
#/[#&)]/:/(?<=#)#|[&)]/){i #<99?"%c[%dm% | |
#c%c[0m"%[27,[4 #1,47,44 #][$&.ord/3- | |
#11],32,2 #7]:$&== ?&?" #"<<32:(v>"" | |
#?v:(w)) #.slice!(0,1 | |
#)}.rstrip<<10};$>< | |
#<o;sleep(1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment