We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I'm trying to make an instance of a very simple class draw an ellipse using a.. umm... method? What am I doing wrong?
pointies =  pnum = 123 def setup(): size (600, 300) indicator = width/2 """Pointies = (i for i in range(0,pnum))""" for i in range (0, pnum): x = map (i, 0, pnum, 0, width) y = noise(x,indicator ) pointyinst = Pointy(x,y) pointies.append(pointyinst) def draw(): noStroke fill(100) for i in pointies: i.display() class Pointy: """Una clase de puntos""" def __init__ (self, x, y, z = 0): self.x = x self.y = y self.z = z def display(self): #point(self.x, self.y) ellipse (self.x self.y, 3,3)