Coding Challenge #121: Logo Interpreter Part 2
In this coding challenge, I discuss turtle graphics and make a Logo Interpreter in JavaScript. Code: https://thecodingtrain.com/challenges/121-logo-interpreter
p5.js Web Editor Sketches:
πΉοΈ Logo Interpreter Part 1: https://editor.p5js.org/codingtrain/sketches/ryTuOf3gN
πΉοΈ Logo Interpreter Part 2: https://editor.p5js.org/codingtrain/sketches/BJqG8zhlN
Other Parts of this Challenge:
πΊ Part 1: Logo Interpreter: https://youtu.be/i-k04yzfMpw
π₯ Previous video: https://youtu.be/oCBlwsY8sR4?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
π₯ Next video: https://youtu.be/yLuk0twx8Hc?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
π₯ All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
References:
π Logo Repo: https://github.com/shiffman/Logo
π Logo on Wikipedia: https://en.wikipedia.org/wiki/Logo_(programming_language)
π Logo Tutorial: http://cs.brown.edu/courses/bridge/1997/Resources/LogoTutorial.html
π’ Logo Logo Foundation: http://el.media.mit.edu/logo-foundation/
Videos:
π Transformation Tutorial: https://www.youtube.com/watch?v=o9sgjuh-CBM
π Angles and Angular Motion: https://www.youtube.com/watch?v=qMq-zd6hguc
π§Ύ Angular Motion: https://www.youtube.com/watch?v=i2ROE_mAhU0
Live Stream Archive:
π΄ Coding Train Live 158: https://youtu.be/flHxQpyiDNc
π΄ Coding Train Live 159: https://youtu.be/kLIHhOEPHG0
Timestamps:
0:00 Introduction and recap of the first part
2:17 To the white board!
4:45 The parser class
5:20 The command class
7:10 One character at a time
9:00 Skipping the space
10:00 Using regular expressions
14:55 Checking the list of commands
17:00 The repeat command
27:12 It works! Let's discuss why
30:50 Execute the commands
35:18 Testing the interpreter and debugging
39:50 The Coding Train Logo in Logo!
41:11 Things you can do
Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound
π Website: http://thecodingtrain.com/
πΎ Share Your Creation! https://thecodingtrain.com/guides/passenger-showcase-guide
π© Suggest Topics: https://github.com/CodingTrain/Suggestion-Box
π‘ GitHub: https://github.com/CodingTrain
π¬ Discord: https://thecodingtrain.com/discord
π Membership: http://youtube.com/thecodingtrain/join
π Store: https://standard.tv/codingtrain
ποΈ Twitter: https://twitter.com/thecodingtrain
πΈ Instagram: https://www.instagram.com/the.coding.train/
π₯ Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
π₯ Intro to Programming: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA
π p5.js: https://p5js.org
π p5.js Web Editor: https://editor.p5js.org/
π Processing: https://processing.org
π Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct
This description was auto-generated. If you see a problem, please open an issue: https://github.com/CodingTrain/thecodingtrain.com/issues/new
#logo #logointerpreter #turtlegraphics #p5js #javascript