UNPKG

three-wfc

Version:

A blazing fast Wave Function Collapse engine for three.js, built for real-time 2D, 2.5D, and 3D procedural world generation at scale.

2 lines (1 loc) 73 B
export const copyReverse = <T>(array: T[]): T[] => [...array].reverse();