Skip to content

Commit

Permalink
Add demo in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardoscalco committed Nov 30, 2020
1 parent 46a9074 commit 0cea38e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"hash",
"random number generator",
"hash function",
"webgl",
"webgl2",
"glslify",
"math"
],
Expand Down
5 changes: 5 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,8 @@ vec3 r3 = prng(seed.xyz);
// Return four random numbers
vec4 r4 = prng(seed.xyzw);
```

## Demo

* https://github.com/riccardoscalco/glsl-pcg-example
* https://observablehq.com/@riccardoscalco/pcg-random-number-generators-in-glsl.

0 comments on commit 0cea38e

Please sign in to comment.