Permalink
Browse files

An imitation of Hackety Hack opening demo. But works for a short time…

  • Loading branch information...
1 parent 8b05f63 commit da7ee55e5433b8e129bcd65716793b4f188e62c7 @ashbb committed Dec 17, 2010
Showing with 18 additions and 0 deletions.
  1. +18 −0 samples/sample39.rb
  2. BIN samples/splash-hand.png
  3. BIN snapshots/sample39.png
View
@@ -0,0 +1,18 @@
+# An imitation of Hackety Hack opening demo.
+
+require '../lib/green_shoes'
+
+Shoes.app width: 420, height: 420 do
+ nostroke
+ background black
+ title fg(strong('Hackety Hack'), white), margin: 20
+
+ stack do
+ @m = mask{star -284, -174, 130, 500, 90}
+ image "./splash-hand.png" , top: 204, left: 84
+ end
+
+ animate 2 do |i|
+ @m.clear{rotate i; star -284, -174, 130, 500, 90}
+ end
+end
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit da7ee55

Please sign in to comment.