feat: add 4 drei examples for missing components - #181
Open
0xTHAC0 wants to merge 4 commits into
Open
Conversation
Add working examples for 8 drei components that lack dedicated demos in the examples repo (ref: pmndrs/drei#2680): - camera-controls-basic: CameraControls with leva GUI for transitions - text3d-center: Text3D + Center with matcap material - gradient-rounded-materials: GradientTexture + RoundedBox + MeshWobbleMaterial - accumulative-contact-shadows: AccumulativeShadows + ContactShadows All examples follow repo conventions: Vite + React 19 + TypeScript, drei 10.7.8 / fiber 9.6.1 / three 0.165.0, validated pmndrs.json. Co-Authored-By: Paperclip <noreply@paperclip.ing>
…kfile Generate actual WebGL screenshots (1600x840 WebP) for all 4 new examples using Playwright, replacing the placeholder thumbnails. Also include the pnpm-lock.yaml updates for the new example dependencies. Co-Authored-By: Paperclip <noreply@paperclip.ing>
Co-Authored-By: Paperclip <noreply@paperclip.ing>
Co-Authored-By: Paperclip <noreply@paperclip.ing>
0xTHAC0
force-pushed
the
feat/drei-missing-examples
branch
from
August 16, 2026 04:08
555ced1 to
3ad725d
Compare
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
Adds 4 new examples covering 8 drei components that currently lack dedicated demos in the examples repo, as identified in pmndrs/drei#2680.
Examples added
camera-controls-basicCameraControlstext3d-centerText3D,CenterCentergradient-rounded-materialsGradientTexture,RoundedBox,MeshWobbleMaterialaccumulative-contact-shadowsAccumulativeShadows,ContactShadowsRandomizedLightConventions followed
10.7.8/ fiber9.6.1/ three0.165.0pmndrs.jsonvalidates againstschemas/pmndrs.schema.jsonVerification
tsc --noEmit)vite build)pmndrs.jsonfiles have required fields and valid library entriesnode bin/validate-pmndrs-metadata.mjs— 174 examples validatedprettier --check— all files formattedsyncpack lint— no version issuesRef: pmndrs/drei#2680 (partial — covers 8 of ~75 missing components)