Coding Challenge #121: Logo Interpreter

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



Category:
Vlog
Duration: 41:07
59,219 views
1,166


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 2: Logo Interpreter: https://youtu.be/aOqEm101fms

๐ŸŽฅ 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

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:20 What is Logo?
1:21 Logo commands
2:23 Let's go!
5:04 The turtle object
7:14 Let's code the turtle methods
10:39 Iterating over the tokens
12:51 Understanding the increment operator
14:37 A little debugging
18:55 Found the bug!
20:00 A look-up table
23:44 Real-time interpretation
26:50 Pen up and pen down
37:54 It works!
40:00 Ending remarks
40:33 Thank you for watching!

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://discord.gg/hPuGy2g
๐Ÿ’– 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







Tags:
computer science
programming
daniel shiffman
tutorial
coding
the coding train
coding challenge
coding train
creative coding
code challenge
creative coding tutorials
coding train coding challenge
turtle graphics
turtle graphics logo
logo
logo programming
logo programming language
logo js
logo interpreter