Skip to content

Repository files navigation

CI

GL Transition demo: animated transition effect between two photosGL Transition demo: a desert road photo transitioning to another sceneGL Transition demo: animated shader transition between two photos

This repository hosts multiple packages for gl-transitions.

Development

Requirements: Node 20 or 22 LTS and pnpm. headless-gl currently fails to compile against newer Node headers (e.g. Node 25), so stick to an LTS — a .prototools file pins Node 22 for proto users.

pnpm install
pnpm build          # build all packages (tsdown + vite)
pnpm test           # unit tests (vitest) + CLI smoke test (needs headless-gl)
pnpm typecheck
pnpm dev            # run the website locally (vite)

Releasing

Releases are managed with Changesets: add a changeset with pnpm changeset, merge to master, and the release workflow opens a version PR / publishes to npm via trusted publishing (OIDC — no token; each package declares this repo's release.yml as trusted publisher on npmjs.com).

Website deployment (Vercel + gl-transitions.com)

The website deploys on Vercel (project connected to this repo; the domain lives on Vercel DNS). vercel.json scopes the build to the website subtree — pnpm install --filter website... skips gl-transition-scripts and its headless-gl native build, which the Vercel image cannot compile.

Kudos

Libraries

Services

Others

About

libraries to run GL Transitions and source code of

Resources

Stars

779 stars

Watchers

23 watching

Forks

Releases

Packages

Used by

Contributors

Languages