Migrate @react-three/postprocessing demos from CodeSandbox - #167
Merged
Conversation
…stprocessing Vignette is a fresh scene built for the effect. Bubbles and Take Control are faithful ports of the library's own CodeSandbox demos (Bubbles from the current sandbox export, Take Control recovered from the repo's pre-2020 git history since its CodeSandbox sync target no longer exists), modernized to TypeScript, @react-three/postprocessing 3.0.5, and this repo's conventions.
Both share the Suzanne + drei Stage staging from the original CodeSandbox demos, only the effect in the composer differs.
…ct-postprocessing Same Suzanne + drei Stage staging as Pixelation/Sepia/Dot Screen, only the effect in the composer differs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Most of
@react-three/postprocessing's own demo CodeSandboxes have been broken or badly outdated for years - some no longer load at all, others crashed on the deprecated APIs they were built against. This PR migrates them into this repo as proper, maintained examples on the current release (3.0.5).Currently included:
Stagestaging as the original CodeSandboxes.All examples are modernized to TypeScript, Vite, and this repo's conventions.
The remaining effects below will follow as separate stacked PRs on top of this one.
Test plan
pnpm lint:metadatapnpm exec syncpack lintpnpm --filter <example> buildfor each exampleEffect coverage
Flagship demos:
Single-effect demos:
No live demo in the original docs (need to be built from documented props alone):