Particle Lenia and the energy-based formulation