mirror of
git://projects.qi-hardware.com/iris.git
synced 2024-11-16 21:36:14 +02:00
887 lines
10 KiB
Python
Executable File
887 lines
10 KiB
Python
Executable File
#!/usr/bin/env python
|
|
data = """
|
|
. . . . . .
|
|
. . . . . .
|
|
. . . . . .
|
|
. . . . . .
|
|
. . . . . .
|
|
. . . . . .
|
|
. . . . . .
|
|
. . . . . .
|
|
|
|
. . . . # .
|
|
. . . . # .
|
|
. . . # . .
|
|
. . . # . .
|
|
. . # . . .
|
|
. . . . . .
|
|
. # . . . .
|
|
. . . . . .
|
|
|
|
. # # . # #
|
|
. . # . . #
|
|
+ # . + # .
|
|
. . . . . .
|
|
. . . . . .
|
|
. . . . . .
|
|
. . . . . .
|
|
. . . . . .
|
|
|
|
. . . . . .
|
|
. . . . . .
|
|
. . # . # .
|
|
. # # # # #
|
|
. # . # . .
|
|
# # # # # .
|
|
# . # . . .
|
|
. . . . . .
|
|
|
|
. . . . # .
|
|
. . # # # #
|
|
. # . # . .
|
|
. . # # # .
|
|
. . # . # .
|
|
. # # # # .
|
|
. # . . . .
|
|
. . . . . .
|
|
|
|
. . . . . .
|
|
. # # . # .
|
|
. # . # . .
|
|
. . . # . .
|
|
. . # . . .
|
|
. . # . # .
|
|
. # . # # .
|
|
. . . . . .
|
|
|
|
. # # . . .
|
|
. # . # . .
|
|
. # # . . .
|
|
. . # . . .
|
|
. # # . # .
|
|
. # . # # .
|
|
. # # # # .
|
|
. . . . . .
|
|
|
|
. . # # . .
|
|
. . . # . .
|
|
. + # . . .
|
|
. . . . . .
|
|
. . . . . .
|
|
. . . . . .
|
|
. . . . . .
|
|
. . . . . .
|
|
|
|
. . . + # #
|
|
. . . # . .
|
|
. . # . . .
|
|
. . # . . .
|
|
. # . . . .
|
|
. . # . . .
|
|
. . # # . .
|
|
. . . . . .
|
|
|
|
. . # # . .
|
|
. . . . # .
|
|
. . . . # .
|
|
. . . . # .
|
|
. . . # . .
|
|
. . . # . .
|
|
# # + . . .
|
|
. . . . . .
|
|
|
|
. # . . # .
|
|
. . # . # .
|
|
. . # # . .
|
|
. # # # # #
|
|
. . # # . .
|
|
. . # . # .
|
|
. # . . # .
|
|
. . . . . .
|
|
|
|
. . . . . .
|
|
. . . . . .
|
|
. . . # . .
|
|
. . . # . .
|
|
# # # # # .
|
|
. . # . . .
|
|
. # . . . .
|
|
. . . . . .
|
|
|
|
. . . . . .
|
|
. . . . . .
|
|
. . . . . .
|
|
. . . . . .
|
|
. . . . . .
|
|
. . # # . .
|
|
. . # . . .
|
|
. + # . . .
|
|
|
|
. . . . . .
|
|
. . . . . .
|
|
. . . . . .
|
|
. . . . . .
|
|
. # # # # .
|
|
. . . . . .
|
|
. . . . . .
|
|
. . . . . .
|
|
|
|
. . . . . .
|
|
. . . . . .
|
|
. . . . . .
|
|
. . . . . .
|
|
. . . . . .
|
|
. . . # . .
|
|
. . # # . .
|
|
. . . . . .
|
|
|
|
. . . . . .
|
|
. . . . # .
|
|
. . . # . .
|
|
. . . # . .
|
|
. . # . . .
|
|
. . # . . .
|
|
. # . . . .
|
|
. . . . . .
|
|
|
|
. . . . . .
|
|
. . + # # .
|
|
. # + . # .
|
|
. # . . # .
|
|
# . . # . .
|
|
# . + # . .
|
|
# # + . . .
|
|
. . . . . .
|
|
|
|
. . . . . .
|
|
. . . . # .
|
|
. . # # . .
|
|
. . . # . .
|
|
. . # . . .
|
|
. . # . . .
|
|
# # # . . .
|
|
. . . . . .
|
|
|
|
. . . . . .
|
|
. . + # # .
|
|
. + + . # .
|
|
. . . . # .
|
|
. + # . . .
|
|
. # . . . .
|
|
# # # # . .
|
|
. . . . . .
|
|
|
|
. . . . . .
|
|
. . # # # .
|
|
. . . . # .
|
|
. . . + # .
|
|
. + # . . .
|
|
. . . # . .
|
|
# # # . . .
|
|
. . . . . .
|
|
|
|
. . . . . .
|
|
. . # . . #
|
|
. # . . # .
|
|
. # # # # .
|
|
. . . # . .
|
|
. . . # . .
|
|
. . # . . .
|
|
. . . . . .
|
|
|
|
. . . . . .
|
|
. . # # # #
|
|
. # . . . .
|
|
. # # # . .
|
|
. . . # . .
|
|
. . . . # .
|
|
# # # # . .
|
|
. . . . . .
|
|
|
|
. . . + # .
|
|
. . . # . .
|
|
. . # . . .
|
|
. . # # # .
|
|
. # . . # .
|
|
. # . . # .
|
|
. # # # . .
|
|
. . . . . .
|
|
|
|
. . . . . .
|
|
. . # # # #
|
|
. . . . # .
|
|
. . . . # .
|
|
. . + + . .
|
|
. . + + . .
|
|
. # . . . .
|
|
. . . . . .
|
|
|
|
. . . . . .
|
|
. . + # # .
|
|
. # . . # .
|
|
. + # # + .
|
|
# . . # . .
|
|
# . . # . .
|
|
# # + . . .
|
|
. . . . . .
|
|
|
|
. . . . . .
|
|
. . + # # .
|
|
. # . . # .
|
|
. # . + # .
|
|
. # + # . .
|
|
. . . # . .
|
|
# # # . . .
|
|
. . . . . .
|
|
|
|
. . . . . .
|
|
. . . # . .
|
|
. . # # . .
|
|
. . . . . .
|
|
. . . . . .
|
|
. # # . . .
|
|
. # . . . .
|
|
. . . . . .
|
|
|
|
. . . . . .
|
|
. . . # . .
|
|
. . # # . .
|
|
. . . . . .
|
|
. . . . . .
|
|
. # # . . .
|
|
. # . . . .
|
|
+ # . . . .
|
|
|
|
. . . . . .
|
|
. . . # + .
|
|
. + + . . .
|
|
. # . . . .
|
|
. # . . . .
|
|
. . # . . .
|
|
. . # . . .
|
|
. . . . . .
|
|
|
|
. . . . . .
|
|
. . . . . .
|
|
. # # # # .
|
|
. . . . . .
|
|
. . . . . .
|
|
# # # # . .
|
|
. . . . . .
|
|
. . . . . .
|
|
|
|
. . . . . .
|
|
. . # . . .
|
|
. . # . . .
|
|
. . . # . .
|
|
. . . # . .
|
|
. . + + . .
|
|
+ # . . . .
|
|
. . . . . .
|
|
|
|
. . # # . .
|
|
. . # . # .
|
|
. . . . # .
|
|
. . . + # .
|
|
. . # . . .
|
|
. . . . . .
|
|
. # . . . .
|
|
. . . . . .
|
|
|
|
. . # # # .
|
|
. . # . . #
|
|
. # . # . #
|
|
. # . # + #
|
|
# . # # # .
|
|
. # . . . .
|
|
. # # # . .
|
|
. . . . . .
|
|
|
|
. . . + # .
|
|
. . . # . #
|
|
. . # . . #
|
|
. . # # # #
|
|
. # . . # .
|
|
. # . . # .
|
|
# . . # . .
|
|
. . . . . .
|
|
|
|
. . . # # .
|
|
. . . # . #
|
|
. . # . # .
|
|
. . # # # .
|
|
. # . . # .
|
|
. # . + # .
|
|
# # # + . .
|
|
. . . . . .
|
|
|
|
. . + # # .
|
|
. . # + . #
|
|
. # . . . .
|
|
. # . . . .
|
|
# . . . . .
|
|
+ + . + + .
|
|
# # # . . .
|
|
. . . . . .
|
|
|
|
. . . # # .
|
|
. . . # . #
|
|
. . # . . #
|
|
. . # . . #
|
|
. # . . # .
|
|
. # . + # .
|
|
# # # + . .
|
|
. . . . . .
|
|
|
|
. . . # # #
|
|
. . . # . .
|
|
. . # . . .
|
|
. . # # . .
|
|
. # . . . .
|
|
. # . . . .
|
|
# # # . . .
|
|
. . . . . .
|
|
|
|
. . . # # #
|
|
. . . # . .
|
|
. . # . . .
|
|
. . # # . .
|
|
. # . . . .
|
|
. # . . . .
|
|
# . . . . .
|
|
. . . . . .
|
|
|
|
. . + # # .
|
|
. . # + . #
|
|
. # . . . .
|
|
. # . . . .
|
|
# . # # . .
|
|
+ + . # . .
|
|
+ # # . . .
|
|
. . . . . .
|
|
|
|
. . . # . #
|
|
. . . # . #
|
|
. . # . # .
|
|
. . # # # .
|
|
. # . # . .
|
|
. # . # . .
|
|
# . # . . .
|
|
. . . . . .
|
|
|
|
. . . # # #
|
|
. . . . # .
|
|
. . . # . .
|
|
. . . # . .
|
|
. . # . . .
|
|
. . # . . .
|
|
# # # . . .
|
|
. . . . . .
|
|
|
|
. . . # # #
|
|
. . . . # .
|
|
. . . # . .
|
|
. . . # . .
|
|
. . # . . .
|
|
# . # . . .
|
|
# # . . . .
|
|
. . . . . .
|
|
|
|
. . . # . #
|
|
. . . # . #
|
|
. . # . # .
|
|
. . # # + .
|
|
. # + . . .
|
|
. # . # . .
|
|
# . . # . .
|
|
. . . . . .
|
|
|
|
. . . # . .
|
|
. . . # . .
|
|
. . # . . .
|
|
. . # . . .
|
|
. # . . . .
|
|
. # . . . .
|
|
# # # # . .
|
|
. . . . . .
|
|
|
|
. . # . # #
|
|
. . # + # +
|
|
. # . # . #
|
|
. # . . . #
|
|
# . . . # .
|
|
# . . . # .
|
|
+ . . # . .
|
|
. . . . . .
|
|
|
|
. . # . . #
|
|
. . # # . +
|
|
. # + + . #
|
|
. # . # . #
|
|
# . + + # .
|
|
# . . # # .
|
|
+ . . # . .
|
|
. . . . . .
|
|
|
|
. . . # # .
|
|
. . # + . #
|
|
. # . . . #
|
|
. # . . . #
|
|
# . . . # .
|
|
# . . + # .
|
|
# # # . . .
|
|
. . . . . .
|
|
|
|
. . . # # .
|
|
. . . # . #
|
|
. . # . . #
|
|
. . # . + #
|
|
. # # # + .
|
|
. # . . . .
|
|
# . . . . .
|
|
. . . . . .
|
|
|
|
. . . # # .
|
|
. . # + . #
|
|
. # . . . #
|
|
. # . . . #
|
|
# . . # # .
|
|
# . . . # .
|
|
# # # . # .
|
|
. . . . . .
|
|
|
|
. . . # # .
|
|
. . . # . #
|
|
. . # . . #
|
|
. . # . + #
|
|
. # # # + .
|
|
. # . # . .
|
|
# . . # . .
|
|
. . . . . .
|
|
|
|
. . + # # #
|
|
. . # + . .
|
|
. # . . . .
|
|
. . # # . .
|
|
. . . # . .
|
|
. . . . # .
|
|
# # # # . .
|
|
. . . . . .
|
|
|
|
. # # # # #
|
|
. . . # . .
|
|
. . # . . .
|
|
. . # . . .
|
|
. # . . . .
|
|
. # . . . .
|
|
# . . . . .
|
|
. . . . . .
|
|
|
|
. . # . . #
|
|
. . # . . #
|
|
. # . . # .
|
|
. # . . # .
|
|
# . . # . .
|
|
# . + # . .
|
|
# # + . . .
|
|
. . . . . .
|
|
|
|
. + . . . #
|
|
. # . . . #
|
|
+ . . . # .
|
|
. # . . # .
|
|
+ . . # . .
|
|
. # + + . .
|
|
. # . . . .
|
|
. . . . . .
|
|
|
|
. . # . . +
|
|
. . # . . +
|
|
. # . . . #
|
|
. # . . . #
|
|
# . # . # .
|
|
# + # . # .
|
|
# + # # . .
|
|
. . . . . .
|
|
|
|
. # . . . #
|
|
. . # . . #
|
|
. . # # + .
|
|
. . . # . .
|
|
. + # # . .
|
|
. # . . # .
|
|
# . . . # .
|
|
. . . . . .
|
|
|
|
. # . . . #
|
|
. . # . . #
|
|
. . # # + .
|
|
. . . # . .
|
|
. + # . . .
|
|
. # . . . .
|
|
# . . . . .
|
|
. . . . . .
|
|
|
|
. . # # # #
|
|
. . . . . #
|
|
. . . # + .
|
|
. . . # . .
|
|
. + # . . .
|
|
. # . . . .
|
|
# # # # . .
|
|
. . . . . .
|
|
|
|
. . . # # #
|
|
. . . # . .
|
|
. . # . . .
|
|
. . # . . .
|
|
. # . . . .
|
|
. # . . . .
|
|
# # # . . .
|
|
. . . . . .
|
|
|
|
. # . . . .
|
|
. . # . . .
|
|
. . # . . .
|
|
. . . # . .
|
|
. . . # . .
|
|
. . . . # .
|
|
. . . . # .
|
|
. . . . . .
|
|
|
|
. . . # # #
|
|
. . . . . #
|
|
. . . . # .
|
|
. . . . # .
|
|
. . . # . .
|
|
. . . # . .
|
|
# # # . . .
|
|
. . . . . .
|
|
|
|
. . . + # .
|
|
. . + # . #
|
|
. # . . . #
|
|
. . . . . .
|
|
. . . . . .
|
|
. . . . . .
|
|
. . . . . .
|
|
. . . . . .
|
|
|
|
. . . . . .
|
|
. . . . . .
|
|
. . . . . .
|
|
. . . . . .
|
|
. . . . . .
|
|
. . . . . .
|
|
# # # # # .
|
|
. . . . . .
|
|
|
|
. . # # . .
|
|
. . . # . .
|
|
. . + # . .
|
|
. . . . . .
|
|
. . . . . .
|
|
. . . . . .
|
|
. . . . . .
|
|
. . . . . .
|
|
|
|
. . . . . .
|
|
. . # # + #
|
|
. # . # # .
|
|
. # . . # .
|
|
# . . # . .
|
|
. # + # . .
|
|
. # # . . .
|
|
. . . . . .
|
|
|
|
. . . # . .
|
|
. . . # . .
|
|
. . # . . .
|
|
. . # # # .
|
|
. # . . # .
|
|
. # . . # .
|
|
# # # # . .
|
|
. . . . . .
|
|
|
|
. . . . . .
|
|
. . . # # .
|
|
. # + . # .
|
|
. # . . . .
|
|
# . . . . .
|
|
. # . # . .
|
|
. # + . . .
|
|
. . . . . .
|
|
|
|
. . . . . #
|
|
. . . . . #
|
|
. . # # # .
|
|
. # + . # .
|
|
# . . # . .
|
|
# . . # . .
|
|
# # # . . .
|
|
. . . . . .
|
|
|
|
. . . . . .
|
|
. . + # # .
|
|
. # . . # .
|
|
. # # # + .
|
|
# . . . . .
|
|
. # . . . .
|
|
. # # . . .
|
|
. . . . . .
|
|
|
|
. . . # # .
|
|
. . . # . #
|
|
. . # . . .
|
|
. # # # . .
|
|
. # . . . .
|
|
. # . . . .
|
|
# . . . . .
|
|
. . . . . .
|
|
|
|
. . . . . .
|
|
. . . # # #
|
|
. . # . . #
|
|
. . . # # #
|
|
. . . . # .
|
|
. . . + # .
|
|
. # # . . .
|
|
. . . . . .
|
|
|
|
. . . # . .
|
|
. . . # . .
|
|
. . # . . .
|
|
. . # . . .
|
|
. # # # . .
|
|
. # . . # .
|
|
# . . # . .
|
|
. . . . . .
|
|
|
|
. . . . # .
|
|
. . . . . .
|
|
. . . # . .
|
|
. . . # . .
|
|
. . # . . .
|
|
. . # . . .
|
|
. # . . . .
|
|
. . . . . .
|
|
|
|
. . . . # .
|
|
. . . . . .
|
|
. . . # . .
|
|
. . . # . .
|
|
. . # . . .
|
|
. . # . . .
|
|
. # . . . .
|
|
# # . . . .
|
|
|
|
. . . # . .
|
|
. . . # . .
|
|
. . # . . .
|
|
. . # . . .
|
|
. # + # . .
|
|
. # # + . .
|
|
# . # + . .
|
|
. . . . . .
|
|
|
|
. . . . # .
|
|
. . . . # .
|
|
. . . # . .
|
|
. . . # . .
|
|
. . # . . .
|
|
. . # . . .
|
|
. # . . . .
|
|
. . . . . .
|
|
|
|
. . . . . .
|
|
. . . # # #
|
|
. . # + + #
|
|
. . # + + #
|
|
. # + + # .
|
|
. # + + # .
|
|
# + + # . .
|
|
. . . . . .
|
|
|
|
. . . . . .
|
|
. . . # + #
|
|
. . # # + #
|
|
. . # . . #
|
|
. # . . # .
|
|
. # . . # .
|
|
# . . # . .
|
|
. . . # . .
|
|
|
|
. . . . . .
|
|
. . + # # .
|
|
. # + . # .
|
|
. # . . . #
|
|
# . . . # .
|
|
. # . + # .
|
|
. # # + . .
|
|
. . . . . .
|
|
|
|
. . . . . .
|
|
. . . # # #
|
|
. . # . . #
|
|
. . # . . #
|
|
. # # # + .
|
|
. # . . . .
|
|
# . . . . .
|
|
. . . . . .
|
|
|
|
. . . . . .
|
|
. . + # # #
|
|
. # . . # .
|
|
. # . . # .
|
|
. # # # . .
|
|
. . . # . .
|
|
. . # . . .
|
|
. . # . . .
|
|
|
|
. . . . . .
|
|
. . . # + #
|
|
. . # # . #
|
|
. . # . . .
|
|
. # . . . .
|
|
. # . . . .
|
|
# . . . . .
|
|
. . . . . .
|
|
|
|
. . . . . .
|
|
. . # # # #
|
|
. # . . . .
|
|
. . # # . .
|
|
. . . # . .
|
|
. . . . # .
|
|
# # # # . .
|
|
. . . . . .
|
|
|
|
. . . . . .
|
|
. . . # . .
|
|
. # # # . .
|
|
. . # . . .
|
|
. # . . . .
|
|
. # . # . .
|
|
. # + . . .
|
|
. . . . . .
|
|
|
|
. . . . . .
|
|
. . # . . #
|
|
. # . . # .
|
|
. # . . # .
|
|
# . . # . .
|
|
# . + # . .
|
|
# # + . . .
|
|
. . . . . .
|
|
|
|
. . . . . .
|
|
. + # . . +
|
|
. # . . . #
|
|
. + + . + #
|
|
. # . # + .
|
|
. # . # . .
|
|
. # . . . .
|
|
. . . . . .
|
|
|
|
. . . . . .
|
|
. . # . . +
|
|
. # . . . #
|
|
. # . # . #
|
|
# . # . # .
|
|
# . # . # .
|
|
# # # + . .
|
|
. . . . . .
|
|
|
|
. . . . . .
|
|
. . # . . #
|
|
. . # . # .
|
|
. . + # + .
|
|
. + # + . .
|
|
. # . # . .
|
|
# . . # . .
|
|
. . . . . .
|
|
|
|
. . . . . .
|
|
. . # . . #
|
|
. # . . # .
|
|
. . # # # .
|
|
. . . # . .
|
|
. . + # . .
|
|
# # + . . .
|
|
. . . . . .
|
|
|
|
. . . . . .
|
|
. . # # # #
|
|
. . . . # .
|
|
. . . # + .
|
|
. + # . . .
|
|
. # . . . .
|
|
# # # # . .
|
|
. . . . . .
|
|
|
|
. . . + # #
|
|
. . . # . .
|
|
. . # . . .
|
|
. # + . . .
|
|
. # . . . .
|
|
. # . . . .
|
|
+ # # . . .
|
|
. . . . . .
|
|
|
|
. . . . # .
|
|
. . . . # .
|
|
. . . # . .
|
|
. . . # . .
|
|
. . # . . .
|
|
. . # . . .
|
|
. # . . . .
|
|
. . . . . .
|
|
|
|
. . . # # +
|
|
. . . . . #
|
|
. . . . # .
|
|
. . . . + #
|
|
. . . # . .
|
|
. . . # . .
|
|
# # + . . .
|
|
. . . . . .
|
|
|
|
. # # . . .
|
|
. # . # . #
|
|
. . . # # .
|
|
. . . . . .
|
|
. . . . . .
|
|
. . . . . .
|
|
. . . . . .
|
|
. . . . . .
|
|
|
|
. . . . . .
|
|
. # + # + .
|
|
. # + # + .
|
|
. + # + # .
|
|
. + # + # .
|
|
. # + # + .
|
|
. # + # + .
|
|
. . . . . .
|
|
|
|
"""
|
|
# """ # add quotes, because vim thinks the qotes on the previous line start a string.
|
|
|
|
import sys
|
|
|
|
charsize = 25 * 4 + 1
|
|
for c in range (128 - 32):
|
|
for l in range (8):
|
|
offset = 2 + c * charsize + 25 * (l >> 1) + 12 * (l & 1)
|
|
ln = ""
|
|
for x in range (6):
|
|
char = data[offset + x * 2]
|
|
if char == '.':
|
|
sys.stdout.write (chr (0))
|
|
elif char == '+':
|
|
sys.stdout.write (chr (128))
|
|
elif char == '#':
|
|
sys.stdout.write (chr (255))
|
|
else:
|
|
raise "invalid character in " + str (c)
|