A particle system implemented in TypeScript