Member-only story
Blender 2.8 Grease Pencil Scripting and Generative Art
What: learning the basics of scripting for Blender Grease-Pencil tool, with focus on generative art as a concrete playground. Less talking, more code (commented) and many examples.
Why: mostly because we can. Also because Blender is a very rich ecosystem, and Grease-Pencil in version 2.8 is a powerful and versatile tool. Generative art is a captivating way to showcase the tool potential: if you love Python and don’t feel like learning Processing, or are still unsure about venturing with p5.js or Three.js, here you will find the perfect playground.
Who: Python ≥ 3.6 and Blender 2.8. I took inspiration from other resources on generative art, in particular the book Generative Art by Matt Pearson and the Kadenze online course Generative Art and Computational Creativity.
Where/When: right here, right now. Can also find the complete code here (and Blender utils here).
Setup
In Blender, you can work with code from the Python Console Editor (be sure to make good use of the Autocomplete function)