Jump to content

UnladenShrubbery

Member
  • Posts

    2
  • Joined

  • Last visited

Awards

This user doesn't have any awards

UnladenShrubbery's Achievements

  1. It also looks like the variable k is not being used inside the diffuse() method. Are you meaning to assign that instead of 0?
  2. You need an __init__() method inside your cell class. class cell: def __init__(self): self.x = 0 self.y = 0 self.den = 0 self.velX = 0 self.velY = 0 Otherwise all instances of Cell share the same values.
×