Uploaded May 2022 | Updated November 2026, 10 hours ago
What's the easiest and quickest way to have a p5 sketch re-start from where it last left off? Local Storage!
p5.js Web Editor Sketches:
đšī¸ Local Storage: editor.p5js.org/codingtrain/sketches/R-Z_q_4c3
đšī¸ Local Storage w/ Canvas: editor.p5js.org/codingtrain/sketches/cLOmL8Td0
Links discussed in this video:
đ Local Storage: developer.mozilla.org/en-US/docs/Web/API/Window/localStorage
đ storeItem(): p5js.org/reference/#/p5/storeItem
đ getItem(): p5js.org/reference/#/p5/getItem
đ Storage for the Web: https://web.dev/storage-for-the-web/
Other videos mentioned in this video:
đĨ 6.1: Introduction to Object-Oriented Programming with ES6 - p5.js Tutorial
youtu.be/xG2Vbnv0wvg
Timestamps:
0:00 Hello! What is Local Storage?
1:15 Color sliders p5 sketch
2:16 p5 local storage code
7:57 Debug storage with developer tools
8:50 Storing JavaScript objects
10:26 Downsides of local storage
11:15 More examples!
đ Website: thecodingtrain.com
đž Share Your Creation! thecodingtrain.com/Guides/community-contribution-guide.html
đŠ Suggest Topics: github.com/CodingTrain/Rainbow-Topics
đĄ GitHub: github.com/CodingTrain
đŦ Discord: discord.gg/hPuGy2g
đ Membership: youtube.com/thecodingtrain/join
đ Store: standard.tv/codingtrain
đ Books: amazon.com/shop/thecodingtrain
đī¸ Twitter: twitter.com/thecodingtrain
đ¸ Instagram: instagram.com/the.coding.train
đĨ Coding Challenges: youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
đĨ Intro to Programming: youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA
đ p5.js: p5js.org
đ p5.js Web Editor: editor.p5js.org
đ Processing: processing.org
đ Code of Conduct: github.com/CodingTrain/Code-of-Conduct
This description was auto-generated. If you see a problem, please open an issue: github.com/CodingTrain/website/issues/new
What's the easiest and quickest way to have a p5 sketch re-start from where it last left off? Local Storage!
p5.js Web Editor Sketches:
đšī¸ Local Storage: editor.p5js.org/codingtrain/sketches/R-Z_q_4c3
đšī¸ Local Storage w/ Canvas: editor.p5js.org/codingtrain/sketches/cLOmL8Td0
Links discussed in this video:
đ Local Storage: developer.mozilla.org/en-US/docs/Web/API/Window/localStorage
đ storeItem(): p5js.org/reference/#/p5/storeItem
đ getItem(): p5js.org/reference/#/p5/getItem
đ Storage for the Web: https://web.dev/storage-for-the-web/
Other videos mentioned in this video:
đĨ 6.1: Introduction to Object-Oriented Programming with ES6 - p5.js Tutorial
youtu.be/xG2Vbnv0wvg
Timestamps:
0:00 Hello! What is Local Storage?
1:15 Color sliders p5 sketch
2:16 p5 local storage code
7:57 Debug storage with developer tools
8:50 Storing JavaScript objects
10:26 Downsides of local storage
11:15 More examples!
đ Website: thecodingtrain.com
đž Share Your Creation! thecodingtrain.com/Guides/community-contribution-guide.html
đŠ Suggest Topics: github.com/CodingTrain/Rainbow-Topics
đĄ GitHub: github.com/CodingTrain
đŦ Discord: discord.gg/hPuGy2g
đ Membership: youtube.com/thecodingtrain/join
đ Store: standard.tv/codingtrain
đ Books: amazon.com/shop/thecodingtrain
đī¸ Twitter: twitter.com/thecodingtrain
đ¸ Instagram: instagram.com/the.coding.train
đĨ Coding Challenges: youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
đĨ Intro to Programming: youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA
đ p5.js: p5js.org
đ p5.js Web Editor: editor.p5js.org
đ Processing: processing.org
đ Code of Conduct: github.com/CodingTrain/Code-of-Conduct
This description was auto-generated. If you see a problem, please open an issue: github.com/CodingTrain/website/issues/new










