def main():
    applet = Applet()
    applet.set_size(512, 512)
    applet.run(SpacePartition().draw)
示例#2
0
def main():
    applet = Applet()
    applet.set_size(854, 480)
    applet.set_title("Tunnel")
    applet.run(draw)
示例#3
0
def main():
    applet = Applet()
    applet.set_size(256, 256)
    applet.run(draw)
示例#4
0
def main():
    applet = Applet()
    applet.set_size(640, 480)
    applet.run(Landscape().draw)
示例#5
0
def main():
    applet = Applet()
    applet.set_title("Crosshair")
    applet.run_animation(Crosshair().draw, 1000 / 60)
示例#6
0
def main():
    from cairogadget import Applet
    applet = Applet()
    applet.run(draw)
示例#7
0
def main():
    applet = Applet()
    applet.set_size(854, 480)
    applet.set_title("Loading Screen")
    applet.run_animation(ShapedGUI().draw, 1000 / 60)
示例#8
0
def main():
    applet = Applet()
    applet.set_size(1280, 720)
    applet.set_title("Bezier")
    applet.run_animation(Bezier().draw, 1000 / 60)
示例#9
0
def main():
    applet = Applet()
    applet.set_size(640, 480)
    applet.run(draw)
示例#10
0
def main():
    applet = Applet()
    applet.set_size(854, 480)
    applet.set_title("Film Countdown")
    applet.run_animation(on_draw, 1000 / 24)
示例#11
0
def main():
    applet = Applet()
    applet.set_size(512, 512)
    applet.run(draw)
示例#12
0
def main():
    applet = Applet()
    applet.run_animation(WildPolys().draw, 1000 / 60)
示例#13
0
def main():
    applet = Applet()
    applet.set_size(640, 480)
    applet.run(Spiral().draw)
示例#14
0
def main():
    applet = Applet()
    applet.set_size(1280, 960)
    applet.run(draw)
示例#15
0
def main():
    applet = Applet()
    applet.set_size(512, 512)
    applet.run(Labyrinth().draw)
示例#16
0
def main():
    applet = Applet()
    applet.set_title("Knight Rider")
    applet.run_animation(draw, 1000 / 16)
示例#17
0
def main():
    applet = Applet()
    applet.set_title("Wheel of Fortune")
    applet.run_animation(draw, 1000 / 60)
示例#18
0
def main():
    applet = Applet()
    applet.set_title("Grid Effect")
    applet.set_size(640, 480)
    applet.run(GridGadget().draw)
示例#19
0
def main():
    applet = Applet()
    applet.set_size(512, 512)
    applet.set_title("Eye")
    applet.run_animation(Eye().draw, 1000 / 24)
示例#20
0
def main():
    applet = Applet()
    applet.set_size(854, 480)
    applet.set_title("Tunnel")
    applet.run_animation(Tunnel().draw, 1000 / 24)
示例#21
0
def main():
    applet = Applet()
    applet.set_size(854, 480)
    applet.set_title("Loading Screen")
    applet.run_animation(MouseBubbles().draw, 1000 / 60)