Skip to content

Resources for Kiwi PyCon XI presentation, "Generative Art with Python (using py5 and bpy)"

Notifications You must be signed in to change notification settings

tabreturn/pycon-py5-bpy

Repository files navigation

Kiwi PyCon XI Resources

Resources for Kiwi PyCon XI presentation, Generative Art with Python (using py5 and bpy)

Session slides: ./slides.pdf


Part #1: py5

Tens of thousands of students, artists, designers, researchers, and hobbyists, use Processing for programming art and prototyping. py5 is a new version of Processing for Python 3.8+ that makes Processing available to the CPython interpreter (using JPype). py5 can do just about everything Processing can, except with Python (instead of Java code), with the added bonus of incorporating popular Python libraries such as numpy and Pillow, and a notebook interface. This session will provide an overview of the py5 coding environment, and examples of the type of artwork one can create.

py5 examples: ./part_01_examples_py5

py5 resources

Other useful Python-Processing resources


Part #2: bpy

Blender is open-source software for 3D modelling and animation that can also handle compositing, video editing, and 2D animation. Artists and animators operate Blender using a graphic user interface, but it also features a Python API (via bpy) that can do everything the GUI can and more. That means you can use Python code to draw, animate, and manipulate 3D objects, with a powerful render engine to output your code-generated creations in high-resolution image and video formats. This session includes an introduction to using Blender's code editor, info editor, Python console, developer extras, and assistive scripting features to address 3D objects, spawn, and manipulate them via different attributes and methods.

bpy examples: ./part_02_examples_bpy

Some useful resources

Some inspiring work


Plotter utilities

A few handy Python utilities for working with plotter art files:

  • vpype
    the Swiss-Army-knife command-line tool for plotter vector graphics
  • vpype-occult
    vpype plug-in to remove lines occulted by polygons from SVG files
  • vsketch
    a Python generative art toolkit for plotters

About

Resources for Kiwi PyCon XI presentation, "Generative Art with Python (using py5 and bpy)"

Topics

Resources

Stars

Watchers

Forks

Languages