-
Notifications
You must be signed in to change notification settings - Fork 0
MONTH_IMAGES
github-actions[bot] edited this page May 30, 2026
·
1 revision
moon-cycle / MONTH_IMAGES
constMONTH_IMAGES:708=708
Defined in: types.ts:64
Number of images in the monthly (mm) dataset.
Equals the number of hours in one synodic month, rounded to the nearest
integer. Filenames range from "001.webp" to "708.webp".
import { MONTH_IMAGES } from 'moon-cycle';
// Fraction of the way through the synodic cycle
const index = Math.floor(fraction * MONTH_IMAGES) + 1;moon-cycle · MIT License · GitHub · Issues
Guides
Examples
API
Reference
Community