screenWipes.package
README.md
screenWipes.api
The whole package in one module: W.play(style, opts?) plays a full-screen transition (fade, iris, wipe, pixelate, blinds) on this peer and returns the seconds until the screen is covered, W.coverTime / W.duration give its timing, and W.swatch / W.preview return box nodes that show a style looping or frozen, for galleries and settings menus. Called by whatever moves the camera between rooms, levels or scenes, and by menus that let the player pick a transition. See the package README for options and defaults.