In this coding challenge, I attempt to create a version of the classic one-line Commodore 64 BASIC program in JavaScript using p5.js. This coding challenge is inspired by the book 10 PRINT. Code: https://thecodingtrain.com/challenges...
🤖🤖🤖
10 PRINT CHR$(205.5+RND(1)); : GOTO 10
Fun Fact: The C64 character set is called PETSCII, from the prior Commodore Pet. It’s interesting because unlike ASCII, it’s full of graphics!
🕹️ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/s...
🎥 Previous video: • Coding Challenge #75: Wikipedia API
🎥 Next video: • Coding Challenge #77: Recursion
🎥 All videos: • Coding Challenges
References:
📑 10PRINT: http://10print.org/
📕 The 10Print Book: http://amzn.to/2wJlRVx
🎨 Sol LeWitt's Wall Drawings: http://massmoca.org/sol-lewitt/
🗄 PETSCII: https://en.wikipedia.org/wiki/PETSCII
Live Stream Archive:
🔴 Coding Train Live 101: • Coding Train Live 101: "let" vs "var"...
Related Coding Challenges:
🚂 #108 Barnsley Fern: • Coding Challenge 108: Barnsley Fern
Timestamps:
0:00 What is 10Print?
2:23 Let's code it in p5.js!
2:56 How do you draw a forward/backward slash?
3:31 Applying probability
5:00 Implementing spacing and finishing touches
5:38 Inventing your own 10Print design
6:56 Generating a design with "rules"
7:26 More things you can do
8:12 Important correction!
8:39 Goodbye!
Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound
🚂 Website: http://thecodingtrain.com/
👾 Share Your Creation! https://thecodingtrain.com/guides/pas...
🚩 Suggest Topics: https://github.com/CodingTrain/Sugges...
💡 GitHub: https://github.com/CodingTrain
💬 Discord: https://thecodingtrain.com/discord
💖 Membership: http://youtube.com/thecodingtrain/join
🛒 Store: https://standard.tv/codingtrain
🖋️ Twitter: / thecodingtrain
📸 Instagram: / the.coding.train
🎥 Coding Challenges: • Coding Challenges
🎥 Intro to Programming: • Start learning here!
🔗 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-o...
This description was auto-generated. If you see a problem, please open an issue: https://github.com/CodingTrain/thecod...
#generativeart #javascript #p5js
Watch video Coding Challenge #76: 10PRINT in p5.js online without registration, duration hours minute second in high quality. This video was added by user The Coding Train 26 September 2017, don't forget to share it with your friends and acquaintances, it has been viewed on our site 94,77 once and liked it 3 thousand people.