ruby-changes:32330
From: naruse <ko1@a...>
Date: Wed, 25 Dec 2013 16:38:43 +0900 (JST)
Subject: [ruby-changes:32330] naruse:r44409 (ruby_2_1): merge revision(s) 44403:
naruse 2013-12-25 16:38:17 +0900 (Wed, 25 Dec 2013) New Revision: 44409 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44409 Log: merge revision(s) 44403: * sample/trick2013/: added the award-winning entries of TRICK 2013. See https://github.com/tric/trick2013 for the contest outline. (Matz has approved the attachment.) Added directories: branches/ruby_2_1/sample/trick2013/ Modified directories: branches/ruby_2_1/ Modified files: branches/ruby_2_1/ChangeLog Index: ruby_2_1/ChangeLog =================================================================== --- ruby_2_1/ChangeLog (revision 44408) +++ ruby_2_1/ChangeLog (revision 44409) @@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_1/ChangeLog#L1 +Wed Dec 25 16:35:34 2013 Yusuke Endoh <mame@t...> + + * sample/trick2013/: added the award-winning entries of TRICK 2013. + See https://github.com/tric/trick2013 for the contest outline. + (Matz has approved the attachment.) + Tue Dec 24 23:47:50 2013 Koichi Sasada <ko1@a...> * README.EXT: add a refer to URL. Index: ruby_2_1/sample/trick2013/mame/entry.rb =================================================================== --- ruby_2_1/sample/trick2013/mame/entry.rb (revision 0) +++ ruby_2_1/sample/trick2013/mame/entry.rb (revision 44409) @@ -0,0 +1,97 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_1/sample/trick2013/mame/entry.rb#L1 + eval$C=%q(at_exit{ + open("/dev/dsp","wb"){|g|h=[0]*80 + $><<"\s"*18+"eval$C=%q(#$C);S=%:" + (S<<m=58).lines{|l|s=[128]*n=20E2 + t=0; h.map!{|v|d=?!==l[ + t]?1 :(l[ + t]== ?#)? + 0*v= 6:03 + (v<1 ?[]: + 0..n -1). + each {|z| + s[z] +=2* + M.sin(($*[0] ||1) + .to_f*M.sin(y= 40*(z+m)*2** + (t/12E0)/463)+ y)*(v-z*d/n)}; + t+=1;v-d};m+= n;g.flush<<(s. + pack"C*"); puts(l)}}};M= + Math);S=%: + + Jesu, Joy of Man's Desiring + Johann Sebastian Bach + + # + | # + | # + # # # # + | | | # + | | # # + # # # # + | | | # + | | # # + # # # # + | | | # + | | # # + # # # # + | | | # + | | # # + # # # # + | | | # + | | # # + # # # # + | | | # + | | # # + # # # # + | | | # + | | # + # # # # + | | | # + | #| # + # # | # + | | | # + | | # # + # # # # + | | # | + | | # # + # # # # + | | | # + | | # + # # # # + | | # | + | # # | + # # # # + | | | # + | | # # + # # # # + | | | # + | | # # + # # # # + | | | # + | | # # + # # # # + | | | # + | | # # + # # # # + | | | # + | | # # + # # # # + | | | # + | | # # + # # # # + | | | # + | # # + # # # + | | | # + | # | # + # # # # + | | | | + | | | | + | | | | + | | | | + | | | | + | | | | + | | | | + | | | | + | | | | + | | | | + | | | : Index: ruby_2_1/sample/trick2013/mame/music-box.mp4 =================================================================== Binary files ruby_2_1/sample/trick2013/mame/music-box.mp4 (revision 0) and ruby_2_1/sample/trick2013/mame/music-box.mp4 (revision 44409) differ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/