Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
abernier committed Aug 13, 2024
2 parents b085cf9 + 46f1836 commit 2c98366
Show file tree
Hide file tree
Showing 489 changed files with 255 additions and 596 deletions.
29 changes: 26 additions & 3 deletions apps/website/app/demos/[demoname]/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ import { ComponentProps } from "react";

import Page from "./page";
import { Style } from "@/components/Style";
import { getDemos } from "@/lib/helper";
import Nav from "@/components/Nav";

const demos = getDemos();

export default function Layout({
params,
Expand All @@ -17,27 +21,46 @@ export default function Layout({
<Style
css={`
@scope {
:scope {
height: 100%;
main {
position: fixed;
width: 100%;
height: 100dvh;
display: flex;
align-items: center;
justify-content: center;
> .Dev {
max-width: 100%;
}
}
.Nav {
position: fixed;
bottom: 0;
width: 100%;
overflow: auto;
@media (min-aspect-ratio: 1/1) {
position: static;
display: inline-block;
}
}
.Dev {
padding-inline: 1rem;
}
iframe {
width: 100%;
min-height: 100dvh;
}
}
`}
/>
{children}
<main>{children}</main>

<Nav demos={demos} />
</div>
);
}
36 changes: 14 additions & 22 deletions apps/website/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import "./globals.css";
import Nav from "@/components/Nav";
import { getDemos } from "@/lib/helper";

import { Style } from "@/components/Style";

const inter = Inter({ subsets: ["latin"] });
const demos = getDemos();

export const metadata: Metadata = {
title: "pmndrs examples",
Expand All @@ -18,6 +16,13 @@ export default function RootLayout({
}: Readonly<{
children: React.ReactNode;
}>) {
const fsMin = 16;
const fsMax = 32;
const wMin = 400;
const wMax = 2500;
const slope = (fsMax - fsMin) / (wMax - wMin);
const yAxisIntersection = -wMin * slope + fsMin;

return (
<html lang="en">
<body className={inter.className}>
Expand All @@ -26,31 +31,18 @@ export default function RootLayout({
@scope {
:scope {
background: #eee;
}
main {
position: fixed;
width: 100%;
height: 100dvh;
}
.Nav {
position: fixed;
bottom: 0;
width: 100%;
overflow: auto;
@media (min-aspect-ratio: 1/1) {
display: inline-block;
position: static;
}
--fs: clamp(
${fsMin}px,
${yAxisIntersection}px + ${slope * 100}vw,
${fsMax}px
);
}
}
`}
/>

<main>{children}</main>
<Nav demos={demos} />
{children}
</body>
</html>
);
Expand Down
31 changes: 25 additions & 6 deletions apps/website/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
import Nav from "@/components/Nav";
import { Style } from "@/components/Style";
import { getDemos } from "@/lib/helper";

const demos = getDemos();

export default function Page() {
return (
Expand All @@ -7,16 +11,31 @@ export default function Page() {
css={`
@scope {
:scope {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
min-height: 100dvh;
}
.Nav {
ul {
padding: 0;
gap: 0;
display: grid;
--w: calc(7 * var(--fs));
grid-template-columns: repeat(auto-fit, minmax(var(--w), 1fr));
}
li {
max-inline-size: none;
}
a img {
width: 100%;
height: auto;
}
}
}
`}
/>
Select a demo

<Nav demos={demos} />
</div>
);
}
9 changes: 6 additions & 3 deletions apps/website/components/Nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,20 @@ export default function Nav({

const { demoname } = useParams();

const firstRef = useRef(true);
// const firstRef = useRef(true);
useEffect(() => {
const i = demos.findIndex(({ name }) => name === demoname);
const li = lisRef.current[i]?.current;

// const behavior = firstRef.current ? "instant" : "smooth";
// console.log("behavior", behavior);
if (li)
li.scrollIntoView({
inline: "center",
block: "center",
behavior: firstRef.current ? "instant" : "smooth",
behavior: "smooth",
});
firstRef.current = false;
// firstRef.current = false;
}, [demoname, demos]);

return (
Expand Down
2 changes: 1 addition & 1 deletion apps/website/lib/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export function getDemos() {

return {
name: demoname,
thumb: `${embed_url}/thumbnail.png`,
thumb: `${embed_url}/thumbnail.webp`,
embed_url,
website_url,
};
Expand Down
2 changes: 1 addition & 1 deletion demos/aquarium/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
[![CodeSandbox](https://img.shields.io/badge/codesandbox-040404?logo=codesandbox&logoColor=DBDBDB)](https://codesandbox.io/s/github/pmndrs/examples/tree/main/demos/aquarium)
[![Stackblitz](https://img.shields.io/badge/stackblitz-fff?logo=Stackblitz&logoColor=1389FD)](https://stackblitz.com/github/pmndrs/examples/tree/main/demos/aquarium)

![](thumbnail.png)
![](thumbnail.webp)
Binary file removed demos/aquarium/thumbnail.png
Binary file not shown.
Binary file added demos/aquarium/thumbnail.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion demos/arkanoid-under-60-loc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
[![CodeSandbox](https://img.shields.io/badge/codesandbox-040404?logo=codesandbox&logoColor=DBDBDB)](https://codesandbox.io/s/github/pmndrs/examples/tree/main/demos/arkanoid-under-60-loc)
[![Stackblitz](https://img.shields.io/badge/stackblitz-fff?logo=Stackblitz&logoColor=1389FD)](https://stackblitz.com/github/pmndrs/examples/tree/main/demos/arkanoid-under-60-loc)

![](thumbnail.png)
![](thumbnail.webp)
Binary file removed demos/arkanoid-under-60-loc/thumbnail.png
Binary file not shown.
Binary file added demos/arkanoid-under-60-loc/thumbnail.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion demos/arkanoid/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
[![CodeSandbox](https://img.shields.io/badge/codesandbox-040404?logo=codesandbox&logoColor=DBDBDB)](https://codesandbox.io/s/github/pmndrs/examples/tree/main/demos/arkanoid)
[![Stackblitz](https://img.shields.io/badge/stackblitz-fff?logo=Stackblitz&logoColor=1389FD)](https://stackblitz.com/github/pmndrs/examples/tree/main/demos/arkanoid)

![](thumbnail.png)
![](thumbnail.webp)
Binary file removed demos/arkanoid/thumbnail.png
Binary file not shown.
Binary file added demos/arkanoid/thumbnail.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion demos/audio-analyser/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
[![CodeSandbox](https://img.shields.io/badge/codesandbox-040404?logo=codesandbox&logoColor=DBDBDB)](https://codesandbox.io/s/github/pmndrs/examples/tree/main/demos/audio-analyser)
[![Stackblitz](https://img.shields.io/badge/stackblitz-fff?logo=Stackblitz&logoColor=1389FD)](https://stackblitz.com/github/pmndrs/examples/tree/main/demos/audio-analyser)

![](thumbnail.png)
![](thumbnail.webp)
Binary file removed demos/audio-analyser/thumbnail.png
Binary file not shown.
Binary file added demos/audio-analyser/thumbnail.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion demos/backdrop-and-cables/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
[![CodeSandbox](https://img.shields.io/badge/codesandbox-040404?logo=codesandbox&logoColor=DBDBDB)](https://codesandbox.io/s/github/pmndrs/examples/tree/main/demos/backdrop-and-cables)
[![Stackblitz](https://img.shields.io/badge/stackblitz-fff?logo=Stackblitz&logoColor=1389FD)](https://stackblitz.com/github/pmndrs/examples/tree/main/demos/backdrop-and-cables)

![](thumbnail.png)
![](thumbnail.webp)
Binary file removed demos/backdrop-and-cables/thumbnail.png
Binary file not shown.
Binary file added demos/backdrop-and-cables/thumbnail.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion demos/baking-soft-shadows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
[![CodeSandbox](https://img.shields.io/badge/codesandbox-040404?logo=codesandbox&logoColor=DBDBDB)](https://codesandbox.io/s/github/pmndrs/examples/tree/main/demos/baking-soft-shadows)
[![Stackblitz](https://img.shields.io/badge/stackblitz-fff?logo=Stackblitz&logoColor=1389FD)](https://stackblitz.com/github/pmndrs/examples/tree/main/demos/baking-soft-shadows)

![](thumbnail.png)
![](thumbnail.webp)
Binary file removed demos/baking-soft-shadows/thumbnail.png
Binary file not shown.
Binary file added demos/baking-soft-shadows/thumbnail.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion demos/basic-ballpit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
[![CodeSandbox](https://img.shields.io/badge/codesandbox-040404?logo=codesandbox&logoColor=DBDBDB)](https://codesandbox.io/s/github/pmndrs/examples/tree/main/demos/basic-ballpit)
[![Stackblitz](https://img.shields.io/badge/stackblitz-fff?logo=Stackblitz&logoColor=1389FD)](https://stackblitz.com/github/pmndrs/examples/tree/main/demos/basic-ballpit)

![](thumbnail.png)
![](thumbnail.webp)
Binary file removed demos/basic-ballpit/thumbnail.png
Binary file not shown.
Binary file added demos/basic-ballpit/thumbnail.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion demos/basic-demo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
[![CodeSandbox](https://img.shields.io/badge/codesandbox-040404?logo=codesandbox&logoColor=DBDBDB)](https://codesandbox.io/s/github/pmndrs/examples/tree/main/demos/basic-demo)
[![Stackblitz](https://img.shields.io/badge/stackblitz-fff?logo=Stackblitz&logoColor=1389FD)](https://stackblitz.com/github/pmndrs/examples/tree/main/demos/basic-demo)

![](thumbnail.png)
![](thumbnail.webp)
Binary file removed demos/basic-demo/thumbnail.png
Binary file not shown.
Binary file added demos/basic-demo/thumbnail.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion demos/bestservedbold-christmas-baubles/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
[![CodeSandbox](https://img.shields.io/badge/codesandbox-040404?logo=codesandbox&logoColor=DBDBDB)](https://codesandbox.io/s/github/pmndrs/examples/tree/main/demos/bestservedbold-christmas-baubles)
[![Stackblitz](https://img.shields.io/badge/stackblitz-fff?logo=Stackblitz&logoColor=1389FD)](https://stackblitz.com/github/pmndrs/examples/tree/main/demos/bestservedbold-christmas-baubles)

![](thumbnail.png)
![](thumbnail.webp)
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion demos/bezier-curves-and-nodes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
[![CodeSandbox](https://img.shields.io/badge/codesandbox-040404?logo=codesandbox&logoColor=DBDBDB)](https://codesandbox.io/s/github/pmndrs/examples/tree/main/demos/bezier-curves-and-nodes)
[![Stackblitz](https://img.shields.io/badge/stackblitz-fff?logo=Stackblitz&logoColor=1389FD)](https://stackblitz.com/github/pmndrs/examples/tree/main/demos/bezier-curves-and-nodes)

![](thumbnail.png)
![](thumbnail.webp)
Binary file removed demos/bezier-curves-and-nodes/thumbnail.png
Binary file not shown.
Binary file added demos/bezier-curves-and-nodes/thumbnail.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion demos/bloom-hdr-workflow-gltf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
[![CodeSandbox](https://img.shields.io/badge/codesandbox-040404?logo=codesandbox&logoColor=DBDBDB)](https://codesandbox.io/s/github/pmndrs/examples/tree/main/demos/bloom-hdr-workflow-gltf)
[![Stackblitz](https://img.shields.io/badge/stackblitz-fff?logo=Stackblitz&logoColor=1389FD)](https://stackblitz.com/github/pmndrs/examples/tree/main/demos/bloom-hdr-workflow-gltf)

![](thumbnail.png)
![](thumbnail.webp)
Binary file removed demos/bloom-hdr-workflow-gltf/thumbnail.png
Binary file not shown.
Binary file added demos/bloom-hdr-workflow-gltf/thumbnail.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion demos/bouncy-watch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
[![CodeSandbox](https://img.shields.io/badge/codesandbox-040404?logo=codesandbox&logoColor=DBDBDB)](https://codesandbox.io/s/github/pmndrs/examples/tree/main/demos/bouncy-watch)
[![Stackblitz](https://img.shields.io/badge/stackblitz-fff?logo=Stackblitz&logoColor=1389FD)](https://stackblitz.com/github/pmndrs/examples/tree/main/demos/bouncy-watch)

![](thumbnail.png)
![](thumbnail.webp)
Binary file removed demos/bouncy-watch/thumbnail.png
Binary file not shown.
Binary file added demos/bouncy-watch/thumbnail.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion demos/bounds-and-makedefault/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
[![CodeSandbox](https://img.shields.io/badge/codesandbox-040404?logo=codesandbox&logoColor=DBDBDB)](https://codesandbox.io/s/github/pmndrs/examples/tree/main/demos/bounds-and-makedefault)
[![Stackblitz](https://img.shields.io/badge/stackblitz-fff?logo=Stackblitz&logoColor=1389FD)](https://stackblitz.com/github/pmndrs/examples/tree/main/demos/bounds-and-makedefault)

![](thumbnail.png)
![](thumbnail.webp)
Binary file removed demos/bounds-and-makedefault/thumbnail.png
Binary file not shown.
Binary file added demos/bounds-and-makedefault/thumbnail.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion demos/bruno-simons-20k-challenge/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
[![CodeSandbox](https://img.shields.io/badge/codesandbox-040404?logo=codesandbox&logoColor=DBDBDB)](https://codesandbox.io/s/github/pmndrs/examples/tree/main/demos/bruno-simons-20k-challenge)
[![Stackblitz](https://img.shields.io/badge/stackblitz-fff?logo=Stackblitz&logoColor=1389FD)](https://stackblitz.com/github/pmndrs/examples/tree/main/demos/bruno-simons-20k-challenge)

![](thumbnail.png)
![](thumbnail.webp)
Binary file removed demos/bruno-simons-20k-challenge/thumbnail.png
Binary file not shown.
Binary file added demos/bruno-simons-20k-challenge/thumbnail.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion demos/building-dynamic-envmaps/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
[![CodeSandbox](https://img.shields.io/badge/codesandbox-040404?logo=codesandbox&logoColor=DBDBDB)](https://codesandbox.io/s/github/pmndrs/examples/tree/main/demos/building-dynamic-envmaps)
[![Stackblitz](https://img.shields.io/badge/stackblitz-fff?logo=Stackblitz&logoColor=1389FD)](https://stackblitz.com/github/pmndrs/examples/tree/main/demos/building-dynamic-envmaps)

![](thumbnail.png)
![](thumbnail.webp)
Binary file removed demos/building-dynamic-envmaps/thumbnail.png
Binary file not shown.
Binary file added demos/building-dynamic-envmaps/thumbnail.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion demos/building-live-envmaps/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
[![CodeSandbox](https://img.shields.io/badge/codesandbox-040404?logo=codesandbox&logoColor=DBDBDB)](https://codesandbox.io/s/github/pmndrs/examples/tree/main/demos/building-live-envmaps)
[![Stackblitz](https://img.shields.io/badge/stackblitz-fff?logo=Stackblitz&logoColor=1389FD)](https://stackblitz.com/github/pmndrs/examples/tree/main/demos/building-live-envmaps)

![](thumbnail.png)
![](thumbnail.webp)
2 changes: 1 addition & 1 deletion demos/building-live-envmaps/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@react-three/fiber": "^8.17.5",
"lamina": "^1.1.23",
"leva": "^0.9.35",
"r3f-perf": "7.2.1",
"r3f-perf": "^7.2.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"three": "^0.165.0"
Expand Down
Binary file removed demos/building-live-envmaps/thumbnail.png
Binary file not shown.
Binary file added demos/building-live-envmaps/thumbnail.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion demos/bvh/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
[![CodeSandbox](https://img.shields.io/badge/codesandbox-040404?logo=codesandbox&logoColor=DBDBDB)](https://codesandbox.io/s/github/pmndrs/examples/tree/main/demos/bvh)
[![Stackblitz](https://img.shields.io/badge/stackblitz-fff?logo=Stackblitz&logoColor=1389FD)](https://stackblitz.com/github/pmndrs/examples/tree/main/demos/bvh)

![](thumbnail.png)
![](thumbnail.webp)
2 changes: 1 addition & 1 deletion demos/bvh/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"@react-three/drei": "^9.109.5",
"@react-three/fiber": "^8.17.5",
"leva": "^0.9.35",
"r3f-perf": "7.1.2",
"r3f-perf": "^7.2.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"three": "^0.165.0"
Expand Down
Binary file removed demos/bvh/thumbnail.png
Binary file not shown.
Binary file added demos/bvh/thumbnail.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion demos/camera-scroll/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
[![CodeSandbox](https://img.shields.io/badge/codesandbox-040404?logo=codesandbox&logoColor=DBDBDB)](https://codesandbox.io/s/github/pmndrs/examples/tree/main/demos/camera-scroll)
[![Stackblitz](https://img.shields.io/badge/stackblitz-fff?logo=Stackblitz&logoColor=1389FD)](https://stackblitz.com/github/pmndrs/examples/tree/main/demos/camera-scroll)

![](thumbnail.png)
![](thumbnail.webp)
Binary file removed demos/camera-scroll/thumbnail.png
Binary file not shown.
Binary file added demos/camera-scroll/thumbnail.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion demos/camera-shake/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
[![CodeSandbox](https://img.shields.io/badge/codesandbox-040404?logo=codesandbox&logoColor=DBDBDB)](https://codesandbox.io/s/github/pmndrs/examples/tree/main/demos/camera-shake)
[![Stackblitz](https://img.shields.io/badge/stackblitz-fff?logo=Stackblitz&logoColor=1389FD)](https://stackblitz.com/github/pmndrs/examples/tree/main/demos/camera-shake)

![](thumbnail.png)
![](thumbnail.webp)
Binary file removed demos/camera-shake/thumbnail.png
Binary file not shown.
Binary file added demos/camera-shake/thumbnail.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion demos/canvas-text/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
[![CodeSandbox](https://img.shields.io/badge/codesandbox-040404?logo=codesandbox&logoColor=DBDBDB)](https://codesandbox.io/s/github/pmndrs/examples/tree/main/demos/canvas-text)
[![Stackblitz](https://img.shields.io/badge/stackblitz-fff?logo=Stackblitz&logoColor=1389FD)](https://stackblitz.com/github/pmndrs/examples/tree/main/demos/canvas-text)

![](thumbnail.png)
![](thumbnail.webp)
Binary file removed demos/canvas-text/thumbnail.png
Binary file not shown.
Binary file added demos/canvas-text/thumbnail.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion demos/cards-with-border-radius/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
[![CodeSandbox](https://img.shields.io/badge/codesandbox-040404?logo=codesandbox&logoColor=DBDBDB)](https://codesandbox.io/s/github/pmndrs/examples/tree/main/demos/cards-with-border-radius)
[![Stackblitz](https://img.shields.io/badge/stackblitz-fff?logo=Stackblitz&logoColor=1389FD)](https://stackblitz.com/github/pmndrs/examples/tree/main/demos/cards-with-border-radius)

![](thumbnail.png)
![](thumbnail.webp)
Binary file removed demos/cards-with-border-radius/thumbnail.png
Binary file not shown.
Binary file added demos/cards-with-border-radius/thumbnail.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion demos/cards/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
[![CodeSandbox](https://img.shields.io/badge/codesandbox-040404?logo=codesandbox&logoColor=DBDBDB)](https://codesandbox.io/s/github/pmndrs/examples/tree/main/demos/cards)
[![Stackblitz](https://img.shields.io/badge/stackblitz-fff?logo=Stackblitz&logoColor=1389FD)](https://stackblitz.com/github/pmndrs/examples/tree/main/demos/cards)

![](thumbnail.png)
![](thumbnail.webp)
Binary file removed demos/cards/thumbnail.png
Binary file not shown.
Binary file added demos/cards/thumbnail.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion demos/caustics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
[![CodeSandbox](https://img.shields.io/badge/codesandbox-040404?logo=codesandbox&logoColor=DBDBDB)](https://codesandbox.io/s/github/pmndrs/examples/tree/main/demos/caustics)
[![Stackblitz](https://img.shields.io/badge/stackblitz-fff?logo=Stackblitz&logoColor=1389FD)](https://stackblitz.com/github/pmndrs/examples/tree/main/demos/caustics)

![](thumbnail.png)
![](thumbnail.webp)
Binary file removed demos/caustics/thumbnail.png
Binary file not shown.
Binary file added demos/caustics/thumbnail.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion demos/cell-fracture/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
[![CodeSandbox](https://img.shields.io/badge/codesandbox-040404?logo=codesandbox&logoColor=DBDBDB)](https://codesandbox.io/s/github/pmndrs/examples/tree/main/demos/cell-fracture)
[![Stackblitz](https://img.shields.io/badge/stackblitz-fff?logo=Stackblitz&logoColor=1389FD)](https://stackblitz.com/github/pmndrs/examples/tree/main/demos/cell-fracture)

![](thumbnail.png)
![](thumbnail.webp)
Binary file removed demos/cell-fracture/thumbnail.png
Binary file not shown.
Binary file added demos/cell-fracture/thumbnail.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion demos/clones/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
[![CodeSandbox](https://img.shields.io/badge/codesandbox-040404?logo=codesandbox&logoColor=DBDBDB)](https://codesandbox.io/s/github/pmndrs/examples/tree/main/demos/clones)
[![Stackblitz](https://img.shields.io/badge/stackblitz-fff?logo=Stackblitz&logoColor=1389FD)](https://stackblitz.com/github/pmndrs/examples/tree/main/demos/clones)

![](thumbnail.png)
![](thumbnail.webp)
Binary file removed demos/clones/thumbnail.png
Binary file not shown.
Binary file added demos/clones/thumbnail.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion demos/clouds/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
[![CodeSandbox](https://img.shields.io/badge/codesandbox-040404?logo=codesandbox&logoColor=DBDBDB)](https://codesandbox.io/s/github/pmndrs/examples/tree/main/demos/clouds)
[![Stackblitz](https://img.shields.io/badge/stackblitz-fff?logo=Stackblitz&logoColor=1389FD)](https://stackblitz.com/github/pmndrs/examples/tree/main/demos/clouds)

![](thumbnail.png)
![](thumbnail.webp)
Binary file removed demos/clouds/thumbnail.png
Diff not rendered.
Binary file added demos/clouds/thumbnail.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion demos/color-grading/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
[![CodeSandbox](https://img.shields.io/badge/codesandbox-040404?logo=codesandbox&logoColor=DBDBDB)](https://codesandbox.io/s/github/pmndrs/examples/tree/main/demos/color-grading)
[![Stackblitz](https://img.shields.io/badge/stackblitz-fff?logo=Stackblitz&logoColor=1389FD)](https://stackblitz.com/github/pmndrs/examples/tree/main/demos/color-grading)

![](thumbnail.png)
![](thumbnail.webp)
Binary file removed demos/color-grading/thumbnail.png
Diff not rendered.
Binary file added demos/color-grading/thumbnail.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion demos/confetti/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
[![CodeSandbox](https://img.shields.io/badge/codesandbox-040404?logo=codesandbox&logoColor=DBDBDB)](https://codesandbox.io/s/github/pmndrs/examples/tree/main/demos/confetti)
[![Stackblitz](https://img.shields.io/badge/stackblitz-fff?logo=Stackblitz&logoColor=1389FD)](https://stackblitz.com/github/pmndrs/examples/tree/main/demos/confetti)

![](thumbnail.png)
![](thumbnail.webp)
Binary file removed demos/confetti/thumbnail.png
Diff not rendered.
Binary file added demos/confetti/thumbnail.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion demos/csg-bunny-usegroups/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
[![CodeSandbox](https://img.shields.io/badge/codesandbox-040404?logo=codesandbox&logoColor=DBDBDB)](https://codesandbox.io/s/github/pmndrs/examples/tree/main/demos/csg-bunny-usegroups)
[![Stackblitz](https://img.shields.io/badge/stackblitz-fff?logo=Stackblitz&logoColor=1389FD)](https://stackblitz.com/github/pmndrs/examples/tree/main/demos/csg-bunny-usegroups)

![](thumbnail.png)
![](thumbnail.webp)
Binary file removed demos/csg-bunny-usegroups/thumbnail.png
Diff not rendered.
Binary file added demos/csg-bunny-usegroups/thumbnail.webp
Binary file not shown.
Loading

0 comments on commit 2c98366

Please sign in to comment.