UNPKG

@flodlc/nebula

Version:

Including configurable Stars, Nebulas, Comets, Planets and Suns. Nebula comes with a vanilla JS and a React wrapper. Compatible with SSR

9 lines (8 loc) 257 B
import { Star } from "../astres/Star"; export declare const generateStars: ({ stars, count, color, rotationSpeed, ctx, }: { stars: Star[]; count: number; color: string; rotationSpeed: number; ctx: CanvasRenderingContext2D; }) => Star[];