Coding Challenge #76: 10PRINT in p5.js



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 (, Amazon: )

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:

S upport this channel on Patreon:
To buy Coding Train merchandise:
To Support the Processing Foundation:

Send me your questions and coding challenges!: opics

The Coding Train website:

Links discussed in this video:
Book link on Amazon:
Sol Lewitt's Wall Drawings:

Source Code for the all Video Lessons: ode


For More Programming with Text videos: RqwX-V7Uu6YrbSJBg32eTzUU50E2B8Ch
For More Coding Challenges: RqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
For an Intro to Programming using p5.js: RqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA

Help us caption & translate this video!