Skip to content

Commit

Permalink
docs: download link update
Browse files Browse the repository at this point in the history
  • Loading branch information
TiborUdvari committed Sep 19, 2024
1 parent 10411ab commit 84ae399
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ p5.xr sketches can be run with [p5's online editor.](https://editor.p5js.org/) A
3. Add p5.xr to your project. This can be done most easily by adding the script link to a CDN in the `<head>` of your HTML file underneath the p5 link:
```
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.10.0/p5.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/p5.xr/dist/p5xr.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/p5.xr@latest/dist/p5xr.min.js"></script>
```
4. Change the `createCanvas()` call in your p5 WEBGL sketch to `createVRCanvas()` and put it in `preload()` -or-
5. [Try out one of the Examples](https://stalgiag.github.io/p5.xr/#/quick-start/examples)!
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ p5.xr sketches can be run with [p5's online editor.](https://editor.p5js.org/) A
3. Add p5.xr to your project. This can be done most easily by adding the script link to a CDN in the `<head>` of your HTML file underneath the p5 link:
```
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.10.0/p5.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/p5.xr/dist/p5xr.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/p5.xr@latest/dist/p5xr.min.js"></script>
```
4. Change the `createCanvas()` call in your p5 WEBGL sketch to `createVRCanvas()` and put it in `preload()` -or-
5. [Try out one of the Examples](https://stalgiag.github.io/p5.xr/#/quick-start/examples)!

0 comments on commit 84ae399

Please sign in to comment.