counter = 0
cx = 0
cy = 0
fsize = 0

class FunnyRect():
    def setCenter(self, x,y):
        self.cx = x
        self.cy = y
    def setSize(self, size):
        self.size = size
    def render(self):
        rect(self.cx, self.cy, self.size, self.size)

funnyRect = FunnyRect()
f = FunnyRect()
def setup():
    size(600, 600)
    smooth()
    noStroke()
    rectMode(CENTER)
    funnyRect.setSize(50)
    f.setSize(50)

def draw():
    background(255)
    fill(50)
    global counter
    objX = mouseX + sin(counter)*150
    objY = mouseY + cos(counter)*150
    funnyRect.setCenter(mouseX, mouseY)
    funnyRect.render()
    f.setCenter(objX, objY)
    f.render()
    counter += 0.05

e4408d2212913d68cf26d4c3083d687669479997
<mask token>


class FunnyRect:

    def setCenter(self, x, y):
        self.cx = x
        self.cy = y

    def setSize(self, size):
        self.size = size

    def render(self):
        rect(self.cx, self.cy, self.size, self.size)


<mask token>

<mask token>


class FunnyRect:

    def setCenter(self, x, y):
        self.cx = x
        self.cy = y

    def setSize(self, size):
        self.size = size

    def render(self):
        rect(self.cx, self.cy, self.size, self.size)


<mask token>


def setup():
    size(600, 600)
    smooth()
    noStroke()
    rectMode(CENTER)
    funnyRect.setSize(50)
    f.setSize(50)


<mask token>

<mask token>


class FunnyRect:

    def setCenter(self, x, y):
        self.cx = x
        self.cy = y

    def setSize(self, size):
        self.size = size

    def render(self):
        rect(self.cx, self.cy, self.size, self.size)


<mask token>


def setup():
    size(600, 600)
    smooth()
    noStroke()
    rectMode(CENTER)
    funnyRect.setSize(50)
    f.setSize(50)


def draw():
    background(255)
    fill(50)
    global counter
    objX = mouseX + sin(counter) * 150
    objY = mouseY + cos(counter) * 150
    funnyRect.setCenter(mouseX, mouseY)
    funnyRect.render()
    f.setCenter(objX, objY)
    f.render()
    counter += 0.05

counter = 0
cx = 0
cy = 0
fsize = 0


class FunnyRect:

    def setCenter(self, x, y):
        self.cx = x
        self.cy = y

    def setSize(self, size):
        self.size = size

    def render(self):
        rect(self.cx, self.cy, self.size, self.size)


funnyRect = FunnyRect()
f = FunnyRect()


def setup():
    size(600, 600)
    smooth()
    noStroke()
    rectMode(CENTER)
    funnyRect.setSize(50)
    f.setSize(50)


def draw():
    background(255)
    fill(50)
    global counter
    objX = mouseX + sin(counter) * 150
    objY = mouseY + cos(counter) * 150
    funnyRect.setCenter(mouseX, mouseY)
    funnyRect.render()
    f.setCenter(objX, objY)
    f.render()
    counter += 0.05

counter = 0
cx = 0
cy = 0
fsize = 0

class FunnyRect():
    def setCenter(self, x,y):
        self.cx = x
        self.cy = y
    def setSize(self, size):
        self.size = size
    def render(self):
        rect(self.cx, self.cy, self.size, self.size)

funnyRect = FunnyRect()
f = FunnyRect()
def setup():
    size(600, 600)
    smooth()
    noStroke()
    rectMode(CENTER)
    funnyRect.setSize(50)
    f.setSize(50)

def draw():
    background(255)
    fill(50)
    global counter
    objX = mouseX + sin(counter)*150
    objY = mouseY + cos(counter)*150
    funnyRect.setCenter(mouseX, mouseY)
    funnyRect.render()
    f.setCenter(objX, objY)
    f.render()
    counter += 0.05
