[ot][spam][crazy][crazy][spam]

Karl Semich 0xloem at gmail.com
Fri Jun 17 11:15:58 PDT 2022


particle systems are something i am still trying to do again, to make
use of structures and graphics.
text mode particle system draft, python
i'll use a normal structure, even though they are slow in python.

class Particle:
  def __init__(self, x, y, duration, xv = 0, yv = 0):
    self.x = x
    self.y = y
    self.t = duration
    self.xv = xv
    self.yv = yv
  def update(self, time):
    self.x += self.xv * time
    self.y += self.yv * time
    self.t -= duration
    return self.t >= 0

class ParticleGenerator:
  def __init__(self)


More information about the cypherpunks mailing list