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

x/caviar/src/entities/particle/mod.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.1.1/src/entities/particle/mod.ts";

Constructors

new
Particle(id: number, settings: Settings)

Properties

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