Skip to content

Commit

Permalink
fix: demo
Browse files Browse the repository at this point in the history
  • Loading branch information
pavophilip committed Dec 24, 2023
1 parent e124ed4 commit 368ff02
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 22 deletions.
32 changes: 28 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@fontsource/inter": "^5.0.16",
"@mui/joy": "^5.0.0-beta.19",
"@react-shader-fiber/renderer": "^1.0.12",
"@react-shader-fiber/stdlib": "^1.1.3",
"@react-shader-fiber/stdlib": "^1.1.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-shader-fiber": "^1.1.0"
Expand Down
27 changes: 10 additions & 17 deletions packages/demo/src/examples/Grid.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,16 @@ const Gradient = () => {
x={0.1}
y={0.1}
z={
<Step
a={
<Fract
a={
<X
of={
<Mul>
{vCoordsRef}
<Float value={10} />
</Mul>
}
/>
}
/>
}
b={0.5}
/>
<Step edge={0.5}>
<Fract>
<X>
<Mul>
{vCoordsRef}
<Float value={10} />
</Mul>
</X>
</Fract>
</Step>
}
w={1}
/>
Expand Down

0 comments on commit 368ff02

Please sign in to comment.