Have a slow spell at work before the holidays so I’m hopping back into p5.js in an attempt to do more visual code work. I’ve been loosely following the Programming from A to Z course from Dan Shiffman and I decided today to put some of the stuff I’ve learned into practice as a quick test.
Using RiTa, which is covered in the A-Z course, I’m analyzing the opening passages from the most popular books on Project Gutenberg at the moment. Each word is represented by a tile, the number of circles in each tile is controlled by the number of syllables in each word, and the color of each tile is controlled based on what part of speech the word is, and fill/stroke is determined by syllable stress.
It’s nothing revolutionary, but it was still a good exercise for me to try and get back into the swing of things, and to continue my journey using p5. Being able to distill text into some basic visual components and then compare and contrast different sets of text on a structural level is something that’s very interesting to me.

















