File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ export const p5Versions = [
136
136
'0.2.1'
137
137
] ;
138
138
139
- export const currentP5Version = '1.11.3 ' ; // Don't update to 2.x until 2026
139
+ export const currentP5Version = '1.11.5 ' ; // Don't update to 2.x until 2026
140
140
141
141
export const p5SoundURLOld = `https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.11.3/addons/p5.sound.min.js` ;
142
142
export const p5SoundURL =
@@ -147,7 +147,7 @@ export const p5ShapesAddonURL =
147
147
'https://cdn.jsdelivr.net/npm/p5.js-compatibility@0.1.2/src/shapes.js' ;
148
148
export const p5DataAddonURL =
149
149
'https://cdn.jsdelivr.net/npm/p5.js-compatibility@0.1.2/src/data.js' ;
150
- export const p5URL = `https://cdnjs.cloudflare.com/ajax/libs/p5.js/ ${ currentP5Version } /p5.js` ;
150
+ export const p5URL = `https://cdn.jsdelivr.net/npm/p5@ ${ currentP5Version } /lib /p5.js` ;
151
151
152
152
const P5VersionContext = React . createContext ( { } ) ;
153
153
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ function draw() {
9
9
export const defaultHTML = `<!DOCTYPE html>
10
10
<html lang="en">
11
11
<head>
12
- <script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/ 1.11.3 /p5.js"></script>
12
+ <script src="https://cdn.jsdelivr.net/npm/p5@ 1.11.5/lib /p5.js"></script>
13
13
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.11.3/addons/p5.sound.min.js"></script>
14
14
<link rel="stylesheet" type="text/css" href="style.css">
15
15
<meta charset="utf-8" />
You can’t perform that action at this time.
0 commit comments