New lesson in "Random Compositions": Positive-Negative (with Functional Programming) 💡
🕑 Added 2024-03-15 15:00:08 +0000 UTCHi Creative Coders, 👋
I hope you are doing well!
This week was really busy again, there were some family-related issues popping up here and I spontaneously traveled to Germany to spend some time with my relatives.
In the last days, I continued to work on my "Random Compositions" course and I suddenly achieved a kind of unexpected breakthrough in the process: I have completed a new lesson in which I actually only wanted to explain how positive-negative effects can be implemented in random compositions of geometric shapes. However, during the recording I spontaneously opted for a strategy called "functional programming" and managed to explain a large part of this method in this single lesson.
Functional programming is a powerful tool to structure your code in a better way. This might sound boring at first, but it enables you to develop much more complex, modular applications without losing the overview.
The lesson is now complete, I've added the code for both p5.js and Processing so you can experiment with it.
https://timrodenbroeker.de/courses/random-compositions/positive-negative/
As always, I look forward to your feedback! How does this lesson work for you? Did I explain it well? Feel free to leave me a comment or send me an email at feedback@timrodenbroeker.de.
Have fun and enjoy your weekend! ☀️
Tim
Comments
Tim Rodenbröker
Hi Justin! Yes, exactly - that's a great thing to explore. Also adding more layers and shapes can lead to great results i guess.
Justin Lincoln
If you play with alternating fills, strokes and stroke weights, I bet something of interest may emerge. I may look into this.