1.4: Getting Text from User: Loading a Text File - Programming with Text

Subscribers:
1,740,000
Published on ● Video Link: https://www.youtube.com/watch?v=0Mq2CxspF5s



Duration: 15:28
78,809 views
798


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







Tags:
text
programming
tutorial
file
computer
user
loading
javascript
p5.js
daniel shiffman
coding
p5.js tutorial
p5js
creative coding
p5 js
javascript (programming language)
loadString()
p5.js loadString()
display text DOM
Programming from A to Z
createFileInput
loadStrings()
createFileInput()