Example #1
0
    def __init__(self, theCanvas):
        SimpleCanvasDemo.__init__(self, theCanvas)
        self.numParticles = 20
        self.particles = []
        self.takeBenchmarks = False

        self.width = 400
        self.height = 300
        self.canvas = theCanvas
        self.demoName = "Particle Demo"
        self.run = False
Example #2
0
    def __init__(self, theCanvas):
        SimpleCanvasDemo.__init__(self, theCanvas)
        self.numParticles = 20
        self.particles = []
        self.takeBenchmarks = False

        self.width = 400
        self.height = 300
        self.canvas = theCanvas
        self.demoName = "Particle Demo"
        self.run = False
Example #3
0
    def __init__(self, theCanvas):
        SimpleCanvasDemo.__init__(self, theCanvas)
        self.height = 400
        self.width = 600
        self.demoName = "Pyjamas Logo"
        """
        * Reference to our ImageHandle that gets initialized on the callback from
        * ImageLoader.
        """
        self.img = None

        self.rotation = 0.1

        self.run = False
Example #4
0
    def __init__(self, theCanvas):
        SimpleCanvasDemo.__init__(self, theCanvas)
        self.height = 400
        self.width = 600
        self.demoName = "Pyjamas Logo"

        """
        * Reference to our ImageHandle that gets initialized on the callback from
        * ImageLoader.
        """
        self.img = None

        self.rotation = 0.1

        self.run = False
Example #5
0
 def __init__(self, theCanvas):
     SimpleCanvasDemo.__init__(self, theCanvas)
     self.width = 350
     self.height = 350
     self.demoName = "Feature Suite"
     self.run = False
Example #6
0
    def __init__(self, theCanvas):
        SimpleCanvasDemo.__init__(self, theCanvas)

        self.width = 400
        self.height = 400
        self.demoName = "Gradients"
Example #7
0
 def __init__(self, theCanvas):
     SimpleCanvasDemo.__init__(self, theCanvas)
     self.width = 350
     self.height = 350
     self.demoName = "Feature Suite"
     self.run = False
Example #8
0
    def __init__(self, theCanvas):
        SimpleCanvasDemo.__init__(self, theCanvas)

        self.width = 400
        self.height = 400
        self.demoName = "Gradients"
Example #9
0
 def __init__(self, theCanvas):
     SimpleCanvasDemo.__init__(self, theCanvas)
     self.width = 400
     self.height = 400
     self.demoName = "Static Scene"