more p5.js
I spent most of a day this week watching p5.js videos by Daniel Shiffman on YouTube. He has long been a favourite coding author of mine, and I have two of his books: Learning Processing and The Nature of Code, which I backed on Kickstarter. His style of delivery isn’t as polished as those on the Introduction to Programming for the Visual Arts course on kadenze.com but I like Dan’s enthusiasm and energy. I was particularly keen to learn about OOPS in p5.js.
As a result of watching Dan’s videos, I now have a sketch for my maze project that generates blob objects at random intervals which then set off in their allocated direction.
My next steps are to:
- re-watch the section on loading images so I can pick and load a labyrinth path at random
- re-read the sections in my Processing books on basic trigonometry
- develop my findTarget() function, which is my attempt at a path-following algorithm
- upload my sketch to a server so I can have it running live on the web
My copy of Make: Getting Started with p5.js arrived in the post today, so there’s lots to keep me busy over the next week or two.
Leave a Reply
Sorry, no Tweets were found.