Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/caviar/src/entities/particle/Particle.ts>Particle

⚡ Blazing fast, modern, Game Engine powered by WebGPU for Deno and the browser
Go to Latest
class Particle
import { Particle } from "https://deno.land/x/caviar@2.6.0/src/entities/particle/Particle.ts";

Constructors

new
Particle(id: number, settings: Settings)

Properties

id: number
life: number
settings: Settings
vx: number
vy: number
x: number
y: number