Coding Challenge #76: 10PRINT in p5.js

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



Duration: 9:08
91,703 views
2,980


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/76-10Print

๐Ÿค–๐Ÿค–๐Ÿค–
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/sketches/qtunbzeNb

๐ŸŽฅ Previous video: https://youtu.be/RPz75gcHj18?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
๐ŸŽฅ Next video: https://youtu.be/jPsZwrV9ld0?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
๐ŸŽฅ All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH

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: https://youtu.be/PQwfop4bewM?t=3316s

Related Coding Challenges:
๐Ÿš‚ #108 Barnsley Fern: https://youtu.be/JFugGF1URNo

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/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

#generativeart #javascript #p5js







Tags:
JavaScript (Programming Language)
programming
daniel shiffman
creative coding
coding challenge
tutorial
coding
challenges
coding train
the coding train
challenge
javascript
p5.js
p5.js tutorial
programming challenge
10 PRINT
BASIC 10 PRINT
Commodore 64 10 print
10 PRINT Javascript
10 PRINT JS
10 PRINT p5.js
retro 10 Print
p5 js