File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -15,11 +15,11 @@ export const p5SoundURLOld = p5SoundURLOldTemplate.replace(
1515export const p5SoundURL =
1616 'https://cdn.jsdelivr.net/npm/p5.sound@0.2.0/dist/p5.sound.min.js' ;
1717export const p5PreloadAddonURL =
18- 'https://cdn.jsdelivr.net/npm/p5.js-compatibility@0.1.2 /src/preload.js' ;
18+ 'https://cdn.jsdelivr.net/npm/p5.js-compatibility@0.2.0 /src/preload.js' ;
1919export const p5ShapesAddonURL =
20- 'https://cdn.jsdelivr.net/npm/p5.js-compatibility@0.1.2 /src/shapes.js' ;
20+ 'https://cdn.jsdelivr.net/npm/p5.js-compatibility@0.2.0 /src/shapes.js' ;
2121export const p5DataAddonURL =
22- 'https://cdn.jsdelivr.net/npm/p5.js-compatibility@0.1.2 /src/data.js' ;
22+ 'https://cdn.jsdelivr.net/npm/p5.js-compatibility@0.2.0 /src/data.js' ;
2323export const p5URL = `https://cdn.jsdelivr.net/npm/p5@${ currentP5Version } /lib/p5.js` ;
2424
2525const P5VersionContext = React . createContext ( { } ) ;
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ export const currentP5Version = '1.11.11'; // Don't update to 2.x until 2026
55// JSON.stringify([...document.querySelectorAll('._132722c7')].map(n => n.innerText), null, 2)
66// TODO: use their API for this to grab these at build time?
77export const p5Versions = [
8+ '2.1.1' ,
89 '2.0.5' ,
910 '2.0.4' ,
1011 '2.0.3' ,
You can’t perform that action at this time.
0 commit comments