def draw(self):
        pi = 3.14159265358979323
        # Loop through rings (from inside to out)
        for i in range(1,6):
            self.context.save()
            self.context.fillStyle = 'rgb(%d,%d,255)'%((51*i), (255-51*i))

            # draw individual dots
            for j in range(0,i*6): 
                self.context.rotate(pi*2/(i*6))
                self.context.beginPath()
                self.context.arc(0,i*12.5,5,0,pi*2,True)
                self.context.fill()

            self.context.restore()
dataset/ETHPy150Open anandology/pyjamas/examples/addonsgallery/Canvas2DTab.py/RotatedCanvas.draw/original