1.4: Getting Text from User: Loading a Text File - Programming with Text
In this video, I show you how to get text input from a user by loading a text file using the p5.js function loadStrings(). I discuss how a user can upload their own text file with createFileInput() or a "drag and drop" zone.
Next Video: https://youtu.be/DcoAjEZYies
Introduction to Programming from A to Z: http://shiffman.net/a2z/intro/
Support this channel on Patreon: https://patreon.com/codingtrain
Send me your questions and coding challenges!: https://github.com/CodingTrain/Rainbow-Topics
Contact: https://twitter.com/shiffman
GitHub Repo with all the info for Programming from A to Z: https://github.com/shiffman/A2Z-F16
Source Code for the all Video Lessons: https://github.com/CodingTrain/Rainbow-Code
loadStrings() reference: https://p5js.org/reference/#/p5/loadStrings
Drag and Drop with p5.js video: https://www.youtube.com/watch?v=o4UmGrPst_c
p5.js: https://p5js.org/
Processing: https://processing.org
For More Programming from A to Z videos: https://www.youtube.com/user/shiffman/playlists?shelf_id=11&view=50&sort=dd
For More Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
Help us caption & translate this video!
http://amara.org/v/VeDr/
📄 Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct