Skip to content

docs: add sparkjs, threepipe, react-three-map, wawa-vfx, r3f-globe, Three-VFX to community components grid#3714

Open
jo-chemla wants to merge 21 commits into
pmndrs:masterfrom
jo-chemla:master
Open

docs: add sparkjs, threepipe, react-three-map, wawa-vfx, r3f-globe, Three-VFX to community components grid#3714
jo-chemla wants to merge 21 commits into
pmndrs:masterfrom
jo-chemla:master

Conversation

@jo-chemla

@jo-chemla jo-chemla commented Apr 5, 2026

Copy link
Copy Markdown
Contributor

Following recent creation of r3f frameworks, renderers, or utils, this PR adds some missing community components to the doc, especially valuable @sparkjsdev 3dgs gaussian splat rendering, @repalash threepipe, mapping utils from @RodrigoHamuy, and vfx from @wass08 and @mustache-dev

Follow-up of #3378

Draft PR, current preview here

Added new community components and updated existing links.
@jo-chemla jo-chemla changed the title add spark-react-r3f, threepipe plugin-r3f, react-three-map, wawa-vfx, r3f-globe, Three-VFX to community components grid add sparkjs, threepipe, react-three-map, wawa-vfx, r3f-globe, Three-VFX to community components grid Apr 5, 2026
@codesandbox-ci

codesandbox-ci Bot commented Apr 5, 2026

Copy link
Copy Markdown

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 80832c0:

Sandbox Source
example Configuration

@jo-chemla

Copy link
Copy Markdown
Contributor Author

Just made the final touch-ups, the PR is ready to review from my point-of-view. I moved some projects to a dedicated Stale section, not sure this is the right move.

Here is the published version of the community-r3f-components page

@krispya

krispya commented Apr 13, 2026

Copy link
Copy Markdown
Member

Thanks for doing this. I just removed the stale entries. I think what is left before merging is actually downloading the images, resizing them and hosting them out of our docs instead of relying on a bunch of external domains.

@jo-chemla

Copy link
Copy Markdown
Contributor Author

Thanks for removing stale. Regarding the images, where do you want to host them if outside the repo?

@krispya

krispya commented Apr 13, 2026

Copy link
Copy Markdown
Member

I mean, we should download and resize the images then host them locally from the repo.

@jo-chemla

jo-chemla commented Apr 14, 2026

Copy link
Copy Markdown
Contributor Author

Understood thanks, did not think you'd want to store images in repo. I just batch cropped them to 16x9 ratio at 320x180p, exported as jpg, this totals 250kB.

Just added the images in a subfolder, they are part of the build, but they did not get referenced via the same url pattern than those already present in docs like banner-journey.jpg:

  • the images present in docs (standard html <img ...> or mdx ![]()) are linked by ../banner-journey.jpg, which result in an image url in the docs of https://github.com/jo-chemla/react-three-fiber/raw/master/docs/banner-r3f.jpg which works - the MDX_BASEURL is correctly prefixed
  • while mine are docs <Img ...>, with filepaths ./community-r3f-components-images/r3f-scroll-rig.jpg which result in https://jo-chemla.github.io/react-three-fiber/getting-started/community-r3f-components-images/three-geospatial-manhattan.jpg which does not resolve. The MDX_BASEURL is not correctly prefixed for these.

After careful inspection, it looks like the <Img ...> does not correctly get passed the MDX_BASEURL, but standard <img ...> do work. Thankfully I had already cropped to the right aspect ratio, otherwise, the className="aspect-[16/9] would not be valid. To me looks like a pmndrs/docs bug if anyone want to have a look @abernier & co.

Populated by the github action here as

https://github.com/${{ github.repository }}/raw/${{ github.head_ref || github.ref_name }}/${{ inputs.mdx }}
xnconvert flow to crop + fill 16x9 ratio

image

@jo-chemla

jo-chemla commented Apr 14, 2026

Copy link
Copy Markdown
Contributor Author

Ready to review from my point-of-view!

Here is the preview

@CodyJasonBennett CodyJasonBennett changed the title add sparkjs, threepipe, react-three-map, wawa-vfx, r3f-globe, Three-VFX to community components grid docs: add sparkjs, threepipe, react-three-map, wawa-vfx, r3f-globe, Three-VFX to community components grid Apr 28, 2026
@jo-chemla

jo-chemla commented Apr 29, 2026

Copy link
Copy Markdown
Contributor Author

Thanks for merging master into this pr and renaming the pr! It appears the last commit brought no changes (according to github), was it a line-ending issue? If so sorry about it!

Edit: don't know why github is not showing the changes, github desktop does show the merged commits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants