Рет қаралды 60,795
In this coding challenge, I discuss turtle graphics and make a Logo Interpreter in JavaScript. Code: thecodingtrain...
p5.js Web Editor Sketches:
🕹️ Logo Interpreter Part 1: editor.p5js.or...
🕹️ Logo Interpreter Part 2: editor.p5js.or...
Other Parts of this Challenge:
📺 Part 2: Logo Interpreter: • Coding Challenge #121:...
🎥 Previous video: • Coding Challenge #120:...
🎥 Next video: • Coding Challenge #122:...
🎥 All videos: • Coding Challenges
References:
📁 Logo Repo: github.com/shi...
📓 Logo on Wikipedia: en.wikipedia.o...)
📝 Logo Tutorial: cs.brown.edu/co...
Videos:
📓 Transformation Tutorial: • How to Rotate Shapes i...
📐 Angles and Angular Motion: • 3.1: Angles and Angula...
🧾 Angular Motion: • 3.2 Angular Motion - N...
Live Stream Archive:
🔴 Coding Train Live 158: • Coding Train Live 158...
🔴 Coding Train Live 159: • Live Stream #159: Logo...
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: thecodingtrain....
👾 Share Your Creation! thecodingtrain...
🚩 Suggest Topics: github.com/Cod...
💡 GitHub: github.com/Cod...
💬 Discord: / discord
💖 Membership: kzbin.info...
🛒 Store: standard.tv/co...
🖋️ Twitter: / thecodingtrain
📸 Instagram: / the.coding.train
🎥 Coding Challenges: • Coding Challenges
🎥 Intro to Programming: • Start learning here!
🔗 p5.js: p5js.org
🔗 p5.js Web Editor: editor.p5js.org/
🔗 Processing: processing.org
📄 Code of Conduct: github.com/Cod...
This description was auto-generated. If you see a problem, please open an issue: github.com/Cod...
#logo #logointerpreter #turtlegraphics #p5js #javascript